Komplettes G-Earth Paket inkl. JRE, Extensions und Tools. Extensions: - G-BuildTools, G-Click Ultimate, G-Loader, G-Manipulate - G-Presets, G-Translator, G-Trigger, G-itemViewer - Market Utils, Packet Info Explorer, Plants - RandomRoomVisitor, RoomLogger, Sanbovir Photo Inspector - SpyFriends, WallAligner, XabboScripter, xabbo
51 lines
1.0 KiB
Java
51 lines
1.0 KiB
Java
/*
|
|
* Decompiled with CFR 0.152.
|
|
*/
|
|
package okio;
|
|
|
|
import java.io.IOException;
|
|
import okio.Buffer;
|
|
import okio.Sink;
|
|
import okio.Timeout;
|
|
|
|
public abstract class ForwardingSink
|
|
implements Sink {
|
|
private final Sink delegate;
|
|
|
|
public ForwardingSink(Sink delegate) {
|
|
if (delegate == null) {
|
|
throw new IllegalArgumentException("delegate == null");
|
|
}
|
|
this.delegate = delegate;
|
|
}
|
|
|
|
public final Sink delegate() {
|
|
return this.delegate;
|
|
}
|
|
|
|
@Override
|
|
public void write(Buffer source, long byteCount) throws IOException {
|
|
this.delegate.write(source, byteCount);
|
|
}
|
|
|
|
@Override
|
|
public void flush() throws IOException {
|
|
this.delegate.flush();
|
|
}
|
|
|
|
@Override
|
|
public Timeout timeout() {
|
|
return this.delegate.timeout();
|
|
}
|
|
|
|
@Override
|
|
public void close() throws IOException {
|
|
this.delegate.close();
|
|
}
|
|
|
|
public String toString() {
|
|
return this.getClass().getSimpleName() + "(" + this.delegate.toString() + ")";
|
|
}
|
|
}
|
|
|