Package org.apache.tika.server
Class DefaultInputStreamFactory
- java.lang.Object
-
- org.apache.tika.server.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
getInputSteam(InputStream is, javax.ws.rs.core.HttpHeaders httpHeaders)
InputStream
getInputSteam(InputStream is, Metadata metadata, javax.ws.rs.core.HttpHeaders httpHeaders)
-
-
-
Method Detail
-
getInputSteam
public InputStream getInputSteam(InputStream is, javax.ws.rs.core.HttpHeaders httpHeaders) throws IOException
- Specified by:
getInputSteam
in interfaceInputStreamFactory
- Throws:
IOException
-
getInputSteam
public InputStream getInputSteam(InputStream is, Metadata metadata, javax.ws.rs.core.HttpHeaders httpHeaders) throws IOException
- Specified by:
getInputSteam
in interfaceInputStreamFactory
- Throws:
IOException
-
-