Class StringProvider

java.lang.Object
io.deephaven.lang.generated.StringProvider
All Implemented Interfaces:
Provider

public class StringProvider
extends Object
implements Provider
  • Constructor Details

    • StringProvider

      public StringProvider​(String string)
  • Method Details

    • read

      public int read​(char[] cbuf, int off, int len) throws IOException
      Description copied from interface: Provider
      Reads characters into an array
      Specified by:
      read in interface Provider
      Parameters:
      cbuf - Destination buffer
      off - Offset at which to start storing characters
      len - The maximum possible number of characters to read
      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