Package cern.accsoft.steering.jmad.util
Class PathUtil
- java.lang.Object
-
- cern.accsoft.steering.jmad.util.PathUtil
-
public final class PathUtil extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
parentPath(java.lang.String fileName)
Given a string representing a file path (using slashes as separator), returns the path part (removing the file part, i.e.
-
-
-
Method Detail
-
parentPath
public static final java.lang.String parentPath(java.lang.String fileName)
Given a string representing a file path (using slashes as separator), returns the path part (removing the file part, i.e. the part after the last slash)- Parameters:
fileName
- the fileName from which to return the path- Returns:
- the path of the full file name
-
-