Class ConcatenatedStream


public final class ConcatenatedStream extends Stream
  • Method Details

    • isCharacterInputStream

      public boolean isCharacterInputStream()
      Overrides:
      isCharacterInputStream in class Stream
    • isBinaryInputStream

      public boolean isBinaryInputStream()
      Overrides:
      isBinaryInputStream in class Stream
    • isCharacterOutputStream

      public boolean isCharacterOutputStream()
      Overrides:
      isCharacterOutputStream in class Stream
    • isBinaryOutputStream

      public boolean isBinaryOutputStream()
      Overrides:
      isBinaryOutputStream in class Stream
    • typeOf

      public LispObject typeOf()
      Overrides:
      typeOf in class Stream
    • classOf

      public LispObject classOf()
      Overrides:
      classOf in class Stream
    • typep

      public LispObject typep(LispObject typeSpecifier)
      Overrides:
      typep in class Stream
    • getElementType

      public LispObject getElementType()
      Overrides:
      getElementType in class Stream
    • readCharNoHang

      public LispObject readCharNoHang(boolean eofError, LispObject eofValue)
      Overrides:
      readCharNoHang in class Stream
    • listen

      public LispObject listen()
      Overrides:
      listen in class Stream
    • _readChar

      protected int _readChar() throws IOException
      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
      Throws:
      IOException
    • _unreadChar

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

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

      public void _writeChar(char c)
      Description copied from class: Stream
      Writes a character into the underlying stream, updating charPos while doing so
      Overrides:
      _writeChar in class Stream
      Parameters:
      c -
    • _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
      Parameters:
      chars -
      start -
      end -
    • _writeString

      public void _writeString(String s)
      Description copied from class: Stream
      Writes a string to the underlying stream, updating charPos while doing so
      Overrides:
      _writeString in class Stream
      Parameters:
      s -
    • _writeLine

      public void _writeLine(String s)
      Description copied from class: Stream
      Writes a string to the underlying stream, appending a new line and updating charPos while doing so
      Overrides:
      _writeLine in class Stream
      Parameters:
      s -
    • _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
      Parameters:
      n -
    • _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