public interface OBOHistoryLoader extends Loader
Modifier and Type | Method and Description |
---|---|
void |
load(java.net.URI source,
boolean stopOnErrors,
boolean async)
Load history from a candidate resource.
|
void |
validate(java.net.URI source,
int validationLevel)
Validate history for a candidate resource without performing a load.
|
clearLog, getCodingSchemeManifest, getCodingSchemeManifestURI, getCodingSchemeReferences, getLoaderPreferences, getLog, getOntologyFormat, getOptions, getStatus, load, setCodingSchemeManifest, setCodingSchemeManifestURI, setLoaderPreferences, setLoaderPreferences
getDescription, getName, getProvider, getVersion
void load(java.net.URI source, boolean stopOnErrors, boolean async) throws LBException
source
- URI corresponding to the history file.stopOnErrors
- True means stop if any load error is detected. False means
attempt to load what can be loaded if recoverable errors are
encountered.async
- Flag controlling whether load occurs in the calling thread.
If true, the load will occur in a separate asynchronous process.
If false, this method blocks until the load operation
completes or fails. Regardless of setting, the getStatus and
getLog calls are used to fetch results.LBException
void validate(java.net.URI source, int validationLevel) throws LBException
source
- URI corresponding to the history file.validationLevel
- Supported levels of validation include: 0 = Verify file format
is valid.LBException