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
-
-
Constructor Summary
Constructors Constructor Description PsyOutput(OutputStream output)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OutputStream
getOutput()
void
psyClose()
Close this object.void
psyFlush()
Flush this object.void
setOutput(OutputStream output)
void
write(int b)
void
write(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 PsyException
Description copied from interface:PsyFlushable
Flush this object.- Specified by:
psyFlush
in interfacePsyFlushable
- Throws:
PsyException
- when error occurs during flush.
-
psyClose
public void psyClose() throws PsyException
Description copied from interface:PsyCloseable
Close this object.- Specified by:
psyClose
in interfacePsyCloseable
- Throws:
PsyException
- when error occured during closing.
-
-