Package org.dspace.discovery
Class FullTextContentStreams
java.lang.Object
org.apache.solr.common.util.ContentStreamBase
org.dspace.discovery.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-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.solr.common.util.ContentStreamBase
org.apache.solr.common.util.ContentStreamBase.ByteArrayStream, org.apache.solr.common.util.ContentStreamBase.FileStream, org.apache.solr.common.util.ContentStreamBase.StringStream, org.apache.solr.common.util.ContentStreamBase.URLStream -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BitstreamServiceprotected final Contextstatic final Stringprotected List<org.dspace.discovery.FullTextContentStreams.FullTextBitstream>Fields inherited from class org.apache.solr.common.util.ContentStreamBase
contentType, DEFAULT_CHARSET, name, size, sourceInfo -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.solr.common.util.ContentStreamBase
attemptToDetermineContentType, create, getCharsetFromContentType, getContentType, getSourceInfo, setContentType, setName, setSize, setSourceInfo
-
Field Details
-
FULLTEXT_BUNDLE
- See Also:
-
context
-
fullTextStreams
-
bitstreamService
-
-
Constructor Details
-
FullTextContentStreams
- Throws:
SQLException
-
-
Method Details
-
init
-
getName
- Specified by:
getNamein interfaceorg.apache.solr.common.util.ContentStream- Overrides:
getNamein classorg.apache.solr.common.util.ContentStreamBase
-
getSize
- Specified by:
getSizein interfaceorg.apache.solr.common.util.ContentStream- Overrides:
getSizein classorg.apache.solr.common.util.ContentStreamBase
-
getReader
- Specified by:
getReaderin interfaceorg.apache.solr.common.util.ContentStream- Overrides:
getReaderin classorg.apache.solr.common.util.ContentStreamBase- Throws:
IOException
-
getStream
- Throws:
IOException
-
isEmpty
public boolean isEmpty()
-