Class FullTextContentStreams

  • All Implemented Interfaces:
    org.apache.solr.common.util.ContentStream

    public class FullTextContentStreams
    extends org.apache.solr.common.util.ContentStreamBase
    Construct a ContentStream from a File
    • Field Detail

      • context

        protected final Context context
      • fullTextStreams

        protected List<org.dspace.discovery.FullTextContentStreams.FullTextBitstream> fullTextStreams
    • Method Detail

      • init

        protected void init​(Item parentItem)
      • getName

        public String getName()
        Specified by:
        getName in interface org.apache.solr.common.util.ContentStream
        Overrides:
        getName in class org.apache.solr.common.util.ContentStreamBase
      • getSize

        public Long getSize()
        Specified by:
        getSize in interface org.apache.solr.common.util.ContentStream
        Overrides:
        getSize in class org.apache.solr.common.util.ContentStreamBase
      • getReader

        public Reader getReader()
                         throws IOException
        Specified by:
        getReader in interface org.apache.solr.common.util.ContentStream
        Overrides:
        getReader in class org.apache.solr.common.util.ContentStreamBase
        Throws:
        IOException
      • isEmpty

        public boolean isEmpty()