public static String getFullPathNoEndSeparator ( final String aURLString ) { final int pathnameStartIndex = aURLString . indexOf ( UNIX_SEPARATOR ) ; final int pathnameEndIndex = aURLString . lastIndexOf ( UNIX_SEPARATOR ) ; String aPath = aURLString . substring ( 0 , pathnameEndIndex ) ; return aPath ; }
Get base path from a path .