public class IdTranslator extends Object
| Constructor and Description |
|---|
IdTranslator() |
| Modifier and Type | Method and Description |
|---|---|
String |
expandPrefix(String prefix)
Expands an OBO prefix such as "GO" to
"http://purl.obolibrary.org/obo/GO_".
|
boolean |
isURI(String id)
True if id starts with a standard URI prefix (http, ftp, https) followed
by a ":".
|
String |
translateIdToIRIString(String id) |
String |
translateIRI(org.semanticweb.owlapi.model.IRI iri) |
public String translateIRI(org.semanticweb.owlapi.model.IRI iri)
iri - iripublic String translateIdToIRIString(String id)
id - idpublic boolean isURI(String id)
id - idCopyright © 2010-2014 The University of Manchester. All Rights Reserved.