|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jgit.transport.RefAdvertiser
org.eclipse.jgit.transport.RefAdvertiser.PacketLineOutRefAdvertiser
public static class RefAdvertiser.PacketLineOutRefAdvertiser
Advertiser which frames lines in a PacketLineOut
format.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.jgit.transport.RefAdvertiser |
---|
RefAdvertiser.PacketLineOutRefAdvertiser |
Constructor Summary | |
---|---|
RefAdvertiser.PacketLineOutRefAdvertiser(PacketLineOut out)
Create a new advertiser for the supplied stream. |
Method Summary | |
---|---|
protected void |
end()
Mark the end of the advertisements. |
protected void |
writeOne(java.lang.CharSequence line)
Write a single advertisement line. |
Methods inherited from class org.eclipse.jgit.transport.RefAdvertiser |
---|
advertiseCapability, advertiseHave, advertiseId, init, isEmpty, send, setDerefTags |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RefAdvertiser.PacketLineOutRefAdvertiser(PacketLineOut out)
out
- the output stream.Method Detail |
---|
protected void writeOne(java.lang.CharSequence line) throws java.io.IOException
RefAdvertiser
writeOne
in class RefAdvertiser
line
- the advertisement line to be written. The line always ends
with LF. Never null or the empty string.
java.io.IOException
- the underlying output stream failed to write out an
advertisement record.protected void end() throws java.io.IOException
RefAdvertiser
end
in class RefAdvertiser
java.io.IOException
- the underlying output stream failed to write out an
advertisement record.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |