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_". | 
| static boolean | isURI(String id)True if id starts with a standard URI prefix (http, ftp, https) followed by a ":". | 
| String | translateIdToIRIString(String id) | 
| static String | translateIRI(IRI iri) | 
@Nullable public static String translateIRI(IRI iri)
iri - iri@Nullable public String translateIdToIRIString(@Nonnull String id)
id - idpublic static boolean isURI(@Nonnull String id)
id - idCopyright © 2020 The University of Manchester. All rights reserved.