All Downloads are FREE. Search and download functionalities are using the official Maven repository.

templates.gwt.Provider.template Maven / Gradle / Ivy

There is a newer version: 7.0.13
Show 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 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;
    
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy