| Constructor and Description |
|---|
StringProvider(String string) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the stream and releases any system resources associated with
it.
|
int |
read(char[] cbuf,
int off,
int len)
Reads characters into an array
|
public StringProvider(String string)
public int read(char[] cbuf,
int off,
int len)
throws IOException
Providerread in interface Providercbuf - Destination bufferoff - Offset at which to start storing charactersIOExceptionpublic void close()
throws IOException
Providerclose in interface ProviderIOExceptionCopyright © 2007–2016. All rights reserved.