public static boolean isDirectoryPath ( URI path ) { return ( path != null ) && path . toString ( ) . endsWith ( GoogleCloudStorage . PATH_DELIMITER ) ; }
Indicates whether the given path looks like a directory path .