fr.lri.bd.olap.model
Class DatamartUtils

java.lang.Object
  extended by fr.lri.bd.olap.model.DatamartUtils

public class DatamartUtils
extends Object

Various standard utils used for datamarts

Author:
holubec

Constructor Summary
DatamartUtils()
           
 
Method Summary
static Datamart loadDatamart(OlapTree originalTree, String fileName)
          Load datamart from the file
static void saveDatamart(Datamart datamart, String fileName)
          Save datamart into the file
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatamartUtils

public DatamartUtils()
Method Detail

saveDatamart

public static void saveDatamart(Datamart datamart,
                                String fileName)
Save datamart into the file

Parameters:
datamart - specified datamart
fileName - path to file

loadDatamart

public static Datamart loadDatamart(OlapTree originalTree,
                                    String fileName)
Load datamart from the file

Parameters:
originalTree - original Olap tree of datamart
fileName - path to file
Returns:
Datamart object from file