Class 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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