Package org.aksw.iguana.rp.storage
Class StorageManager
- java.lang.Object
-
- org.aksw.iguana.rp.storage.StorageManager
-
public class StorageManager extends java.lang.Object
Manager for Storages- Author:
- f.conrads
-
-
Constructor Summary
Constructors Constructor Description StorageManager()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addData(org.apache.jena.rdf.model.Model m)
Simply adds a Modelvoid
addMetaData(java.util.Properties p)
Will add the MetaData to each Storagevoid
addStorage(Storage storage)
Will add the Storagevoid
addStorages(java.util.List<Storage> storages)
void
commit()
Will call the commit method of each storagevoid
endTask(java.lang.String taskID)
static StorageManager
getInstance()
java.util.Set<Storage>
getStorages()
Will return each Storagejava.lang.String
toString()
-
-
-
Method Detail
-
getInstance
public static StorageManager getInstance()
-
addStorage
public void addStorage(Storage storage)
Will add the Storage- Parameters:
storage
-
-
getStorages
public java.util.Set<Storage> getStorages()
Will return each Storage- Returns:
-
addData
public void addData(org.apache.jena.rdf.model.Model m)
Simply adds a Model- Parameters:
m
-
-
addMetaData
public void addMetaData(java.util.Properties p)
Will add the MetaData to each Storage- Parameters:
p
-
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
commit
public void commit()
Will call the commit method of each storage
-
endTask
public void endTask(java.lang.String taskID)
-
addStorages
public void addStorages(java.util.List<Storage> storages)
-
-