Package io.deephaven.lang.generated
Class StreamProvider
java.lang.Object
io.deephaven.lang.generated.StreamProvider
- All Implemented Interfaces:
Provider
NOTE : This generated class can be safely deleted if installing in a GWT installation (use StringProvider instead)
-
Constructor Summary
ConstructorDescriptionStreamProvider
(InputStream stream) StreamProvider
(InputStream stream, String charsetName) StreamProvider
(Reader reader) -
Method Summary
-
Constructor Details
-
StreamProvider
-
StreamProvider
- Throws:
IOException
-
StreamProvider
- Throws:
IOException
-
-
Method Details
-
read
Description copied from interface:Provider
Reads characters into an array- Specified by:
read
in interfaceProvider
- Parameters:
buffer
- Destination bufferoff
- Offset at which to start storing characterslen
- The maximum possible number of characters to read- Returns:
- The number of characters read, or -1 if all read
- Throws:
IOException
-
close
Description copied from interface:Provider
Closes the stream and releases any system resources associated with it.- Specified by:
close
in interfaceProvider
- Throws:
IOException
-