Class FileStream


  • public final class FileStream
    extends Stream
    • Method Detail

      • getPathname

        public Pathname getPathname()
      • _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
      • _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
      • _getFilePosition

        protected long _getFilePosition()
        Description copied from class: Stream
        Returns a (non-negative) file position integer or a negative value if the position cannot be determined.
        Overrides:
        _getFilePosition in class Stream
        Returns:
        non-negative value as a position spec
      • _setFilePosition

        protected boolean _setFilePosition​(LispObject arg)
        Description copied from class: Stream
        Sets the file position based on a position designator passed in arg
        Overrides:
        _setFilePosition in class Stream
        Parameters:
        arg - File position specifier as described in the CLHS
        Returns:
        true on success, false on failure
      • _close

        public void _close()
        Description copied from class: Stream
        Closes the stream and underlying streams
        Overrides:
        _close in class Stream