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.IOException
checkError(java.io.IOException e1)
void
flush()
void
write(byte[] buf, int ptr, int cnt)
void
write(int b)
-
-
-
Method Detail
-
write
public void write(int b) throws java.io.IOException
- Specified by:
write
in classjava.io.OutputStream
- Throws:
java.io.IOException
-
write
public void write(byte[] buf, int ptr, int cnt) throws java.io.IOException
- Overrides:
write
in classjava.io.OutputStream
- Throws:
java.io.IOException
-
flush
public void flush() throws java.io.IOException
- Specified by:
flush
in interfacejava.io.Flushable
- Overrides:
flush
in classjava.io.OutputStream
- Throws:
java.io.IOException
-
checkError
private java.io.IOException checkError(java.io.IOException e1)
-
-