Package org.apache.tika.renderer
Class RenderResult
- java.lang.Object
-
- org.apache.tika.renderer.RenderResult
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class RenderResult extends Object implements Closeable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RenderResult.STATUS
-
Constructor Summary
Constructors Constructor Description RenderResult(RenderResult.STATUS status, int id, Object result, Metadata metadata)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
int
getId()
InputStream
getInputStream()
Metadata
getMetadata()
RenderResult.STATUS
getStatus()
-
-
-
Constructor Detail
-
RenderResult
public RenderResult(RenderResult.STATUS status, int id, Object result, Metadata metadata)
-
-
Method Detail
-
getInputStream
public InputStream getInputStream() throws IOException
- Throws:
IOException
-
getMetadata
public Metadata getMetadata()
-
getStatus
public RenderResult.STATUS getStatus()
-
getId
public int getId()
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
-