|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.nothome.delta.GDiffPatcher
public class GDiffPatcher
This class patches an input file with a GDIFF patch fil�e.
The patch file follows the GDIFF file specification available at
http://www.w3.org/TR/NOTE-gdiff-19970901.html
.
Constructor Summary | |
---|---|
GDiffPatcher()
Constructs a new GDiffPatcher. |
Method Summary | |
---|---|
static void |
main(String[] argv)
Simple command line tool to patch a file. |
byte[] |
patch(byte[] source,
byte[] patch)
Patches in memory, returning the patch result. |
void |
patch(byte[] source,
InputStream patch,
OutputStream output)
Patches to an output stream. |
void |
patch(File sourceFile,
File patchFile,
File outputFile)
Patches to an output file. |
void |
patch(SeekableSource source,
InputStream patch,
OutputStream out)
Patches to an output stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GDiffPatcher()
Method Detail |
---|
public void patch(File sourceFile, File patchFile, File outputFile) throws IOException
IOException
public void patch(byte[] source, InputStream patch, OutputStream output) throws IOException
IOException
public byte[] patch(byte[] source, byte[] patch) throws IOException
IOException
public void patch(SeekableSource source, InputStream patch, OutputStream out) throws IOException
IOException
public static void main(String[] argv)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |