Package org.apache.tika.server.core
Interface InputStreamFactory
-
- All Known Implementing Classes:
DefaultInputStreamFactory,FetcherStreamFactory
public interface InputStreamFactoryInterface to allow for custom/consistent creation of InputStreamThis factory is used statically in TikaResource. Make sure not to hold instance state in implementations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description InputStreamgetInputStream(InputStream is, Metadata metadata, javax.ws.rs.core.HttpHeaders httpHeaders)Deprecated.InputStreamgetInputStream(InputStream is, Metadata metadata, javax.ws.rs.core.HttpHeaders httpHeaders, javax.ws.rs.core.UriInfo uriInfo)
-
-
-
Method Detail
-
getInputStream
@Deprecated InputStream getInputStream(InputStream is, Metadata metadata, javax.ws.rs.core.HttpHeaders httpHeaders) throws IOException
Deprecated.- Parameters:
is-metadata-httpHeaders-- Returns:
- Throws:
IOException
-
getInputStream
InputStream getInputStream(InputStream is, Metadata metadata, javax.ws.rs.core.HttpHeaders httpHeaders, javax.ws.rs.core.UriInfo uriInfo) throws IOException
- Throws:
IOException
-
-