Package com.github.javaparser
Class StringProvider
java.lang.Object
com.github.javaparser.StringProvider
- All Implemented Interfaces:
Provider
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
_string
String _string -
_position
int _position -
_size
int _size
-
-
Constructor Details
-
StringProvider
-
-
Method Details
-
read
Description copied from interface:Provider
Reads characters into an array- Specified by:
read
in interfaceProvider
- Parameters:
cbuf
- 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
-