These methods are similar to those in java.io.File.
Note
The system has been hardcoded to use the separator specified
by java.io.File.
| Modifier and Type | Field and Description |
|---|---|
| public static final char | |
| public static final String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static void | |
| public static String | Returns: The base name of the path.the path to process path)Returns the base name of the path. |
| public static String | |
| public static String |
| SEP | back to summary |
|---|---|
| public static final char SEP | |
| SEP_STR | back to summary |
|---|---|
| public static final String SEP_STR | |
| PathUtil | back to summary |
|---|---|
| private PathUtil() This class cannot be instantiated. | |
| basicPathChecks | back to summary |
|---|---|
| private static void basicPathChecks(String path) | |
| getBaseName | back to summary |
|---|---|
| public static String getBaseName(String path) Returns the base name of the path. | |
| getParent | back to summary |
|---|---|
| public static String getParent(String path) Returns the parent of the path. | |
| join | back to summary |
|---|---|
| public static String join(String parent, String base) Joins the two paths by inserting the separator chararcter between them. | |