Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.core.url.nxobj
Class ObjectURL

java.lang.Object
  extended by org.nuxeo.ecm.core.url.nxobj.ObjectURL
All Implemented Interfaces:
URLStreamHandlerFactory

public class ObjectURL
extends Object
implements URLStreamHandlerFactory

Author:
Bogdan Stefanescu

Constructor Summary
ObjectURL()
           
 
Method Summary
 URLStreamHandler createURLStreamHandler(String protocol)
           
static Object getObject(URL url)
           
static URL getURL(Object object)
           
static URL getURL(Object object, String path, Handler handler)
           
static void removeURL(URL url)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectURL

public ObjectURL()
Method Detail

getURL

public static URL getURL(Object object)

getURL

public static URL getURL(Object object,
                         String path,
                         Handler handler)

removeURL

public static void removeURL(URL url)

getObject

public static Object getObject(URL url)

createURLStreamHandler

public URLStreamHandler createURLStreamHandler(String protocol)
Specified by:
createURLStreamHandler in interface URLStreamHandlerFactory

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.