Class NullProvider

    • Constructor Detail

      • NullProvider

        public NullProvider()
    • Method Detail

      • read

        public int read​(char[] buffer,
                        int offset,
                        int length)
        Description copied from interface: Provider
        Reads characters into an array
        Specified by:
        read in interface Provider
        Parameters:
        buffer - Destination buffer
        offset - Offset at which to start storing characters
        length - The maximum possible number of characters to read
        Returns:
        The number of characters read, or -1 if all read
      • close

        public void close()
        Description copied from interface: Provider
        Closes the stream and releases any system resources associated with it.
        Specified by:
        close in interface Provider