public static interface Streamer.IStreamer
Modifier and Type | Method and Description |
---|---|
Streamer.Compression |
getCompression() |
String |
getExtensionFor(String supportedMediaType)
Get file extension for corresponding media type from set of supported MIME types.
|
org.apache.tika.mime.MediaType |
getInputMediaType() |
InputStream |
getInputStream() |
org.apache.tika.mime.MediaType |
getOutputMediaType() |
OutputStream |
getOutputStream(OutputStream outputStream) |
InputStream getInputStream()
org.apache.tika.mime.MediaType getInputMediaType()
org.apache.tika.mime.MediaType getOutputMediaType()
OutputStream getOutputStream(OutputStream outputStream)
outputStream
- - output streamStreamer.Compression getCompression()
String getExtensionFor(String supportedMediaType)
supportedMediaType
- - supported by this streamer media typeCopyright © 2005–2017 Zementis, Inc.. All rights reserved.