ncsa.tools.trebuchet.core.data
Class ListEntry
java.lang.Object
ncsa.tools.trebuchet.core.data.CacheEntry
ncsa.tools.trebuchet.core.data.ReverseLookupEntry
ncsa.tools.trebuchet.core.data.ListEntry
- public final class ListEntry
- extends ReverseLookupEntry
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
FIXED_LENGTH_BYTES
public static final int[] FIXED_LENGTH_BYTES
NUM_PROPS_BYTE
public static final int NUM_PROPS_BYTE
- See Also:
- Constant Field Values
HEADER_LENGTH
public static final int HEADER_LENGTH
- See Also:
- Constant Field Values
PROP_VAL_OFFSET
public static final int PROP_VAL_OFFSET
- See Also:
- Constant Field Values
ListEntry
public ListEntry()
ListEntry
public ListEntry(java.nio.ByteBuffer buffer)
toString
public java.lang.String toString()
- Overrides:
toString in class ReverseLookupEntry
toShortString
public java.lang.String toShortString()
- Overrides:
toShortString in class CacheEntry
toFileMetadata
public FileMetadata toFileMetadata(java.net.URI base)
throws java.net.URISyntaxException
- Throws:
java.net.URISyntaxException
toUnixLSL
public java.lang.String toUnixLSL()
toBuffer
public void toBuffer(java.nio.ByteBuffer buffer)
- Overrides:
toBuffer in class ReverseLookupEntry
length
public int length()
- Specified by:
length in class CacheEntry
getDepth
public java.lang.Integer getDepth()
- Description copied from class:
CacheEntry
- Should return the depth of the entry, or
null if not relevant.
- Specified by:
getDepth in class CacheEntry
getOwner
public Owner getOwner()
setOwner
public void setOwner(Owner owner)
getLinks
public int getLinks()
setLinks
public void setLinks(int links)
getMode
public Permissions getMode()
setMode
public void setMode(Permissions mode)
getPropertyNames
public java.lang.String[] getPropertyNames()
setPropertyNames
public void setPropertyNames(java.lang.String[] propertyNames)
getPropertyValues
public java.lang.String[] getPropertyValues()
setPropertyValues
public void setPropertyValues(java.lang.String[] propertyValues)
getRelativePath
public RelativeUriPath getRelativePath()
setRelativePath
public void setRelativePath(RelativeUriPath relativePath)
getSize
public long getSize()
setSize
public void setSize(long size)
getTimestamp
public ParsedTimestamp getTimestamp()
setTimestamp
public void setTimestamp(ParsedTimestamp timestamp)