org.nuxeo.ecm.platform.jbpm.core.deployer
Class MD5Hasher
java.lang.Object
org.nuxeo.ecm.platform.jbpm.core.deployer.MD5Hasher
- All Implemented Interfaces:
- Serializable
public class MD5Hasher
- extends Object
- implements Serializable
- Author:
- Alexandre Russel
- See Also:
- Serialized Form
MD5Hasher
public MD5Hasher()
getDocumentBuider
public DocumentBuilder getDocumentBuider()
throws ParserConfigurationException
- Throws:
ParserConfigurationException
getTransformer
public Transformer getTransformer()
throws TransformerConfigurationException,
TransformerFactoryConfigurationError
- Throws:
TransformerConfigurationException
TransformerFactoryConfigurationError
getMD5FromURL
public String getMD5FromURL(URL url)
throws SAXException,
IOException,
TransformerException,
NoSuchAlgorithmException
- Throws:
SAXException
IOException
TransformerException
NoSuchAlgorithmException
MD5
public String MD5(byte[] bytes)
throws NoSuchAlgorithmException
- Throws:
NoSuchAlgorithmException
getBytes
public byte[] getBytes(Document document)
throws IOException,
TransformerException
- Throws:
IOException
TransformerException
getDomDocument
public Document getDomDocument(URL url)
throws SAXException,
IOException
- Throws:
SAXException
IOException
trimDocument
public Document trimDocument(Document document)
Copyright © 2011 Nuxeo SAS. All Rights Reserved.