Package com.labs64.netlicensing.util
Class JAXBUtils
java.lang.Object
com.labs64.netlicensing.util.JAXBUtils
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic <T> TreadObject(String resource, Class<T> expectedType) static <T> TreadObjectFromInputStream(InputStream inputStream, Class<T> expectedType) static <T> TreadObjectFromString(String content, Class<T> expectedType) static <T> StringxmlEntityToString(T entity) 
- 
Constructor Details- 
JAXBUtilspublic JAXBUtils()
 
- 
- 
Method Details- 
readObjectpublic static <T> T readObject(String resource, Class<T> expectedType) throws jakarta.xml.bind.JAXBException - Throws:
- jakarta.xml.bind.JAXBException
 
- 
readObjectFromStringpublic static <T> T readObjectFromString(String content, Class<T> expectedType) throws jakarta.xml.bind.JAXBException - Throws:
- jakarta.xml.bind.JAXBException
 
- 
readObjectFromInputStreampublic static <T> T readObjectFromInputStream(InputStream inputStream, Class<T> expectedType) throws jakarta.xml.bind.JAXBException - Throws:
- jakarta.xml.bind.JAXBException
 
- 
xmlEntityToString
 
-