public class InlineURLFactory extends Object
Constructor and Description |
---|
InlineURLFactory() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
getBytes(URL url) |
static void |
install() |
static <T> byte[] |
marshall(T content) |
static <T> T |
newObject(Class<T> clazz,
URL url) |
static URL |
newURL(String mimetype,
byte[] data) |
static <T> URL |
newURL(T content) |
static <T> T |
unmarshall(Class<T> clazz,
byte[] data) |
public static void install()
public static <T> byte[] marshall(T content) throws IOException
IOException
public static <T> T unmarshall(Class<T> clazz, byte[] data) throws IOException
IOException
public static <T> URL newURL(T content) throws IOException
IOException
public static URL newURL(String mimetype, byte[] data) throws IOException
IOException
public static <T> T newObject(Class<T> clazz, URL url) throws IOException
IOException
public static byte[] getBytes(URL url) throws IOException
IOException
Copyright © 2013 Nuxeo SA. All Rights Reserved.