|
||||||||||
| 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 String |
fileListToPathString(List<File> files)
|
static String |
getCanonicalHostName()
Deprecated. |
static File |
getInstallDir()
|
static boolean |
isRelativePath(String path)
Makes an educated guess on whether an arbitrary string is a relative path. |
static boolean |
isWindows()
|
static boolean |
ok(String s)
|
static String |
replace(String s,
String token,
String replace)
|
static boolean |
safeExists(File f)
|
static boolean |
safeIsDirectory(File f)
|
static List<File> |
stringToFiles(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(String s)
public static boolean safeExists(File f)
public static boolean safeIsDirectory(File f)
public static File getInstallDir()
public static boolean isWindows()
@Deprecated
public static String getCanonicalHostName()
throws UnknownHostException
UnknownHostException - so it can be handled on a case by case basis
public static String replace(String s,
String token,
String replace)
public static boolean isRelativePath(String path)
path - the path to check
public static List<File> stringToFiles(String cp)
cp - The classpath-like string
public static String fileListToPathString(List<File> files)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||