Class StreamProvider

  • All Implemented Interfaces:
    Provider

    public class StreamProvider
    extends Object
    implements Provider
    NOTE : This generated class can be safely deleted if installing in a GWT installation (use StringProvider instead)
    • Method Detail

      • read

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

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