Class OutputBase
java.lang.Object
org.aksw.vshell.registry.OutputBase
- All Implemented Interfaces:
Closeable, AutoCloseable, Output
- Direct Known Subclasses:
DynamicOutputFromPipe, DynamicOutputFromStream, FileOutput
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()final voidflush()booleanbooleanprotected abstract OutputStreamfinal PrintStreamfinal PrintStreamprintStream(Charset charset) final BufferedWriterwriter()final BufferedWriter
-
Constructor Details
-
OutputBase
-
-
Method Details
-
openOutputStream
- Throws:
IOException
-
getWriterCharset
- Specified by:
getWriterCharsetin interfaceOutput
-
hasWriter
-
hasPrinter
public boolean hasPrinter()- Specified by:
hasPrinterin interfaceOutput
-
outputStream
- Specified by:
outputStreamin interfaceOutput
-
printStream
- Specified by:
printStreamin interfaceOutput
-
printStream
- Specified by:
printStreamin interfaceOutput
-
writer
-
writer
-
flush
- Specified by:
flushin interfaceOutput- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-