Package coneforest.psylla.core
Interface PsyWritable
-
- All Superinterfaces:
PsyConvertableToName,PsyConvertableToString,PsyObject
- All Known Implementing Classes:
PsyFileWriter,PsyOutput,PsyStringWriter,PsyWriter
public interface PsyWritable extends PsyObject
A representation of Ψ-writable, a type of objects that can be treated as sink for characters.
-
-
Field Summary
Fields Modifier and Type Field Description static PsyOperator[]OPERATORS
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidpsyWrite(PsyInteger oCharacter)Writes a Ψ-integercharacter to this object.voidpsyWriteString(PsyTextual oTextual)Writes a Ψ-textualstring of characters to this object.-
Methods inherited from interface coneforest.psylla.core.PsyObject
convert, execute, invoke, psyClone, psyEq, psyHashCode, psyInstanceOf, psyNe, psySyntax, psyToName, psyToString, psyType, toSyntaxString, typeName
-
-
-
-
Field Detail
-
OPERATORS
static final PsyOperator[] OPERATORS
-
-
Method Detail
-
psyWrite
void psyWrite(PsyInteger oCharacter) throws PsyException
Writes a Ψ-integercharacter to this object.- Parameters:
oCharacter- a Ψ-integerobject representing a character to be written.- Throws:
PsyException- when an error occurs during write.
-
psyWriteString
void psyWriteString(PsyTextual oTextual) throws PsyException
Writes a Ψ-textualstring of characters to this object.- Parameters:
oTextual- a Ψ-textualobject representing a string to be written.- Throws:
PsyException- when an error occurs during write.
-
-