public class SVNDiffWindowApplyBaton extends Object
Modifier and Type | Method and Description |
---|---|
String |
close()
Closes the source and target streams, finalizes
the checksum computation and returns it in a hex representation.
|
static SVNDiffWindowApplyBaton |
create(File source,
File target,
MessageDigest digest)
Creates a diff window apply baton whith source and target streams
represented by files.
|
static SVNDiffWindowApplyBaton |
create(InputStream source,
OutputStream target,
MessageDigest digest)
Creates a diff window apply baton whith initial source and target streams.
|
public static SVNDiffWindowApplyBaton create(File source, File target, MessageDigest digest) throws SVNException
source
- a source file (from where the source views would
be taken)target
- a target file where the full text is writtendigest
- an MD5 checksum for the full text that would be
updated after each instruction applyingSVNException
public static SVNDiffWindowApplyBaton create(InputStream source, OutputStream target, MessageDigest digest)
source
- a source input stream (from where the source
views would be taken)target
- a target output stream where the full text is writtendigest
- an MD5 checksum for the full text that would be
updated after each instruction applyingpublic String close()
Copyright © 2018. All rights reserved.