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 classRenderResult.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 voidclose()intgetId()InputStreamgetInputStream()MetadatagetMetadata()RenderResult.STATUSgetStatus()
-
-
-
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:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
-