public URL createURL(String resourceId) throws MalformedURLException
   {
      StringBuilder url = new StringBuilder(64);
      url.append(ValueStorageURLStreamHandler.PROTOCOL);
      url.append(":/");
      url.append(repository);
      url.append('/');
      url.append(workspace);
      url.append('/');
      url.append(id);
      url.append('/');
      url.append(resourceId);
      return new URL(null, url.toString(), getURLStreamHandler());
   }
public URL createURL ( String resourceId ) throws MalformedURLException { StringBuilder url = new StringBuilder ( 64 ) ; url . append ( ValueStorageURLStreamHandler . PROTOCOL ) ; url . append ( ":/" ) ; url . append ( repository ) ; url . append ( '/' ) ; url . append ( workspace ) ; url . append ( '/' ) ; url . append ( id ) ; url . append ( '/' ) ; url . append ( resourceId ) ; return new URL ( null , url . toString ( ) , getURLStreamHandler ( ) ) ; }
Creates an {@link URL} corresponding to the given resource within the context of
the current {@link ValueStoragePlugin}
@param resourceId the id of the resource for which we want the corresponding URL
@return the URL corresponding to the given resource id
@throws MalformedURLException if the URL was not properly formed