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

java.io.Writer Maven / Gradle / Ivy

There is a newer version: 1.0.1
Show newest version
package java.io;

/**
 * @since CLDC 1.0
 */
public abstract class Writer {
    protected Object lock;

    protected Writer() {}
    protected Writer(Object lock) {}

    /**
     * @throws IOException
     */
    public abstract void close() throws IOException;

    /**
     * @throws IOException
     */
    public abstract void flush() throws IOException;

    /**
     * @throws IOException
     */
    public void write(int c) throws IOException {}

    /**
     * @throws IOException
     */
    public void write(char[] cbuf) throws IOException {}

    /**
     * @throws IOException
     */
    public abstract void write(char[] cbuf, int off, int len) throws IOException;

    /**
     * @throws IOException
     */
    public void write(String str) throws IOException {}

    /**
     * @throws IOException
     */
    public void write(String str, int off, int len) throws IOException {}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy