public abstract class SVNUpdater extends Object
| Constructor and Description |
|---|
SVNUpdater(Configuration configuration) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkIfAvaialable(String file,
Collection<Dependency> deps) |
List<String> |
checkMatch(String[] lines,
List<String> ls) |
boolean |
fileExists(String path,
long revision) |
String |
generateAlgorithmEntry(Algorithm algorithm,
String targetVRE,
String category,
String algorithm_type) |
String |
getDependencyFile(String language) |
String |
getTimeZone() |
Collection<String> |
getUndefinedDependencies(String file,
Collection<Dependency> deps) |
static void |
main(String[] args) |
static String |
md5(byte[] contents) |
void |
putFile(FileInputStream fileInputSreeam,
String destinationFolder,
String fileName) |
void |
updateAlgorithmFiles(File a) |
void |
updateFile(FileInputStream fileInputStream,
String destinationFolder,
String fileName) |
void |
updateSVN(String file,
Collection<Dependency> deps) |
boolean |
updateSVNAlgorithmList(Algorithm algorithm,
String targetVRE,
String category,
String algorithm_type,
String user) |
public SVNUpdater(Configuration configuration) throws org.tmatesoft.svn.core.SVNException
org.tmatesoft.svn.core.SVNExceptionpublic boolean updateSVNAlgorithmList(Algorithm algorithm, String targetVRE, String category, String algorithm_type, String user)
public void updateAlgorithmFiles(File a) throws org.tmatesoft.svn.core.SVNException, SVNCommitException
org.tmatesoft.svn.core.SVNExceptionSVNCommitExceptionpublic void putFile(FileInputStream fileInputSreeam, String destinationFolder, String fileName) throws org.tmatesoft.svn.core.SVNException, SVNCommitException
org.tmatesoft.svn.core.SVNExceptionSVNCommitExceptionpublic void updateFile(FileInputStream fileInputStream, String destinationFolder, String fileName) throws org.tmatesoft.svn.core.SVNException, SVNCommitException
org.tmatesoft.svn.core.SVNExceptionSVNCommitExceptionpublic boolean fileExists(String path, long revision) throws org.tmatesoft.svn.core.SVNException
org.tmatesoft.svn.core.SVNExceptionpublic String generateAlgorithmEntry(Algorithm algorithm, String targetVRE, String category, String algorithm_type) throws ParseException
ParseExceptionpublic Collection<String> getUndefinedDependencies(String file, Collection<Dependency> deps) throws GenericException
GenericExceptionpublic boolean checkIfAvaialable(String file, Collection<Dependency> deps) throws org.tmatesoft.svn.core.SVNException
org.tmatesoft.svn.core.SVNExceptionpublic void updateSVN(String file, Collection<Dependency> deps)
public static String md5(byte[] contents)
public String getTimeZone() throws ParseException
ParseExceptionpublic static void main(String[] args) throws org.tmatesoft.svn.core.SVNException, ParseException
org.tmatesoft.svn.core.SVNExceptionParseExceptionCopyright © 2019. All Rights Reserved.