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.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedVaultInputSource()protectedVaultInputSource(InputStream byteStream)protectedVaultInputSource(Reader characterStream)protectedVaultInputSource(String systemId)
-
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
-
-
-
-
Constructor Detail
-
VaultInputSource
protected VaultInputSource()
-
VaultInputSource
protected VaultInputSource(String systemId)
-
VaultInputSource
protected VaultInputSource(InputStream byteStream)
-
VaultInputSource
protected VaultInputSource(Reader characterStream)
-
-
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.
-
-