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 the InputSource by a content length and last modified.
  • Constructor Details

    • VaultInputSource

      protected VaultInputSource()
    • VaultInputSource

      protected VaultInputSource(String systemId)
    • VaultInputSource

      protected VaultInputSource(InputStream byteStream)
    • VaultInputSource

      protected VaultInputSource(Reader characterStream)
  • 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.