Class IsolatedInput

java.lang.Object
org.apache.tika.io.IsolatedInput
All Implemented Interfaces:
Closeable, AutoCloseable

public final class IsolatedInput extends Object implements Closeable
A document under a fixed name in a directory of its own, for handing to an external program or a library that opens files by path.

The file is a hard link where the file system allows one; else a copy if the document is small, a symbolic link if it is large, and a copy if neither link can be made. Closing removes the directory and whatever the reader left in it; the source keeps its content.