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
Provider
read
in interface Provider
cbuf
- Destination bufferoff
- Offset at which to start storing charactersIOException
public void close() throws IOException
Provider
close
in interface Provider
IOException
Copyright © 2007–2018. All rights reserved.