Interface PsyWritable

All Superinterfaces:
PsyObject
All Known Implementing Classes:
PsyFileWriter, PsyOutput, PsyStringWriter, PsyWriter

@Type("writable") public interface PsyWritable extends PsyObject
The representation of writable, an object that can be treated as sink for characters.
  • Field Details

  • Method Details

    • psyWrite

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

      void psyWriteString(PsyString oString) throws PsyIOErrorException
      Writes a string string of characters to this object.
      Parameters:
      oString - a string object representing a string to be written.
      Throws:
      PsyIOErrorException - when I/O error occurs during write.