org.nuxeo.runtime.test.protocols.inline
Class InlineURLFactory
java.lang.Object
org.nuxeo.runtime.test.protocols.inline.InlineURLFactory
public class InlineURLFactory
- extends Object
InlineURLFactory
public InlineURLFactory()
install
public static void install()
marshall
public static <T> byte[] marshall(T content)
throws IOException
- Throws:
IOException
unmarshall
public static <T> T unmarshall(Class<T> clazz,
byte[] data)
throws IOException
- Throws:
IOException
newURL
public static <T> URL newURL(T content)
throws IOException
- Throws:
IOException
newURL
public static URL newURL(String mimetype,
byte[] data)
throws IOException
- Throws:
IOException
newObject
public static <T> T newObject(Class<T> clazz,
URL url)
throws IOException
- Throws:
IOException
getBytes
public static byte[] getBytes(URL url)
throws IOException
- Throws:
IOException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.