|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OBO_Loader
Validates and/or loads content provided in OBO text format.
Method Summary | |
---|---|
java.lang.String |
getOBOVersion()
Return the OBO text file version that is supported by the loader. |
void |
load(java.net.URI source,
java.net.URI metaSource,
boolean stopOnErrors,
boolean async)
Load content from a candidate resource. |
void |
validate(java.net.URI source,
java.net.URI metaSource,
int validationLevel)
Validate content for a candidate resource without performing a load. |
Methods inherited from interface org.LexGrid.LexBIG.Extensions.Load.Loader |
---|
clearLog, getCodingSchemeManifest, getCodingSchemeManifestURI, getCodingSchemeReferences, getLoaderPreferences, getLog, getStatus, setCodingSchemeManifest, setCodingSchemeManifestURI, setLoaderPreferences, setLoaderPreferences |
Methods inherited from interface org.LexGrid.LexBIG.Extensions.Extendable |
---|
getDescription, getName, getProvider, getVersion |
Method Detail |
---|
java.lang.String getOBOVersion()
void load(java.net.URI source, java.net.URI metaSource, boolean stopOnErrors, boolean async) throws LBException
source
- URI corresponding to the OBO file.metaSource
- URI corresponding to the OBO metadata XML file. Optional.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, java.net.URI metaSource, int validationLevel) throws LBException
source
- URI corresponding to the OBO file.metaSource
- URI corresponding to the OBO metadata XML file. Optional.validationLevel
- Supported levels of validation include: 0 = Verify the source file
conforms to the OBO format, and the metadata file conforms to the
OBO metadata format.
LBException
LBException
|
Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |