de.viaboxx.nlstools.formats
Class MBPersistencer

java.lang.Object
  extended by de.viaboxx.nlstools.formats.MBPersistencer
Direct Known Subclasses:
MBExcelPersistencer, MBInMemoryPersistencer, MBJSONPersistencer, MBXMLPersistencer

public abstract class MBPersistencer
extends Object

Description:
User: roman.stumm
Date: 29.12.2010
Time: 16:41:46
viaboxx GmbH, 2010


Constructor Summary
MBPersistencer()
           
 
Method Summary
static MBPersistencer forFile(File aFile)
           
static MBPersistencer forFile(String aFile)
           
abstract  MBBundles load(File source)
           
static MBBundles loadFile(File aFile)
           
abstract  void save(MBBundles obj, File target)
           
static void saveFile(MBBundles obj, File aFile)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MBPersistencer

public MBPersistencer()
Method Detail

save

public abstract void save(MBBundles obj,
                          File target)
                   throws Exception
Throws:
Exception

load

public abstract MBBundles load(File source)
                        throws Exception
Throws:
Exception

forFile

public static MBPersistencer forFile(String aFile)

forFile

public static MBPersistencer forFile(File aFile)

loadFile

public static MBBundles loadFile(File aFile)
                          throws Exception
Throws:
Exception

saveFile

public static void saveFile(MBBundles obj,
                            File aFile)
                     throws Exception
Throws:
Exception


Copyright © 2011. All Rights Reserved.