Class StringUtil
- java.lang.Object
-
- org.codehaus.commons.compiler.util.StringUtil
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static File[]
parseOptionalPath(String s)
static File[]
parsePath(String s)
Breaks a given string up by the system-dependent path-separator character (on UNIX systems, this character is ":"; on Microsoft Windows systems it is ";").
-
-
-
Method Detail
-
parsePath
public static File[] parsePath(String s)
Breaks a given string up by the system-dependent path-separator character (on UNIX systems, this character is ":"; on Microsoft Windows systems it is ";"). Empty components are ignored.UNIX Examples:
- A:B:C
- A, B, C
- ::B:
- B
- :A
- A
- (Empty string)
- (Zero components)
- See Also:
File.pathSeparatorChar
-
-