java.lang.Object
coneforest.psylla.core.PsyOutput
- All Implemented Interfaces:
PsyCloseable,PsyFlushable,PsyObject,PsyWritable
@Type("output")
public abstract class PsyOutput
extends Object
implements PsyCloseable, PsyFlushable, PsyWritable
The representation of
output.-
Field Summary
Fields inherited from interface coneforest.psylla.core.PsyCloseable
PSY_CLOSEFields inherited from interface coneforest.psylla.core.PsyFlushable
PSY_FLUSHFields inherited from interface coneforest.psylla.core.PsyObject
PSY_CLONE, PSY_EQ, PSY_HASHCODE, PSY_INSTANCEOF, PSY_NE, PSY_TONAME, PSY_TOSTRING, PSY_TYPEFields inherited from interface coneforest.psylla.core.PsyWritable
PSY_WRITE, PSY_WRITESTRING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidpsyClose()Closes this object.voidpsyFlush()Flush thisflushable.voidsetOutput(OutputStream output) voidwrite(int b) voidwrite(PsyInteger oCharacter) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface coneforest.psylla.core.PsyObject
convert, execute, invoke, psyClone, psyEq, psyHashCode, psyInstanceOf, psyNe, psySyntax, psyToName, psyToString, psyType, toSyntaxString, typeNameMethods inherited from interface coneforest.psylla.core.PsyWritable
psyWrite, psyWriteString
-
Constructor Details
-
PsyOutput
-
-
Method Details
-
setOutput
-
getOutput
-
write
- Throws:
PsyIOErrorException
-
write
- Throws:
PsyIOErrorException
-
psyFlush
Description copied from interface:PsyFlushableFlush thisflushable.- Specified by:
psyFlushin interfacePsyFlushable- Throws:
PsyIOErrorException- when I/O error occurs during flush.
-
psyClose
Description copied from interface:PsyCloseableCloses this object.- Specified by:
psyClosein interfacePsyCloseable- Throws:
PsyIOErrorException- when I/O error occured during closing.
-