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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
psyWrite(PsyInteger oCharacter)
Writes a Ψ-integer
character to this object.void
psyWriteString(PsyStringy oStringy)
Writes a Ψ-stringy
string 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
-
-
-
-
Method Detail
-
psyWrite
void psyWrite(PsyInteger oCharacter) throws PsyException
Writes a Ψ-integer
character to this object.- Parameters:
oCharacter
- a Ψ-integer
object representing a character to be written.- Throws:
PsyException
- when an error occurs during write.
-
psyWriteString
void psyWriteString(PsyStringy oStringy) throws PsyException
Writes a Ψ-stringy
string of characters to this object.- Parameters:
oStringy
- a Ψ-stringy
object representing a string to be written.- Throws:
PsyException
- when an error occurs during write.
-
-