de.viaboxx.nlstools.formats
Class MBJSONPersistencer
java.lang.Object
de.viaboxx.nlstools.formats.MBPersistencer
de.viaboxx.nlstools.formats.MBJSONPersistencer
public class MBJSONPersistencer
- extends MBPersistencer
Description: Load/Save JSON Format with XStream
User: roman.stumm
Date: 14.06.2007
Time: 15:29:50
Copyright: Viaboxx GmbH
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MBJSONPersistencer
public MBJSONPersistencer(boolean pretty)
save
public void save(MBBundles object,
File file)
throws Exception
- Specified by:
save in class MBPersistencer
- Throws:
Exception
saveObject
public void saveObject(Object obj,
File target)
throws Exception
- Throws:
Exception
load
public MBBundles load(File source)
throws IOException,
ClassNotFoundException
- Specified by:
load in class MBPersistencer
- Throws:
IOException
ClassNotFoundException
load
public MBBundles load(Reader reader)
throws IOException,
ClassNotFoundException
- Throws:
IOException
ClassNotFoundException
load
public MBBundles load(InputStream in)
throws IOException,
ClassNotFoundException
- Specified by:
load in class MBPersistencer
- Throws:
IOException
ClassNotFoundException
Copyright © 2014. All Rights Reserved.