Package org.apache.tika.server.core
Class DefaultInputStreamFactory
- java.lang.Object
-
- org.apache.tika.server.core.DefaultInputStreamFactory
-
- All Implemented Interfaces:
InputStreamFactory
public class DefaultInputStreamFactory extends Object implements InputStreamFactory
Passthrough -- returns InputStream as is
-
-
Constructor Summary
Constructors Constructor Description DefaultInputStreamFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputStream
getInputStream(InputStream is, Metadata metadata, javax.ws.rs.core.HttpHeaders httpHeaders)
InputStream
getInputStream(InputStream is, Metadata metadata, javax.ws.rs.core.HttpHeaders httpHeaders, javax.ws.rs.core.UriInfo uriInfo)
-
-
-
Method Detail
-
getInputStream
public InputStream getInputStream(InputStream is, Metadata metadata, javax.ws.rs.core.HttpHeaders httpHeaders) throws IOException
- Specified by:
getInputStream
in interfaceInputStreamFactory
- Returns:
- Throws:
IOException
-
getInputStream
public InputStream getInputStream(InputStream is, Metadata metadata, javax.ws.rs.core.HttpHeaders httpHeaders, javax.ws.rs.core.UriInfo uriInfo) throws IOException
- Specified by:
getInputStream
in interfaceInputStreamFactory
- Throws:
IOException
-
-