|
DLESE Tools v1.6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.dlese.dpc.repository.OAISetsXMLConfigManager
public class OAISetsXMLConfigManager
Reads and writes the XML configuration file used to define OAI sets in the RepositoryManager. See
sample ListSets XML config file .
| Method Summary | |
|---|---|
static SetDefinitionsForm |
getSetDefinitionsForm(String listSetsXml,
String setSpec)
Reads the ListSets config XML to extract the set definition for a given set into a SetDefinitionsForm bean. |
static boolean |
removeOAISetSpecDefinition(File setsConfigFile,
String setSpec)
Removes the given OAI set definition from the ListSets config XML file and writes it to disc. |
static void |
setDebug(boolean db)
Sets the debug attribute of the object |
static void |
setOAISetSpecDefinition(File setsConfigFile,
SetDefinitionsForm sb)
Sets the definition for a given OAI set, writing the ListSets config XML to file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static SetDefinitionsForm getSetDefinitionsForm(String listSetsXml,
String setSpec)
throws Exception
listSetsXml - The ListSets config XML to readsetSpec - The setSpec to read
Exception - If error parsing the XML
public static boolean removeOAISetSpecDefinition(File setsConfigFile,
String setSpec)
throws Exception
setsConfigFile - The ListSets config filesetSpec - The set to remove
Exception - If error
public static void setOAISetSpecDefinition(File setsConfigFile,
SetDefinitionsForm sb)
throws Exception
setsConfigFile - File to read/writesb - The bean that contains the set definition values
Exception - If errorpublic static void setDebug(boolean db)
db - The new debug value
|
DLESE Tools v1.6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||