Constructor and Description |
---|
StreamProvider(InputStream stream) |
StreamProvider(InputStream stream,
String charsetName) |
StreamProvider(Reader reader) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the stream and releases any system resources associated with
it.
|
int |
read(char[] buffer,
int off,
int len)
Reads characters into an array
|
public StreamProvider(Reader reader)
public StreamProvider(InputStream stream) throws IOException
IOException
public StreamProvider(InputStream stream, String charsetName) throws IOException
IOException
public int read(char[] buffer, int off, int len) throws IOException
Provider
read
in interface Provider
buffer
- Destination bufferoff
- Offset at which to start storing charactersIOException
public void close() throws IOException
Provider
close
in interface Provider
IOException
Copyright © 2007–2016. All rights reserved.