Class CaseFrobStream

    • Field Detail

      • target

        protected final Stream target
    • Constructor Detail

      • CaseFrobStream

        protected CaseFrobStream​(Stream target)
    • Method Detail

      • setCharPos

        public void setCharPos​(int n)
        Overrides:
        setCharPos in class Stream
      • _readChar

        protected int _readChar()
        Description copied from class: Stream
        Reads a character off an underlying stream
        Overrides:
        _readChar in class Stream
        Returns:
        a character, or -1 at end-of-file
      • _unreadChar

        protected void _unreadChar​(int n)
        Description copied from class: Stream
        Puts a character back into the (underlying) stream
        Overrides:
        _unreadChar in class Stream
      • _charReady

        protected boolean _charReady()
        Description copied from class: Stream
        Returns a boolean indicating input readily available
        Overrides:
        _charReady in class Stream
        Returns:
        true if a character is available
      • _writeChars

        public void _writeChars​(char[] chars,
                                int start,
                                int end)
        Description copied from class: Stream
        Writes a series of characters in the underlying stream, updating charPos while doing so
        Overrides:
        _writeChars in class Stream
      • _readByte

        public int _readByte()
        Description copied from class: Stream
        Reads an 8-bit byte off the underlying stream
        Overrides:
        _readByte in class Stream
        Returns:
      • _writeByte

        public void _writeByte​(int n)
        Description copied from class: Stream
        Writes an 8-bit byte off the underlying stream
        Overrides:
        _writeByte in class Stream
      • _finishOutput

        public void _finishOutput()
        Description copied from class: Stream
        Flushes any buffered output in the (underlying) stream
        Overrides:
        _finishOutput in class Stream
      • _clearInput

        public void _clearInput()
        Description copied from class: Stream
        Reads all input from the underlying stream, until _charReady() indicates no more input to be available
        Overrides:
        _clearInput in class Stream
      • freshLine

        public LispObject freshLine()
        Description copied from class: Stream
        Emit a newline unless at character position zero Return T if newline was emitted, NIL otherwise
        Overrides:
        freshLine in class Stream