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

com.fastasyncworldedit.core.internal.io.AbstractDelegateOutputStream Maven / Gradle / Ivy

Go to download

Blazingly fast Minecraft world manipulation for artists, builders and everyone else.

There is a newer version: 2.9.2
Show newest version
package com.fastasyncworldedit.core.internal.io;

import java.io.IOException;
import java.io.OutputStream;

public class AbstractDelegateOutputStream extends OutputStream {

    private final OutputStream parent;

    @Override
    public void write(int b) throws IOException {
        parent.write(b);
    }

    @Override
    public void write(byte[] b) throws IOException {
        parent.write(b);
    }

    @Override
    public void write(byte[] b, int off, int len) throws IOException {
        parent.write(b, off, len);
    }

    @Override
    public void flush() throws IOException {
        parent.flush();
    }

    @Override
    public void close() throws IOException {
        parent.close();
    }

    public AbstractDelegateOutputStream(OutputStream os) {
        this.parent = os;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy