Package org.apache.tika.server.core
Interface InputStreamFactory
-
- All Known Implementing Classes:
DefaultInputStreamFactory
,FetcherStreamFactory
public interface InputStreamFactory
Interface 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 Modifier and Type Method Description InputStream
getInputStream(InputStream is, Metadata metadata, jakarta.ws.rs.core.HttpHeaders httpHeaders, jakarta.ws.rs.core.UriInfo uriInfo)
-
-
-
Method Detail
-
getInputStream
InputStream getInputStream(InputStream is, Metadata metadata, jakarta.ws.rs.core.HttpHeaders httpHeaders, jakarta.ws.rs.core.UriInfo uriInfo) throws IOException
- Throws:
IOException
-
-