Class VaultInputSource
java.lang.Object
org.xml.sax.InputSource
org.apache.jackrabbit.vault.fs.api.VaultInputSource
- Direct Known Subclasses:
FileInputSource
Extends the
InputSource by a content length and last modified.-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedVaultInputSource(InputStream byteStream) protectedVaultInputSource(Reader characterStream) protectedVaultInputSource(String systemId) -
Method Summary
Modifier and TypeMethodDescriptionabstract longReturns the content length of the underlying file.abstract longReturns 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
-
Constructor Details
-
VaultInputSource
protected VaultInputSource() -
VaultInputSource
-
VaultInputSource
-
VaultInputSource
-
-
Method Details
-
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.
-