blob: 13d71c52835289650ae955e65eb865a101c837dc [file] [log] [blame]
/* Generated By:JavaCC: Do not edit this line. Provider.java Version 6.1 */
/* JavaCCOptions:KEEP_LINE_COLUMN=true */
/*
*
* This file is part of Java 1.8 parser and Abstract Syntax Tree.
*
* Java 1.8 parser and Abstract Syntax Tree is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* You should have received a copy of the GNU Lesser General Public License
* along with Java 1.8 parser and Abstract Syntax Tree. If not, see <http://www.gnu.org/licenses/>.
*/
package com.github.javaparser;
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 len 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;
}
/* JavaCC - OriginalChecksum=89684d4e3db82aa5e480d095c170b352 (do not edit this line) */