| Constructor | Description |
|---|---|
StreamProvider(InputStream stream) |
|
StreamProvider(InputStream stream,
String charsetName) |
|
StreamProvider(Reader reader) |
| Modifier and Type | Method | 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
IOExceptionpublic StreamProvider(InputStream stream, String charsetName) throws IOException
IOExceptionpublic int read(char[] buffer,
int off,
int len)
throws IOException
Providerread in interface Providerbuffer - Destination bufferoff - Offset at which to start storing charactersIOExceptionpublic void close()
throws IOException
Providerclose in interface ProviderIOExceptionCopyright © 2007–2019. All rights reserved.