|
RSE Release 3.4 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.rse.services.clientserver.PathUtility
public class PathUtility
| Constructor Summary | |
|---|---|
PathUtility()
|
|
| Method Summary | |
|---|---|
static String |
enQuoteUnix(String s)
Quotes a string such that it can be used in a remote UNIX shell. |
static String |
getSeparator(String path)
Given a path name, try to guess what separator is used. |
static String |
normalizeUnix(String path)
Deprecated. this should not be used since \ is a valid part of UNIX file names. Also, a better normalizer would also consider swquences like a/../b and a/./b -- Try to work without this method. |
static String |
normalizeUnknown(String path)
|
static String |
normalizeVirtualUnix(String path)
|
static String |
normalizeVirtualWindows(String path)
|
static String |
normalizeWindows(String path)
Normalize a path name that is supposed to be Windows style. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PathUtility()
| Method Detail |
|---|
public static String normalizeWindows(String path)
path - a path to normalize
public static String normalizeUnix(String path)
path - a path to normalize
public static String normalizeVirtualWindows(String path)
public static String normalizeVirtualUnix(String path)
public static String normalizeUnknown(String path)
public static String getSeparator(String path)
path - a path to check
public static String enQuoteUnix(String s)
s - String to be quoted
|
RSE Release 3.4 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||