org.nuxeo.ecm.webdav
Class Util
java.lang.Object
org.nuxeo.ecm.webdav.Util
public class Util
- extends Object
Utility functions.
|
Constructor Summary |
Util()
|
Util
public Util()
getJaxbContext
public static JAXBContext getJaxbContext()
throws JAXBException
- Throws:
JAXBException
getUnmarshaller
public static Unmarshaller getUnmarshaller()
throws JAXBException
- Throws:
JAXBException
printAsXml
public static void printAsXml(Object o)
throws JAXBException
- Throws:
JAXBException
normalizePath
public static String normalizePath(String path)
getParentPath
public static String getParentPath(String path)
getNameFromPath
public static String getNameFromPath(String path)
getTokenFromHeaders
public static String getTokenFromHeaders(String headerName,
HttpServletRequest request)
encode
public static String encode(byte[] bytes,
String encoding)
throws org.nuxeo.ecm.core.api.ClientException
- Throws:
org.nuxeo.ecm.core.api.ClientException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.