public static StorageUri stripURIQueryAndFragment(final StorageUri inUri) throws StorageException {
        return new StorageUri(stripSingleURIQueryAndFragment(inUri.getPrimaryUri()),
                stripSingleURIQueryAndFragment(inUri.getSecondaryUri()));
    }
public static StorageUri stripURIQueryAndFragment(final StorageUri inUri) throws StorageException {
        return new StorageUri(stripSingleURIQueryAndFragment(inUri.getPrimaryUri()),
                stripSingleURIQueryAndFragment(inUri.getSecondaryUri()));
    }
public static StorageUri stripURIQueryAndFragment ( final StorageUri inUri ) throws StorageException { return new StorageUri ( stripSingleURIQueryAndFragment ( inUri . getPrimaryUri ( ) ) , stripSingleURIQueryAndFragment ( inUri . getSecondaryUri ( ) ) ) ; }
Strips the Query and Fragment from the uri.

@param inUri
the uri to alter
@return the stripped uri.
@throws StorageException
Strips the Query and Fragment from the uri .