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 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, 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 PsyErrorException- Throws:
PsyErrorException
-
write
public void write(PsyInteger oCharacter) throws PsyErrorException
- Throws:
PsyErrorException
-
psyFlush
public void psyFlush() throws PsyErrorExceptionDescription copied from interface:PsyFlushableFlush thisflushable.- Specified by:
psyFlushin interfacePsyFlushable- Throws:
PsyErrorException- when error occurs during flush.
-
psyClose
public void psyClose() throws PsyErrorExceptionDescription copied from interface:PsyCloseableCloses this object.- Specified by:
psyClosein interfacePsyCloseable- Throws:
PsyErrorException- when error occured during closing.
-
-