Package org.eclipse.jgit.transport
Class BasePackPushConnection.CheckingSideBandOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- org.eclipse.jgit.transport.BasePackPushConnection.CheckingSideBandOutputStream
-
- All Implemented Interfaces:
java.io.Closeable,java.io.Flushable,java.lang.AutoCloseable
- Enclosing class:
- BasePackPushConnection
private static class BasePackPushConnection.CheckingSideBandOutputStream extends java.io.OutputStream
-
-
Constructor Summary
Constructors Constructor Description CheckingSideBandOutputStream(java.io.InputStream in, java.io.OutputStream out)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private java.io.IOExceptioncheckError(java.io.IOException e1)voidflush()voidwrite(byte[] buf, int ptr, int cnt)voidwrite(int b)
-
-
-
Method Detail
-
write
public void write(int b) throws java.io.IOException- Specified by:
writein classjava.io.OutputStream- Throws:
java.io.IOException
-
write
public void write(byte[] buf, int ptr, int cnt) throws java.io.IOException- Overrides:
writein classjava.io.OutputStream- Throws:
java.io.IOException
-
flush
public void flush() throws java.io.IOException- Specified by:
flushin interfacejava.io.Flushable- Overrides:
flushin classjava.io.OutputStream- Throws:
java.io.IOException
-
checkError
private java.io.IOException checkError(java.io.IOException e1)
-
-