| java.lang.Object org.tmatesoft.svn.core.io.diff.SVNDiffWindowApplyBaton
SVNDiffWindowApplyBaton | public class SVNDiffWindowApplyBaton (Code) | | The SVNDiffWindowApplyBaton class is used to provide the source
and target streams during applying diff windows. Also an instance of
SVNDiffWindowApplyBaton may be supplied with an MD5 digest object
for on-the-fly updating it with the bytes of the target view. So that when
a diff window's instructions are applied, the digest will be the checksum
for the full expanded text written to the target stream during delta application.
version: 1.1.1 author: TMate Software Ltd. |
mySourceBuffer | byte[] mySourceBuffer(Code) | | |
mySourceViewLength | int mySourceViewLength(Code) | | |
mySourceViewOffset | long mySourceViewOffset(Code) | | |
myTargetBuffer | byte[] myTargetBuffer(Code) | | |
myTargetViewSize | int myTargetViewSize(Code) | | |
close | public String close()(Code) | | Closes the source and target streams, finalizes
the checksum computation and returns it in a hex representation.
an MD5 checksum in a hex representation. |
create | public static SVNDiffWindowApplyBaton create(File source, File target, MessageDigest digest) throws SVNException(Code) | | Creates a diff window apply baton whith source and target streams
represented by files.
Parameters: source - a source file (from where the source views wouldbe taken) Parameters: target - a target file where the full text is written Parameters: digest - an MD5 checksum for the full text that would beupdated after each instruction applying a new SVNDiffWindowApplyBaton object throws: SVNException - |
create | public static SVNDiffWindowApplyBaton create(InputStream source, OutputStream target, MessageDigest digest)(Code) | | Creates a diff window apply baton whith initial source and target streams.
Parameters: source - a source input stream (from where the source views would be taken) Parameters: target - a target output stream where the full text is written Parameters: digest - an MD5 checksum for the full text that would beupdated after each instruction applying a new SVNDiffWindowApplyBaton object |
|
|