Package org.drools.mvel.parser
Class StringProvider
java.lang.Object
org.drools.mvel.parser.StringProvider
- All Implemented Interfaces:
Closeable,AutoCloseable,Provider
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
StringProvider
-
-
Method Details
-
read
Description copied from interface:ProviderReads characters into an array- Specified by:
readin interfaceProvider- Parameters:
aDest- Destination buffernOfs- Offset at which to start storing characters. Must be ≥ 0.nLen- The maximum possible number of characters to read. Must be ≥ 0.- Returns:
- The number of characters read, or -1 if all read
- Throws:
IOException- if reading fails
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-