Top Fields Constructors Methods
com.github.javaparser

public Class StringProvider

extends Object
implements Provider
Class Inheritance
All Implemented Interfaces
com.github.javaparser.Provider
Imports
java.io.IOException

Field Summary

Modifier and TypeField and Description
pack-priv int
pack-priv int
pack-priv String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
close()

Implements com.github.javaparser.Provider.close.

Closes the stream and releases any system resources associated with it.
public int
read(char[]
Destination buffer
cbuf
,
int
Offset at which to start storing characters
off
,
int
The maximum possible number of characters to read
len
)

Implements com.github.javaparser.Provider.read.

Reads characters into an array
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

_positionback to summary
pack-priv int _position
_sizeback to summary
pack-priv int _size
_stringback to summary
pack-priv String _string

Constructor Detail

StringProviderback to summary
public StringProvider(String string)

Method Detail

closeback to summary
public void close() throws IOException

Implements com.github.javaparser.Provider.close.

Doc from com.github.javaparser.Provider.close.

Closes the stream and releases any system resources associated with it.

Annotations
@Override
readback to summary
public int read(char[] cbuf, int off, int len) throws IOException

Implements com.github.javaparser.Provider.read.

Doc from com.github.javaparser.Provider.read.

Reads characters into an array

Parameters
cbuf:char[]

Destination buffer

off:int

Offset at which to start storing characters

len:int

The maximum possible number of characters to read

Returns:int

The number of characters read, or -1 if all read

Annotations
@Override