project35.soa.ontology.sources
Class OntologyTermUtility
java.lang.Object
project35.soa.ontology.sources.OntologyTermUtility
public class OntologyTermUtility
- extends java.lang.Object
This class is used to create ontology term identifiers and extract terms from
identifiers; also used to create provenance terms given ontology terms.
this class is evolving to take on more convenience methods used in the ontology
packages
Copyright (c) 2008 Kevin Garwood for Project35. The original code was
developed by Kevin Garwood for the University of Manchester. Revisions
have been made for Project35, a project that is independent of that
institution. This code is licensed under the Academic Free License
version 3.0. The code attribution for the original code is included here:
Copyright (c) Kevin Garwood and University of Manchester 2007.
All rights reserved. Licensed under the Academic Free License
version 3.0. For more information on the terms and conditions,
please see the file "LICENSE" that is included in this distribution.
- Version:
- 1.0
- Author:
- Kevin Garwood (kgarwood@users.sourceforge.net)
Method Summary |
static java.lang.String |
createIdentifier(java.io.File file,
java.lang.String term)
|
static java.lang.String |
createIdentifier(java.lang.String file,
java.lang.String term)
|
static java.lang.String |
createIdentifier(java.net.URL url,
java.lang.String term)
|
static java.lang.String |
extractTerm(java.lang.String identifier)
|
static java.lang.String |
extractTerm(java.net.URL url)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OntologyTermUtility
public OntologyTermUtility()
createIdentifier
public static java.lang.String createIdentifier(java.lang.String file,
java.lang.String term)
createIdentifier
public static java.lang.String createIdentifier(java.io.File file,
java.lang.String term)
createIdentifier
public static java.lang.String createIdentifier(java.net.URL url,
java.lang.String term)
extractTerm
public static java.lang.String extractTerm(java.net.URL url)
extractTerm
public static java.lang.String extractTerm(java.lang.String identifier)