public static String getShareNameFromUri ( final URI resourceAddress , final boolean usePathStyleUris ) { return getResourceNameFromUri ( resourceAddress , usePathStyleUris , String . format ( "Invalid file address '%s', missing share information" , resourceAddress ) ) ; }
Get the share name from address from the URI .