public class Util extends Object
| Constructor and Description |
|---|
Util() |
| Modifier and Type | Method and Description |
|---|---|
static String |
encode(byte[] bytes,
String encoding) |
static JAXBContext |
getJaxbContext() |
static String |
getNameFromPath(String path) |
static String |
getParentPath(String path) |
static String |
getTokenFromHeaders(String headerName,
HttpServletRequest request) |
static Unmarshaller |
getUnmarshaller() |
static String |
normalizePath(String path) |
static void |
printAsXml(Object o) |
public static JAXBContext getJaxbContext() throws JAXBException
JAXBExceptionpublic static Unmarshaller getUnmarshaller() throws JAXBException
JAXBExceptionpublic static void printAsXml(Object o) throws JAXBException
JAXBExceptionpublic static String getTokenFromHeaders(String headerName, HttpServletRequest request)
public static String encode(byte[] bytes, String encoding) throws ClientException
ClientExceptionCopyright © 2011 Nuxeo SA. All Rights Reserved.