Class VaultInputSource
- java.lang.Object
-
- org.xml.sax.InputSource
-
- org.apache.jackrabbit.vault.fs.api.VaultInputSource
-
- Direct Known Subclasses:
FileInputSource
public abstract class VaultInputSource extends InputSource
Extends theInputSourceby a content length and last modified.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract longgetContentLength()Returns the content length of the underlying file.abstract longgetLastModified()Returns the last modified date of the underlying file.-
Methods inherited from class org.xml.sax.InputSource
getByteStream, getCharacterStream, getEncoding, getPublicId, getSystemId, isEmpty, setByteStream, setCharacterStream, setEncoding, setPublicId, setSystemId
-
-
-
-
Method Detail
-
getContentLength
public abstract long getContentLength()
Returns the content length of the underlying file.- Returns:
- the content length of the underlying file or -1 if unknown.
-
getLastModified
public abstract long getLastModified()
Returns the last modified date of the underlying file.- Returns:
- the last modified date of the underlying file or 0 if unknown.
-
-