Class PathUtils
java.lang.Object
org.apache.maven.archetype.common.util.PathUtils
- Author:
- rafale
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
convertPathForOS
(String path) This method converts all \ or / chars to File.separatorChar.static String
getDirectory
(String file, int level)
-
Constructor Details
-
PathUtils
public PathUtils()
-
-
Method Details
-
convertPathForOS
This method converts all \ or / chars to File.separatorChar.- Parameters:
path
-- Returns:
- converted path
-
getDirectory
-