Class SvnKitPropget
java.lang.Object
net.sf.statsvn.util.SvnPropgetUtils
net.sf.statsvn.util.svnkit.SvnKitPropget
- All Implemented Interfaces:
ISvnPropgetProcessor
Uses svnkit to do svn propget.
- Author:
- jkealey, yogesh
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class SvnPropgetUtils
binaryFiles, processor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the list of binary files in the working directory.org.tmatesoft.svn.core.wc.SVNClientManagerprotected voidhandleSvnException(org.tmatesoft.svn.core.SVNException ex) protected booleanisBinary(org.tmatesoft.svn.core.wc.SVNPropertyData data) booleanisBinaryFile(String revision, String filename) It was first thought that a the mime-type of a file's previous revision could be found.Methods inherited from class SvnPropgetUtils
getBinaryFilename, getFileMimeTypes, getFileMimeTypes, getProcessor, loadBinaryFiles, loadBinaryFiles
-
Constructor Details
-
SvnKitPropget
-
-
Method Details
-
getBinaryFiles
Description copied from interface:ISvnPropgetProcessorReturns the list of binary files in the working directory.- Specified by:
getBinaryFilesin interfaceISvnPropgetProcessor- Overrides:
getBinaryFilesin classSvnPropgetUtils- Returns:
- the list of binary files
-
getCheckoutDirectory
-
getManager
public org.tmatesoft.svn.core.wc.SVNClientManager getManager() -
getSvnKitProcessor
-
handleSvnException
- Throws:
IOException
-
isBinary
protected boolean isBinary(org.tmatesoft.svn.core.wc.SVNPropertyData data) -
isBinaryFile
Description copied from interface:ISvnPropgetProcessorIt was first thought that a the mime-type of a file's previous revision could be found. This is not the case. Leave revision null until future upgrade of svn propget command line.- Specified by:
isBinaryFilein interfaceISvnPropgetProcessor- Overrides:
isBinaryFilein classSvnPropgetUtils- Parameters:
revision- the revision to queryfilename- the filename- Returns:
- if that version of a file is binary
-