Interface PsyWritable
- All Superinterfaces:
PsyObject
- All Known Implementing Classes:
PsyFileWriter, PsyOutput, PsyStringWriter, PsyWriter
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ContextActionContext action of thewriteoperator.static final ContextActionContext action of thewritestringoperator.Fields inherited from interface PsyObject
PSY_CLONE, PSY_EQ, PSY_HASHCODE, PSY_INSTANCEOF, PSY_NE, PSY_TOSTRING, PSY_TOSTRINGBUFFER, PSY_TYPE -
Method Summary
Modifier and TypeMethodDescriptionvoidpsyWrite(PsyInteger oCharacter) Writes anintegercharacter to this object.voidpsyWriteString(PsyString oString) Writes astringstring of characters to this object.Methods inherited from interface PsyObject
convert, execute, invoke, psyClone, psyEq, psyHashCode, psyInstanceOf, psyNe, psySyntax, psyToString, psyToStringBuffer, psyType, toSyntaxString, typeName
-
Field Details
-
PSY_WRITE
Context action of thewriteoperator. -
PSY_WRITESTRING
Context action of thewritestringoperator.
-
-
Method Details
-
psyWrite
Writes anintegercharacter to this object.- Parameters:
oCharacter- anintegerobject representing a character to be written.- Throws:
PsyIOErrorException- when I/O error occurs during write.
-
psyWriteString
Writes astringstring of characters to this object.- Parameters:
oString- astringobject representing a string to be written.- Throws:
PsyIOErrorException- when I/O error occurs during write.
-