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 ph-javacc-maven-plugin Show documentation
Show all versions of ph-javacc-maven-plugin Show documentation
Maven 3 Plugin for processing JavaCC grammar files.
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;
}