com.calfater.mailcarbon.util
Class MarshallerHelper
java.lang.Object
com.calfater.mailcarbon.util.MarshallerHelper
public class MarshallerHelper
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MarshallerHelper
public MarshallerHelper()
marshal
public static void marshal(ConfigManagerBinding config,
java.io.File file)
throws java.io.IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Throws:
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
unmarshal
public static <T> T unmarshal(java.lang.Class<T> clazz,
java.io.File file)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException,
java.io.FileNotFoundException
- Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
java.io.FileNotFoundException
Copyright © 2010. All Rights Reserved.