SourceJammer 1.2.0.1 May 20, 2002
Copyright (c) 2001, 2002 Robert MacGrogan

org.sourcejammer.server.source
Class BinaryDelta

java.lang.Object
  |
  +--org.sourcejammer.server.source.BinaryDelta
All Implemented Interfaces:
Delta, java.io.Serializable

public class BinaryDelta
extends java.lang.Object
implements java.io.Serializable, Delta

Represents the differences (or delta) between two versions of a binary file such that this BinaryDelta can be applied to the "old" file version to reproduce the new file version.

See Also:
Serialized Form

Constructor Summary
BinaryDelta()
          Default constructor.
 
Method Summary
 void addBuildStep(SourceBuildStepInf step)
          Adds a single step to be used in building new version from old version.
 java.io.ByteArrayOutputStream buildFile(SourceInputStream parent)
          Applies this BinaryDelta file to the file in parent to produce the new file version.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BinaryDelta

public BinaryDelta()
Default constructor.
Method Detail

addBuildStep

public void addBuildStep(SourceBuildStepInf step)
Adds a single step to be used in building new version from old version. Note that steps are added and executed in the same sequence.

buildFile

public java.io.ByteArrayOutputStream buildFile(SourceInputStream parent)
                                        throws InvalidSourceException,
                                               java.io.IOException
Applies this BinaryDelta file to the file in parent to produce the new file version.

SourceJammer 1.2.0.1 May 20, 2002
Copyright (c) 2001, 2002 Robert MacGrogan