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
JAXBException
public static Unmarshaller getUnmarshaller() throws JAXBException
JAXBException
public static void printAsXml(Object o) throws JAXBException
JAXBException
public static String getTokenFromHeaders(String headerName, HttpServletRequest request)
public static String encode(byte[] bytes, String encoding) throws ClientException
ClientException
Copyright © 2011 Nuxeo SA. All Rights Reserved.