Package org.mycore.solr.index.cs
Class MCRSolrPathContentStream
java.lang.Object
org.apache.solr.common.util.ContentStreamBase
org.mycore.solr.index.cs.MCRSolrAbstractContentStream<Path>
org.mycore.solr.index.cs.MCRSolrPathContentStream
- All Implemented Interfaces:
AutoCloseable
,org.apache.solr.common.util.ContentStream
- Author:
- Thomas Scheffler (yagee)
-
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
Fields inherited from class org.mycore.solr.index.cs.MCRSolrAbstractContentStream
setup, source, streamReader
Fields inherited from class org.apache.solr.common.util.ContentStreamBase
contentType, DEFAULT_CHARSET, name, size, sourceInfo
-
Constructor Summary
-
Method Summary
Methods inherited from class org.mycore.solr.index.cs.MCRSolrAbstractContentStream
close, getCharset, getReader, getSize, getSource, getStream, isSetup, setInputStream
Methods inherited from class org.apache.solr.common.util.ContentStreamBase
attemptToDetermineContentType, create, getCharsetFromContentType, getContentType, getName, getSourceInfo, setContentType, setName, setSize, setSourceInfo
-
Constructor Details
-
MCRSolrPathContentStream
-
-
Method Details
-
setup
Description copied from class:MCRSolrAbstractContentStream
Sets certain properties on a contentStream object. Subclasses must override this method.Its important to call the following setter methods:
- setName
- setSize
- setSourceInfo
- setContentType
- setInputStream
- Specified by:
setup
in classMCRSolrAbstractContentStream<Path>
- Throws:
IOException
-
getAttrs
-