javacc-7.0.4.classes.templates.gwt.Provider.template Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of javacc Show documentation
Show all versions of javacc Show documentation
JavaCC modified by Tencent blueking.
The newest version!
import java.io.IOException;
public interface Provider {
/**
* Reads characters into an array
* @param buffer Destination buffer
* @param offset Offset at which to start storing characters
* @param length The maximum possible number of characters to read
* @return The number of characters read, or -1 if all read
* @exception IOException
*/
public int read(char buffer[], int offset, int len) throws IOException;
/**
* Closes the stream and releases any system resources associated with
* it.
* @exception IOException
*/
public void close() throws IOException;
}