Package org.eclipse.jgit.transport
Class ReceivePack.MessageOutputWrapper
- java.lang.Object
-
- java.io.OutputStream
-
- org.eclipse.jgit.transport.ReceivePack.MessageOutputWrapper
-
- All Implemented Interfaces:
java.io.Closeable,java.io.Flushable,java.lang.AutoCloseable
- Enclosing class:
- ReceivePack
class ReceivePack.MessageOutputWrapper extends java.io.OutputStreamOutput stream that wraps the currentReceivePack.msgOut.We don't want to expose
ReceivePack.msgOutdirectly because it can change several times over the course of a session.
-
-
Constructor Summary
Constructors Constructor Description MessageOutputWrapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidflush()voidwrite(byte[] b)voidwrite(byte[] b, int off, int len)voidwrite(int ch)
-
-
-
Method Detail
-
write
public void write(int ch)
- Specified by:
writein classjava.io.OutputStream
-
write
public void write(byte[] b, int off, int len)- Overrides:
writein classjava.io.OutputStream
-
write
public void write(byte[] b)
- Overrides:
writein classjava.io.OutputStream
-
flush
public void flush()
- Specified by:
flushin interfacejava.io.Flushable- Overrides:
flushin classjava.io.OutputStream
-
-