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.
  • Field Details

  • Method Details

    • psyWrite

      void psyWrite(PsyInteger oCharacter) throws PsyErrorException
      Writes an integer character to this object.
      Parameters:
      oCharacter - an integer object representing a character to be written.
      Throws:
      PsyErrorException - when an error occurs during write.
    • psyWriteString

      void psyWriteString(PsyTextual oTextual) throws PsyErrorException
      Writes a textual string of characters to this object.
      Parameters:
      oTextual - a textual object representing a string to be written.
      Throws:
      PsyErrorException - when an error occurs during write.