Class DynamicInputFromPipe
java.lang.Object
org.aksw.vshell.registry.InputBase
org.aksw.vshell.registry.DynamicInputFromPipe
- All Implemented Interfaces:
Closeable, AutoCloseable, DynamicInput, Input
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFile()Return a file (typically a pipe).booleanhasFile()protected InputStreamMethods inherited from class InputBase
close, getReaderCharset, hasReader, inputStream, reader, reader, transferToMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Input
getReaderCharset, hasReader, inputStream, reader, reader, transferTo
-
Constructor Details
-
DynamicInputFromPipe
-
-
Method Details
-
hasFile
public boolean hasFile()- Specified by:
hasFilein interfaceDynamicInput
-
getFile
Description copied from interface:DynamicInputReturn a file (typically a pipe). Calling this function may be create the pipe on-demand, hence the IOException. UseDynamicInput.hasFile()to check for file backing without on-demand creation.- Specified by:
getFilein interfaceDynamicInput- Throws:
IOException
-
openInputStream
- Specified by:
openInputStreamin classInputBase- Throws:
IOException
-