Package coneforest.psylla.core
Class PsyWriter
java.lang.Object
coneforest.psylla.core.PsyWriter
- All Implemented Interfaces:
PsyCloseable
,PsyConvertableToName
,PsyConvertableToString
,PsyFlushable
,PsyObject
,PsyWritable
- Direct Known Subclasses:
PsyFileWriter
,PsyStringWriter
-
Field Summary
Fields inherited from interface coneforest.psylla.core.PsyCloseable
OPERATORS
Fields inherited from interface coneforest.psylla.core.PsyFlushable
OPERATORS
Fields inherited from interface coneforest.psylla.core.PsyWritable
OPERATORS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
psyClose()
Closes this object.void
psyFlush()
Flush thisflushable
.void
psyWrite
(PsyInteger oCharacter) Writes aninteger
character to this object.void
psyWriteString
(PsyTextual oString) Writes atextual
string of characters to this object.writer()
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface coneforest.psylla.core.PsyObject
convert, execute, invoke, psyClone, psyEq, psyHashCode, psyInstanceOf, psyNe, psySyntax, psyToName, psyToString, psyType, toSyntaxString, typeName
-
Constructor Details
-
PsyWriter
-
-
Method Details
-
writer
-
psyWrite
Description copied from interface:PsyWritable
Writes aninteger
character to this object.- Specified by:
psyWrite
in interfacePsyWritable
- Parameters:
oCharacter
- aninteger
object representing a character to be written.- Throws:
PsyIOErrorException
-
psyWriteString
Description copied from interface:PsyWritable
Writes atextual
string of characters to this object.- Specified by:
psyWriteString
in interfacePsyWritable
- Parameters:
oString
- atextual
object representing a string to be written.- Throws:
PsyIOErrorException
-
psyFlush
Description copied from interface:PsyFlushable
Flush thisflushable
.- Specified by:
psyFlush
in interfacePsyFlushable
- Throws:
PsyIOErrorException
-
psyClose
Description copied from interface:PsyCloseable
Closes this object.- Specified by:
psyClose
in interfacePsyCloseable
- Throws:
PsyIOErrorException
-