Package coneforest.psylla.core
Class PsyOutput
- java.lang.Object
-
- coneforest.psylla.core.PsyOutput
-
- All Implemented Interfaces:
PsyCloseable,PsyConvertableToName,PsyConvertableToString,PsyFlushable,PsyObject,PsyWritable
public abstract class PsyOutput extends Object implements PsyCloseable, PsyFlushable, PsyWritable
-
-
Field Summary
-
Fields inherited from interface coneforest.psylla.core.PsyCloseable
OPERATORS
-
Fields inherited from interface coneforest.psylla.core.PsyFlushable
OPERATORS
-
Fields inherited from interface coneforest.psylla.core.PsyWritable
OPERATORS
-
-
Constructor Summary
Constructors Constructor Description PsyOutput(OutputStream output)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OutputStreamgetOutput()voidpsyClose()Closes this object.voidpsyFlush()Flush this object.voidsetOutput(OutputStream output)voidwrite(int b)voidwrite(PsyInteger oCharacter)-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface coneforest.psylla.core.PsyObject
convert, execute, invoke, psyClone, psyEq, psyHashCode, psyInstanceOf, psyNe, psySyntax, psyToName, psyToString, psyType, toSyntaxString, typeName
-
Methods inherited from interface coneforest.psylla.core.PsyWritable
psyWrite, psyWriteString
-
-
-
-
Constructor Detail
-
PsyOutput
public PsyOutput(OutputStream output)
-
-
Method Detail
-
setOutput
public void setOutput(OutputStream output)
-
getOutput
public OutputStream getOutput()
-
write
public void write(int b) throws PsyException- Throws:
PsyException
-
write
public void write(PsyInteger oCharacter) throws PsyException
- Throws:
PsyException
-
psyFlush
public void psyFlush() throws PsyExceptionDescription copied from interface:PsyFlushableFlush this object.- Specified by:
psyFlushin interfacePsyFlushable- Throws:
PsyException- when error occurs during flush.
-
psyClose
public void psyClose() throws PsyExceptionDescription copied from interface:PsyCloseableCloses this object.- Specified by:
psyClosein interfacePsyCloseable- Throws:
PsyException- when error occured during closing.
-
-