Class ApplicationEditor
- java.lang.Object
-
- com.zfabrik.impl.svnaccess.svnkit.ApplicationEditor
-
- All Implemented Interfaces:
org.tmatesoft.svn.core.io.ISVNDeltaConsumer,org.tmatesoft.svn.core.io.ISVNEditor
public class ApplicationEditor extends java.lang.Object implements org.tmatesoft.svn.core.io.ISVNEditorApplication editor to simply export. Note, we keep track of properties, as they also provide the last commit date that we use to set the file time stamps (as we want accurate file timestamps)
-
-
Constructor Summary
Constructors Constructor Description ApplicationEditor(java.io.File folder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidabortEdit()voidabsentDir(java.lang.String dir)voidabsentFile(java.lang.String file)voidaddDir(java.lang.String path, java.lang.String arg1, long arg2)voidaddFile(java.lang.String path, java.lang.String copyFromPath, long copyFromRevision)voidapplyTextDelta(java.lang.String path, java.lang.String baseChecksum)voidchangeDirProperty(java.lang.String name, org.tmatesoft.svn.core.SVNPropertyValue propVal)voidchangeFileProperty(java.lang.String path, java.lang.String name, org.tmatesoft.svn.core.SVNPropertyValue value)voidcloseDir()org.tmatesoft.svn.core.SVNCommitInfocloseEdit()voidcloseFile(java.lang.String path, java.lang.String md5)voiddeleteEntry(java.lang.String path, long rev)voidopenDir(java.lang.String path, long rev)voidopenFile(java.lang.String path, long rev)voidopenRoot(long rev)voidtargetRevision(long rev)java.io.OutputStreamtextDeltaChunk(java.lang.String path, org.tmatesoft.svn.core.io.diff.SVNDiffWindow diffWindow)voidtextDeltaEnd(java.lang.String path)
-
-
-
Method Detail
-
abortEdit
public void abortEdit() throws org.tmatesoft.svn.core.SVNException- Specified by:
abortEditin interfaceorg.tmatesoft.svn.core.io.ISVNEditor- Throws:
org.tmatesoft.svn.core.SVNException
-
absentDir
public void absentDir(java.lang.String dir) throws org.tmatesoft.svn.core.SVNException- Specified by:
absentDirin interfaceorg.tmatesoft.svn.core.io.ISVNEditor- Throws:
org.tmatesoft.svn.core.SVNException
-
absentFile
public void absentFile(java.lang.String file) throws org.tmatesoft.svn.core.SVNException- Specified by:
absentFilein interfaceorg.tmatesoft.svn.core.io.ISVNEditor- Throws:
org.tmatesoft.svn.core.SVNException
-
addDir
public void addDir(java.lang.String path, java.lang.String arg1, long arg2) throws org.tmatesoft.svn.core.SVNException- Specified by:
addDirin interfaceorg.tmatesoft.svn.core.io.ISVNEditor- Throws:
org.tmatesoft.svn.core.SVNException
-
addFile
public void addFile(java.lang.String path, java.lang.String copyFromPath, long copyFromRevision) throws org.tmatesoft.svn.core.SVNException- Specified by:
addFilein interfaceorg.tmatesoft.svn.core.io.ISVNEditor- Throws:
org.tmatesoft.svn.core.SVNException
-
changeDirProperty
public void changeDirProperty(java.lang.String name, org.tmatesoft.svn.core.SVNPropertyValue propVal) throws org.tmatesoft.svn.core.SVNException- Specified by:
changeDirPropertyin interfaceorg.tmatesoft.svn.core.io.ISVNEditor- Throws:
org.tmatesoft.svn.core.SVNException
-
changeFileProperty
public void changeFileProperty(java.lang.String path, java.lang.String name, org.tmatesoft.svn.core.SVNPropertyValue value) throws org.tmatesoft.svn.core.SVNException- Specified by:
changeFilePropertyin interfaceorg.tmatesoft.svn.core.io.ISVNEditor- Throws:
org.tmatesoft.svn.core.SVNException
-
closeDir
public void closeDir() throws org.tmatesoft.svn.core.SVNException- Specified by:
closeDirin interfaceorg.tmatesoft.svn.core.io.ISVNEditor- Throws:
org.tmatesoft.svn.core.SVNException
-
closeEdit
public org.tmatesoft.svn.core.SVNCommitInfo closeEdit() throws org.tmatesoft.svn.core.SVNException- Specified by:
closeEditin interfaceorg.tmatesoft.svn.core.io.ISVNEditor- Throws:
org.tmatesoft.svn.core.SVNException
-
closeFile
public void closeFile(java.lang.String path, java.lang.String md5) throws org.tmatesoft.svn.core.SVNException- Specified by:
closeFilein interfaceorg.tmatesoft.svn.core.io.ISVNEditor- Throws:
org.tmatesoft.svn.core.SVNException
-
deleteEntry
public void deleteEntry(java.lang.String path, long rev) throws org.tmatesoft.svn.core.SVNException- Specified by:
deleteEntryin interfaceorg.tmatesoft.svn.core.io.ISVNEditor- Throws:
org.tmatesoft.svn.core.SVNException
-
openDir
public void openDir(java.lang.String path, long rev) throws org.tmatesoft.svn.core.SVNException- Specified by:
openDirin interfaceorg.tmatesoft.svn.core.io.ISVNEditor- Throws:
org.tmatesoft.svn.core.SVNException
-
openFile
public void openFile(java.lang.String path, long rev) throws org.tmatesoft.svn.core.SVNException- Specified by:
openFilein interfaceorg.tmatesoft.svn.core.io.ISVNEditor- Throws:
org.tmatesoft.svn.core.SVNException
-
openRoot
public void openRoot(long rev) throws org.tmatesoft.svn.core.SVNException- Specified by:
openRootin interfaceorg.tmatesoft.svn.core.io.ISVNEditor- Throws:
org.tmatesoft.svn.core.SVNException
-
targetRevision
public void targetRevision(long rev) throws org.tmatesoft.svn.core.SVNException- Specified by:
targetRevisionin interfaceorg.tmatesoft.svn.core.io.ISVNEditor- Throws:
org.tmatesoft.svn.core.SVNException
-
applyTextDelta
public void applyTextDelta(java.lang.String path, java.lang.String baseChecksum) throws org.tmatesoft.svn.core.SVNException- Specified by:
applyTextDeltain interfaceorg.tmatesoft.svn.core.io.ISVNDeltaConsumer- Throws:
org.tmatesoft.svn.core.SVNException
-
textDeltaChunk
public java.io.OutputStream textDeltaChunk(java.lang.String path, org.tmatesoft.svn.core.io.diff.SVNDiffWindow diffWindow) throws org.tmatesoft.svn.core.SVNException- Specified by:
textDeltaChunkin interfaceorg.tmatesoft.svn.core.io.ISVNDeltaConsumer- Throws:
org.tmatesoft.svn.core.SVNException
-
textDeltaEnd
public void textDeltaEnd(java.lang.String path) throws org.tmatesoft.svn.core.SVNException- Specified by:
textDeltaEndin interfaceorg.tmatesoft.svn.core.io.ISVNDeltaConsumer- Throws:
org.tmatesoft.svn.core.SVNException
-
-