public class MBXMLPersistencer extends MBPersistencer
| Constructor and Description |
|---|
MBXMLPersistencer() |
| Modifier and Type | Method and Description |
|---|---|
static com.thoughtworks.xstream.XStream |
getXstream() |
MBBundles |
load(File source) |
MBBundles |
load(InputStream in) |
MBBundles |
load(Reader reader) |
void |
save(MBBundles obj,
File target) |
MBPersistencer |
withOptions(String options) |
public void save(MBBundles obj, File target) throws IOException
save in class MBPersistencerIOExceptionpublic MBPersistencer withOptions(String options)
withOptions in class MBPersistencerpublic MBBundles load(File source) throws IOException, ClassNotFoundException
load in class MBPersistencerIOExceptionClassNotFoundExceptionpublic MBBundles load(Reader reader) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionpublic MBBundles load(InputStream in) throws IOException, ClassNotFoundException
load in class MBPersistencerIOExceptionClassNotFoundExceptionpublic static com.thoughtworks.xstream.XStream getXstream()
Copyright © 2015. All rights reserved.