Package coneforest.psylla.core
Class PsyWriter
- java.lang.Object
-
- coneforest.psylla.core.PsyWriter
-
- All Implemented Interfaces:
PsyCloseable,PsyConvertableToName,PsyConvertableToString,PsyFlushable,PsyObject,PsyWritable
- Direct Known Subclasses:
PsyFileWriter,PsyStringWriter
public class PsyWriter 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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidpsyClose()Closes this object.voidpsyFlush()Flush this object.voidpsyWrite(PsyInteger oCharacter)Writes a Ψ-integercharacter to this object.voidpsyWriteString(PsyTextual oString)Writes a Ψ-textualstring of characters to this object.Writerwriter()-
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
-
-
-
-
Constructor Detail
-
PsyWriter
public PsyWriter(Writer writer)
-
-
Method Detail
-
writer
public Writer writer()
-
psyWrite
public void psyWrite(PsyInteger oCharacter) throws PsyIOErrorException
Description copied from interface:PsyWritableWrites a Ψ-integercharacter to this object.- Specified by:
psyWritein interfacePsyWritable- Parameters:
oCharacter- a Ψ-integerobject representing a character to be written.- Throws:
PsyIOErrorException
-
psyWriteString
public void psyWriteString(PsyTextual oString) throws PsyIOErrorException
Description copied from interface:PsyWritableWrites a Ψ-textualstring of characters to this object.- Specified by:
psyWriteStringin interfacePsyWritable- Parameters:
oString- a Ψ-textualobject representing a string to be written.- Throws:
PsyIOErrorException
-
psyFlush
public void psyFlush() throws PsyIOErrorExceptionDescription copied from interface:PsyFlushableFlush this object.- Specified by:
psyFlushin interfacePsyFlushable- Throws:
PsyIOErrorException
-
psyClose
public void psyClose() throws PsyIOErrorExceptionDescription copied from interface:PsyCloseableCloses this object.- Specified by:
psyClosein interfacePsyCloseable- Throws:
PsyIOErrorException
-
-