Package gov.nasa.pds.web.ui.utils
Class DataSetValidator
java.lang.Object
java.util.Observable
gov.nasa.pds.web.ui.utils.DataSetValidator
public class DataSetValidator extends Observable
-
Field Summary
Fields Modifier and Type Field Description protected gov.nasa.pds.tools.dict.Dictionary
dictionary
protected ValidationResults
results
-
Constructor Summary
Constructors Constructor Description DataSetValidator(String procId, File baseDirectory)
DataSetValidator(String procId, File baseDirectory, StatusContainer status)
-
Method Summary
Modifier and Type Method Description static gov.nasa.pds.tools.dict.Dictionary
getMasterDictionary()
static gov.nasa.pds.tools.dict.Dictionary
getMasterDictionaryCopy()
ValidationResults
getResults()
StatusContainer
getStatus()
protected void
initDictionary()
static void
initMasterDDSerialized()
protected static void
initMasterDictionary()
static void
initMasterDictionary(URL dictionaryURL)
void
sendBucket()
protected void
setVolume(File baseDir)
void
validate()
protected LabelContainer
validateLabel(File labelFile)
protected LabelContainer
validateLabel(File labelFile, boolean forceValidate)
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
-
Field Details
-
dictionary
protected gov.nasa.pds.tools.dict.Dictionary dictionary -
results
-
-
Constructor Details
-
DataSetValidator
-
DataSetValidator
-
-
Method Details
-
getStatus
-
setVolume
-
validate
- Throws:
CancelledException
-
getResults
-
sendBucket
public void sendBucket() -
validateLabel
-
validateLabel
-
initDictionary
protected void initDictionary() -
initMasterDictionary
-
initMasterDictionary
protected static void initMasterDictionary() -
getMasterDictionary
public static gov.nasa.pds.tools.dict.Dictionary getMasterDictionary() -
initMasterDDSerialized
public static void initMasterDDSerialized() -
getMasterDictionaryCopy
public static gov.nasa.pds.tools.dict.Dictionary getMasterDictionaryCopy()
-