Class MetadataEnabledInputStream
java.lang.Object
java.io.InputStream
com.lucidworks.fusion.connector.plugin.api.content.MetadataEnabledInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
Deprecated.
- This class is experimental and subject to removal or breaking changes.
This InputStream implementation is used by the connector runtime framework
when processing #
Content.
It can be used in situations where the parsing framework is unable to detect the correct type on its own.
To use this, simply create a new instance with the source InputStream and known content type value.
-
Constructor Summary
ConstructorsConstructorDescriptionMetadataEnabledInputStream(InputStream delegate, String contentType) Deprecated. -
Method Summary
Methods inherited from class java.io.InputStream
available, mark, markSupported, nullInputStream, read, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Constructor Details
-
MetadataEnabledInputStream
Deprecated.
-
-
Method Details
-
getContentType
Deprecated. -
read
Deprecated.- Specified by:
readin classInputStream- Throws:
IOException
-
close
Deprecated.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-