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 theInputSource
by a content length and last modified.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
VaultInputSource()
protected
VaultInputSource(InputStream byteStream)
protected
VaultInputSource(Reader characterStream)
protected
VaultInputSource(String systemId)
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract long
getContentLength()
Returns the content length of the underlying file.abstract long
getLastModified()
Returns the last modified date of the underlying file.-
Methods inherited from class org.xml.sax.InputSource
getByteStream, getCharacterStream, getEncoding, getPublicId, getSystemId, 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.
-
-