- All Superinterfaces:
PsyObject
- All Known Implementing Classes:
PsyFileWriter
,PsyOutput
,PsyStringWriter
,PsyWriter
The representation of
writable
, an object that can be treated as sink for characters.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ContextAction
Context action of thewrite
operator.static final ContextAction
Context action of thewritestring
operator.Fields inherited from interface coneforest.psylla.core.PsyObject
PSY_CLONE, PSY_EQ, PSY_HASHCODE, PSY_INSTANCEOF, PSY_NE, PSY_TONAME, PSY_TOSTRING, PSY_TYPE
-
Method Summary
Modifier and TypeMethodDescriptionvoid
psyWrite
(PsyInteger oCharacter) Writes aninteger
character to this object.void
psyWriteString
(PsyTextual oTextual) Writes atextual
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
-
Field Details
-
PSY_WRITE
Context action of thewrite
operator. -
PSY_WRITESTRING
Context action of thewritestring
operator.
-
-
Method Details
-
psyWrite
Writes aninteger
character to this object.- Parameters:
oCharacter
- aninteger
object representing a character to be written.- Throws:
PsyIOErrorException
- when I/O error occurs during write.
-
psyWriteString
Writes atextual
string of characters to this object.- Parameters:
oTextual
- atextual
object representing a string to be written.- Throws:
PsyIOErrorException
- when I/O error occurs during write.
-