org.sourcejammer.project.controller
Class PreviousVersionSourceMaker
java.lang.Object
|
+--org.sourcejammer.project.controller.PreviousVersionSourceMaker
- public class PreviousVersionSourceMaker
- extends java.lang.Object
Title: $FileName: PreviousVersionSourceMaker.java$
- Version:
- $VerNum: 2$
$KeyWordsOff: $
- Author:
- $AuthorName: Rob MacGrogan$
Method Summary |
private void |
makeBinaryDelta(Archive arch,
long lFileID,
java.io.File newVersion,
java.io.File deltaTarget)
|
void |
makePreviousVersionSource(java.io.File deltaTarget)
To use resourceses most wisely, I recommend that newVersion be already saved
to disk before this method is called. |
private void |
makeTextDelta(Archive arch,
long lFileID,
java.io.File newVersion,
java.io.File deltaTarget)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
miFileType
private int miFileType
miHistoryType
private int miHistoryType
mlFileID
private long mlFileID
mNewVersion
private java.io.File mNewVersion
mArch
private Archive mArch
PreviousVersionSourceMaker
public PreviousVersionSourceMaker(int iFileType,
int iHistoryType,
long lFileID,
java.io.File newVersion,
Archive arch)
makePreviousVersionSource
public void makePreviousVersionSource(java.io.File deltaTarget)
throws WrongFileTypeException,
FileAccessException,
FileDoesNotExistException,
TextFileException,
SecurityException,
java.io.IOException,
InvalidSourceException,
EndOfSourceException
- To use resourceses most wisely, I recommend that newVersion be already saved
to disk before this method is called. This method may want to set newVersion
to null to free up memory. Calling method should set local references
to newVersion to null before calling this method.
WrongFileTypeException
FileAccessException
FileDoesNotExistException
TextFileException
SecurityException
java.io.IOException
InvalidSourceException
EndOfSourceException
makeTextDelta
private void makeTextDelta(Archive arch,
long lFileID,
java.io.File newVersion,
java.io.File deltaTarget)
throws FileAccessException,
FileDoesNotExistException,
TextFileException,
SecurityException,
InvalidSourceException,
EndOfSourceException,
java.io.IOException
FileAccessException
FileDoesNotExistException
TextFileException
SecurityException
InvalidSourceException
EndOfSourceException
java.io.IOException
makeBinaryDelta
private void makeBinaryDelta(Archive arch,
long lFileID,
java.io.File newVersion,
java.io.File deltaTarget)
throws FileAccessException,
FileDoesNotExistException,
InvalidSourceException,
EndOfSourceException,
TextFileException,
SecurityException
FileAccessException
FileDoesNotExistException
InvalidSourceException
EndOfSourceException
TextFileException
SecurityException
Copyright © 2003 Soucejammer project.