A B C D E F G I J L M P Q R S T

A

addCopy(long, int) - Method in class com.nothome.delta.DebugDiffWriter
 
addCopy(long, int) - Method in interface com.nothome.delta.DiffWriter
Add a GDIFF copy instruction.
addCopy(long, int) - Method in class com.nothome.delta.GDiffWriter
 
addCopy(int, int) - Method in interface com.nothome.delta.text.DiffTextWriter
Add a copy command.
addCopy(int, int) - Method in class com.nothome.delta.text.GDiffTextWriter
 
addData(byte) - Method in class com.nothome.delta.DebugDiffWriter
 
addData(byte) - Method in interface com.nothome.delta.DiffWriter
Add a GDIFF data instruction.
addData(byte) - Method in class com.nothome.delta.GDiffWriter
Adds a data byte.
addData(char) - Method in interface com.nothome.delta.text.DiffTextWriter
Add a character to output.
addData(char) - Method in class com.nothome.delta.text.GDiffTextWriter
 
applyDelta(ZipFile, ZipFile, ZipOutputStream) - Method in class at.spardat.xma.xdelta.JarPatcher
Applies the differences in patch to source to create the target file.
at.spardat.xma.xdelta - package at.spardat.xma.xdelta
Package for creating delta files for .jar files.

B

ByteBufferSeekableSource - Class in com.nothome.delta
Wraps a byte buffer as a source
ByteBufferSeekableSource(byte[]) - Constructor for class com.nothome.delta.ByteBufferSeekableSource
Constructs a new ByteArraySeekableSource.
ByteBufferSeekableSource(ByteBuffer) - Constructor for class com.nothome.delta.ByteBufferSeekableSource
Constructs a new ByteArraySeekableSource.

C

CharBufferSeekableSource - Class in com.nothome.delta.text
Wrapper for a CharBuffer.
CharBufferSeekableSource(CharBuffer) - Constructor for class com.nothome.delta.text.CharBufferSeekableSource
Constructs a new CharBufferSeekableSource.
CharBufferSeekableSource(CharSequence) - Constructor for class com.nothome.delta.text.CharBufferSeekableSource
Constructs a new CharBufferSeekableSource from a char sequence (String).
Checksum - Class in com.nothome.delta
Checksum computation class.
Checksum(SeekableSource, int) - Constructor for class com.nothome.delta.Checksum
Initialize checksums for source.
Checksum - Class in com.nothome.delta.text
Checksum that uses character streams.
Checksum(Readable, int) - Constructor for class com.nothome.delta.text.Checksum
Initialize checksums for source.
checksums - Variable in class com.nothome.delta.text.Checksum
 
CHUNK_SIZE - Static variable in class com.nothome.delta.GDiffWriter
Max length of a chunk.
CHUNK_SIZE - Static variable in class com.nothome.delta.text.GDiffTextWriter
Max length of a "text-chunk".
close() - Method in class com.nothome.delta.ByteBufferSeekableSource
 
close() - Method in class com.nothome.delta.DebugDiffWriter
 
close() - Method in interface com.nothome.delta.DiffWriter
Closes this stream.
close() - Method in class com.nothome.delta.GDiffWriter
Writes the final EOF byte, closes the underlying stream.
close() - Method in class com.nothome.delta.RandomAccessFileSeekableSource
 
close() - Method in class com.nothome.delta.text.CharBufferSeekableSource
 
close() - Method in interface com.nothome.delta.text.DiffTextWriter
Frees internal resources; closes output stream.
close() - Method in class com.nothome.delta.text.GDiffTextWriter
 
com.nothome.delta - package com.nothome.delta
This package contains classes for creating patches for binary files output in the GDIFF format.
com.nothome.delta.text - package com.nothome.delta.text
This package contains classes for creating patches for text files output in a GDIFF-like format.
COMMA - Static variable in class com.nothome.delta.text.GDiffTextWriter
Comma delimiter.
compute(byte[], byte[], OutputStream) - Method in class com.nothome.delta.Delta
Compares the source bytes with target bytes, writing to output.
compute(byte[], byte[]) - Method in class com.nothome.delta.Delta
Compares the source bytes with target bytes, returning output.
compute(byte[], InputStream, DiffWriter) - Method in class com.nothome.delta.Delta
Compares the source bytes with target input, writing to output.
compute(File, File, DiffWriter) - Method in class com.nothome.delta.Delta
Compares the source file with a target file, writing to output.
compute(SeekableSource, InputStream, DiffWriter) - Method in class com.nothome.delta.Delta
Compares the source with a target, writing to output.
compute(CharSequence, CharSequence, Writer) - Method in class com.nothome.delta.text.Delta
Compares the source bytes with target bytes, writing to output.
compute(CharSequence, CharSequence) - Method in class com.nothome.delta.text.Delta
Compares the source bytes with target bytes, returning differences.
compute(SeekableSource, Reader, DiffTextWriter) - Method in class com.nothome.delta.text.Delta
Compares the source with a target, writing to output.
computeDelta(ZipFile, ZipFile, ZipOutputStream) - Method in class at.spardat.xma.xdelta.JarDelta
Computes the binary differences of two zip files.
COPY - Static variable in class com.nothome.delta.text.GDiffTextWriter
Copy command character.
COPY_INT_INT - Static variable in class com.nothome.delta.GDiffWriter
 
COPY_INT_UBYTE - Static variable in class com.nothome.delta.GDiffWriter
 
COPY_INT_USHORT - Static variable in class com.nothome.delta.GDiffWriter
 
COPY_LONG_INT - Static variable in class com.nothome.delta.GDiffWriter
 
COPY_USHORT_INT - Static variable in class com.nothome.delta.GDiffWriter
 
COPY_USHORT_UBYTE - Static variable in class com.nothome.delta.GDiffWriter
 
COPY_USHORT_USHORT - Static variable in class com.nothome.delta.GDiffWriter
 

D

DATA - Static variable in class com.nothome.delta.text.GDiffTextWriter
Data command character.
DATA_INT - Static variable in class com.nothome.delta.GDiffWriter
 
DATA_MAX - Static variable in class com.nothome.delta.GDiffWriter
Max length for single length data encode.
DATA_USHORT - Static variable in class com.nothome.delta.GDiffWriter
 
debug - Static variable in class com.nothome.delta.text.Checksum
 
DebugDiffWriter - Class in com.nothome.delta
For debugging patch generation.
DebugDiffWriter() - Constructor for class com.nothome.delta.DebugDiffWriter
Constructs a new DebugDiffWriter.
DEFAULT_CHUNK_SIZE - Static variable in class com.nothome.delta.Delta
Default size of 16.
DEFAULT_CHUNK_SIZE - Static variable in class com.nothome.delta.text.Delta
Default size of 16.
Delta - Class in com.nothome.delta
Class for computing deltas against a source.
Delta() - Constructor for class com.nothome.delta.Delta
Constructs a new Delta.
Delta - Class in com.nothome.delta.text
Class for computing deltas against a source.
Delta() - Constructor for class com.nothome.delta.text.Delta
 
DiffTextWriter - Interface in com.nothome.delta.text
Writes diff commands to a stream.
DiffWriter - Interface in com.nothome.delta
Interface for DIFF writers.

E

EOF - Static variable in class com.nothome.delta.GDiffWriter
 
equal(byte[], byte[]) - Method in class at.spardat.xma.xdelta.JarDelta
Test if the content of two byte arrays is completly identical.

F

findChecksumIndex(long) - Method in class com.nothome.delta.Checksum
Finds the index of a checksum.
findChecksumIndex(long) - Method in class com.nothome.delta.text.Checksum
 
flush() - Method in class com.nothome.delta.DebugDiffWriter
 
flush() - Method in interface com.nothome.delta.DiffWriter
Flushes to output, e.g.
flush() - Method in class com.nothome.delta.GDiffWriter
Flushes accumulated data bytes, if any.
flush() - Method in interface com.nothome.delta.text.DiffTextWriter
Writes current state to output stream.
flush() - Method in class com.nothome.delta.text.GDiffTextWriter
 

G

GDiffPatcher - Class in com.nothome.delta
This class patches an input file with a GDIFF patch fil�e.
GDiffPatcher() - Constructor for class com.nothome.delta.GDiffPatcher
Constructs a new GDiffPatcher.
GDiffTextWriter - Class in com.nothome.delta.text
A text-file format analog for GDIFF, which is only supported for binary streams.
GDiffTextWriter(Writer) - Constructor for class com.nothome.delta.text.GDiffTextWriter
Constructs a new GDiffTextWriter.
GDiffWriter - Class in com.nothome.delta
Outputs a diff following the GDIFF file specification available at http://www.w3.org/TR/NOTE-gdiff-19970901.html.
GDiffWriter(DataOutputStream) - Constructor for class com.nothome.delta.GDiffWriter
Constructs a new GDiffWriter.
GDiffWriter(OutputStream) - Constructor for class com.nothome.delta.GDiffWriter
Constructs a new GDiffWriter.
getSingleHash() - Static method in class com.nothome.delta.Checksum
256 random hash values.

I

incrementChecksum(long, byte, byte, int) - Static method in class com.nothome.delta.Checksum
Increments a checksum.
incrementChecksum(long, char, char, int) - Static method in class com.nothome.delta.text.Checksum
 

J

JarDelta - Class in at.spardat.xma.xdelta
This class calculates the binary difference of two zip files by applying Delta to all files contained in both zip files.
JarDelta() - Constructor for class at.spardat.xma.xdelta.JarDelta
 
JarPatcher - Class in at.spardat.xma.xdelta
This class applys a zip file containing deltas created with JarDelta using GDiffPatcher on the files contained in the jar file.
JarPatcher() - Constructor for class at.spardat.xma.xdelta.JarPatcher
 

L

length() - Method in class com.nothome.delta.RandomAccessFileSeekableSource
 
LF - Static variable in class com.nothome.delta.text.GDiffTextWriter
Line feed character.

M

main(String[]) - Static method in class at.spardat.xma.xdelta.JarDelta
Main method to make JarDelta.computeDelta(ZipFile, ZipFile, ZipOutputStream) available at the command line.
usage JarDelta source target output
main(String[]) - Static method in class at.spardat.xma.xdelta.JarPatcher
Main method to make JarPatcher.applyDelta(ZipFile, ZipFile, ZipOutputStream) available at the command line.
usage JarPatcher source patch output
main(String[]) - Static method in class com.nothome.delta.Delta
Creates a patch using file names.
main(String[]) - Static method in class com.nothome.delta.GDiffPatcher
Simple command line tool to patch a file.
main(String[]) - Static method in class com.nothome.delta.text.Delta
Creates a patch with file names.

P

patch(File, File, File) - Method in class com.nothome.delta.GDiffPatcher
Patches to an output file.
patch(byte[], InputStream, OutputStream) - Method in class com.nothome.delta.GDiffPatcher
Patches to an output stream.
patch(byte[], byte[]) - Method in class com.nothome.delta.GDiffPatcher
Patches in memory, returning the patch result.
patch(SeekableSource, InputStream, OutputStream) - Method in class com.nothome.delta.GDiffPatcher
Patches to an output stream.
patch(CharSequence) - Method in class com.nothome.delta.text.TextPatcher
Patch from a string, return the result.
patch(Reader, Writer) - Method in class com.nothome.delta.text.TextPatcher
Patches a source to an output file.
PatchException - Exception in com.nothome.delta
Thrown when a patch is invalid.
PatchException() - Constructor for exception com.nothome.delta.PatchException
Creates a new instance of PatchException without detail message.
PatchException(String) - Constructor for exception com.nothome.delta.PatchException
Constructs an instance of PatchException with the specified detail message.

Q

queryChecksum(ByteBuffer, int) - Static method in class com.nothome.delta.Checksum
Finds the checksum computed from the buffer.
queryChecksum(CharBuffer, int) - Static method in class com.nothome.delta.text.Checksum
Marks, gets, then resets the checksum computed from the buffer.

R

RandomAccessFileSeekableSource - Class in com.nothome.delta
Wraps a random access file.
RandomAccessFileSeekableSource(RandomAccessFile) - Constructor for class com.nothome.delta.RandomAccessFileSeekableSource
Constructs a new RandomAccessFileSeekableSource.
read(ByteBuffer) - Method in class com.nothome.delta.ByteBufferSeekableSource
 
read(byte[], int, int) - Method in class com.nothome.delta.RandomAccessFileSeekableSource
 
read(ByteBuffer) - Method in class com.nothome.delta.RandomAccessFileSeekableSource
 
read(ByteBuffer) - Method in interface com.nothome.delta.SeekableSource
Reads up to Buffer.remaining() bytes from the source, returning the number of bytes read, or -1 if no bytes were read and EOF was reached.
read(CharBuffer) - Method in class com.nothome.delta.text.CharBufferSeekableSource
 

S

seek(long) - Method in class com.nothome.delta.ByteBufferSeekableSource
 
seek(long) - Method in class com.nothome.delta.RandomAccessFileSeekableSource
 
seek(long) - Method in interface com.nothome.delta.SeekableSource
Sets the position for the next SeekableSource.read(ByteBuffer).
seek(long) - Method in class com.nothome.delta.text.CharBufferSeekableSource
 
seek(long) - Method in interface com.nothome.delta.text.SeekableSource
Sets the position for the next read operation.
SeekableSource - Interface in com.nothome.delta
For sources of random-access data, such as RandomAccessFile.
SeekableSource - Interface in com.nothome.delta.text
Text seekable source
setChunkSize(int) - Method in class com.nothome.delta.Delta
Sets the chunk size used.
setChunkSize(int) - Method in class com.nothome.delta.text.Delta
Sets the chunk size used.

T

TextPatcher - Class in com.nothome.delta.text
Converts a text patch and source file to a resulting target file.
TextPatcher(SeekableSource) - Constructor for class com.nothome.delta.text.TextPatcher
Constructs a new TextPatcher with a generic source.
TextPatcher(CharSequence) - Constructor for class com.nothome.delta.text.TextPatcher
Constructs a new TextPatcher with a source to patch.
toString() - Method in class com.nothome.delta.ByteBufferSeekableSource
Returns a debug String.
toString() - Method in class com.nothome.delta.Checksum
Returns a debug String.
toString() - Method in class com.nothome.delta.text.Checksum
Returns a debug String.

A B C D E F G I J L M P Q R S T

Copyright © 2003-2008. All Rights Reserved.