Package com.github.javaparser
Interface Provider
-
- All Known Implementing Classes:
StreamProvider
,StringProvider
,UnicodeEscapeProcessingProvider
public interface Provider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
Closes the stream and releases any system resources associated with it.int
read(char[] buffer, int offset, int len)
Reads characters into an array
-
-
-
Method Detail
-
read
int read(char[] buffer, int offset, int len) throws IOException
Reads characters into an array- Parameters:
buffer
- Destination bufferoffset
- Offset at which to start storing characterslength
- The maximum possible number of characters to read- Returns:
- The number of characters read, or -1 if all read
- Throws:
IOException
-
close
void close() throws IOException
Closes the stream and releases any system resources associated with it.- Throws:
IOException
-
-