public class SimpleJaxbStore extends Object
For more info please see the Tutorials.
| Modifier and Type | Field and Description |
|---|---|
private String |
directory |
private File |
file |
private String |
fileName |
(package private) org.slf4j.Logger |
logger
The internal slf4j logger.
|
private JAXBContext |
xmlContext |
| Constructor and Description |
|---|
SimpleJaxbStore(String directory,
String fileName,
Class<?>... jaxbClasses) |
| Modifier and Type | Method and Description |
|---|---|
Object |
readXml() |
(package private) static String |
substitute(String s) |
boolean |
writeXml(Object xml) |
final org.slf4j.Logger logger
private final String directory
private final String fileName
private final JAXBContext xmlContext
private final File file
public SimpleJaxbStore(String directory, String fileName, Class<?>... jaxbClasses) throws IOException, JAXBException
IOExceptionJAXBExceptionCopyright © 2018. All rights reserved.