org.nuxeo.connect.update.task.update
Class JarUtils
java.lang.Object
org.nuxeo.connect.update.task.update.JarUtils
public class JarUtils
- extends Object
- Author:
- Bogdan Stefanescu
Method Summary |
static org.nuxeo.connect.update.task.update.JarUtils.Match<File> |
find(File filePattern)
|
static org.nuxeo.connect.update.task.update.JarUtils.Match<File> |
findJar(File root,
String key)
|
static org.nuxeo.connect.update.task.update.JarUtils.Match<String> |
findJarVersion(String name)
Try to find the version part in the given JAR name. |
JAR_NAME
public static final Pattern JAR_NAME
JAR_WITHOUT_VERSION_NAME
public static final Pattern JAR_WITHOUT_VERSION_NAME
JarUtils
public JarUtils()
findJarVersion
public static org.nuxeo.connect.update.task.update.JarUtils.Match<String> findJarVersion(String name)
- Try to find the version part in the given JAR name. Return null if name
is not containing a version, otherwise return a match object with the
name without the version part and the extension in the 'Match.object'
field.
- Parameters:
name
-
findJar
public static org.nuxeo.connect.update.task.update.JarUtils.Match<File> findJar(File root,
String key)
find
public static org.nuxeo.connect.update.task.update.JarUtils.Match<File> find(File filePattern)
Copyright © 2012 Nuxeo SA. All Rights Reserved.