project35.soa.ontology.sources
Class TermIdentifierUtility
java.lang.Object
project35.soa.ontology.sources.TermIdentifierUtility
public class TermIdentifierUtility
- extends java.lang.Object
This class is used to create ontology term identifiers and
extract terms from identifiers.
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),
code contributions from 2002 - September 30, 2007.
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 |
TermIdentifierUtility
public TermIdentifierUtility()
extractTerm
public static java.lang.String extractTerm(java.net.URL url)
extractTerm
public static java.lang.String extractTerm(java.lang.String identifier)
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)