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 ofwritable, 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 anintegercharacter to this object.voidpsyWriteString(PsyTextual oTextual)Writes atextualstring 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 PsyErrorException
Writes anintegercharacter to this object.- Parameters:
oCharacter- anintegerobject representing a character to be written.- Throws:
PsyErrorException- when an error occurs during write.
-
psyWriteString
void psyWriteString(PsyTextual oTextual) throws PsyErrorException
Writes atextualstring of characters to this object.- Parameters:
oTextual- atextualobject representing a string to be written.- Throws:
PsyErrorException- when an error occurs during write.
-
-