|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.enterprise.universal.glassfish.GFLauncherUtils
public class GFLauncherUtils
Package private static utility methods
| Method Summary | |
|---|---|
static java.lang.String |
fileListToPathString(java.util.List<java.io.File> files)
|
static java.lang.String |
getCanonicalHostName()
Deprecated. |
static java.io.File |
getInstallDir()
|
static boolean |
isRelativePath(java.lang.String path)
Makes an educated guess on whether an arbitrary string is a relative path. |
static boolean |
isWindows()
|
static boolean |
ok(java.lang.String s)
|
static java.lang.String |
replace(java.lang.String s,
java.lang.String token,
java.lang.String replace)
|
static boolean |
safeExists(java.io.File f)
|
static boolean |
safeIsDirectory(java.io.File f)
|
static java.util.List<java.io.File> |
stringToFiles(java.lang.String cp)
Convert a classpath like string, e.g. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean ok(java.lang.String s)
public static boolean safeExists(java.io.File f)
public static boolean safeIsDirectory(java.io.File f)
public static java.io.File getInstallDir()
public static boolean isWindows()
@Deprecated
public static java.lang.String getCanonicalHostName()
throws java.net.UnknownHostException
java.net.UnknownHostException - so it can be handled on a case by case basis
public static java.lang.String replace(java.lang.String s,
java.lang.String token,
java.lang.String replace)
public static boolean isRelativePath(java.lang.String path)
path - the path to check
public static java.util.List<java.io.File> stringToFiles(java.lang.String cp)
cp - The classpath-like string
public static java.lang.String fileListToPathString(java.util.List<java.io.File> files)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||