Class PayloadRouter.Routed
java.lang.Object
org.apache.tika.pipes.core.fetcher.PayloadRouter.Routed
- All Implemented Interfaces:
Closeable,AutoCloseable
- Enclosing class:
PayloadRouter
The outcome. Closing deletes the spool file if one was created; an EXISTING_FILE path
belongs to the caller's stream and is left alone.
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Non-null exactly whenisInline().booleanisInline()path()Non-null for EXISTING_FILE and SPOOLED.route()
-
Method Details
-
route
-
isInline
public boolean isInline() -
inlineBytes
Non-null exactly whenisInline(). -
path
Non-null for EXISTING_FILE and SPOOLED. -
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-