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.OutputStream
Output stream that wraps the currentReceivePack.msgOut
.We don't want to expose
ReceivePack.msgOut
directly 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 void
flush()
void
write(byte[] b)
void
write(byte[] b, int off, int len)
void
write(int ch)
-
-
-
Method Detail
-
write
public void write(int ch)
- Specified by:
write
in classjava.io.OutputStream
-
write
public void write(byte[] b, int off, int len)
- Overrides:
write
in classjava.io.OutputStream
-
write
public void write(byte[] b)
- Overrides:
write
in classjava.io.OutputStream
-
flush
public void flush()
- Specified by:
flush
in interfacejava.io.Flushable
- Overrides:
flush
in classjava.io.OutputStream
-
-