Class DocumentRecord


  • public class DocumentRecord
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String activity  
      protected org.apache.manifoldcf.core.interfaces.BinaryInput data  
      protected java.lang.Long dataSize  
      protected java.lang.String host  
      protected java.lang.String path  
      protected java.lang.String uid  
      protected java.lang.String uri  
    • Constructor Summary

      Constructors 
      Constructor Description
      DocumentRecord​(java.lang.String host, java.lang.String path, java.lang.String uid, java.lang.String uri, java.lang.String activity, java.lang.Long dataSize, org.apache.manifoldcf.core.interfaces.BinaryInput data)  
    • Field Detail

      • host

        protected final java.lang.String host
      • path

        protected final java.lang.String path
      • uid

        protected final java.lang.String uid
      • uri

        protected final java.lang.String uri
      • activity

        protected final java.lang.String activity
      • dataSize

        protected final java.lang.Long dataSize
      • data

        protected final org.apache.manifoldcf.core.interfaces.BinaryInput data
    • Constructor Detail

      • DocumentRecord

        public DocumentRecord​(java.lang.String host,
                              java.lang.String path,
                              java.lang.String uid,
                              java.lang.String uri,
                              java.lang.String activity,
                              java.lang.Long dataSize,
                              org.apache.manifoldcf.core.interfaces.BinaryInput data)
    • Method Detail

      • getHost

        public java.lang.String getHost()
      • getPath

        public java.lang.String getPath()
      • getUid

        public java.lang.String getUid()
      • getUri

        public java.lang.String getUri()
      • getActivity

        public java.lang.String getActivity()
      • getDataSize

        public java.lang.Long getDataSize()
      • getStreamLength

        public long getStreamLength()
                             throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
        Throws:
        org.apache.manifoldcf.core.interfaces.ManifoldCFException
      • getDataStream

        public java.io.InputStream getDataStream()
                                          throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
        Throws:
        org.apache.manifoldcf.core.interfaces.ManifoldCFException
      • close

        public void close()
                   throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
        Throws:
        org.apache.manifoldcf.core.interfaces.ManifoldCFException