|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.runtime.jboss.deployer.Utils
public class Utils
Method Summary | |
---|---|
static String |
expandVars(String expression,
Map<?,?> properties)
Expands any variable found in the given expression with the values in the given map. |
static File |
getFile(URL url)
|
static File |
getFile(org.jboss.virtual.VirtualFile vf)
Try to convert a virtual file to a real java file. |
static File |
getJarFile(URL url)
|
static File |
getRealHomeDir(org.jboss.virtual.VirtualFile vf)
|
static File |
getRealHomeDir(org.jboss.virtual.VirtualFile vf,
long lastModified)
Unzip only if the given lastModified is greater than the already unzipped home (if any). |
static String[] |
split(String str,
char delimiter,
boolean trim)
|
static File |
tryGetFile(URL url)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static File tryGetFile(URL url) throws Exception
Exception
public static File getFile(URL url) throws Exception
Exception
public static File getJarFile(URL url) throws Exception
Exception
public static File getFile(org.jboss.virtual.VirtualFile vf) throws Exception
Exception
public static File getRealHomeDir(org.jboss.virtual.VirtualFile vf) throws Exception
Exception
public static File getRealHomeDir(org.jboss.virtual.VirtualFile vf, long lastModified) throws Exception
Exception
public static String[] split(String str, char delimiter, boolean trim)
public static String expandVars(String expression, Map<?,?> properties)
The variable format is ${property_key}.
expression
- the expression to expandproperties
- a map containing variables
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |