org.semanticweb.owl.util
Class OWLEntityURIUnderscores2CamelBackConverterStrategy
java.lang.Object
org.semanticweb.owl.util.OWLEntityURIUnderscores2CamelBackConverterStrategy
- All Implemented Interfaces:
- OWLEntityURIConverterStrategy
public class OWLEntityURIUnderscores2CamelBackConverterStrategy
- extends java.lang.Object
- implements OWLEntityURIConverterStrategy
Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 25-Nov-2007
Converts the entity URI fragment or last path element if the
fragment is not present to Camel Case. For example, if
the URI is http://another.com/pathA/pathB#has_part then this will
be converted to http://another.com/pathA/pathB#hasPart
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OWLEntityURIUnderscores2CamelBackConverterStrategy
public OWLEntityURIUnderscores2CamelBackConverterStrategy()
getConvertedURI
public java.net.URI getConvertedURI(OWLEntity entity)
- Specified by:
getConvertedURI
in interface OWLEntityURIConverterStrategy
main
public static void main(java.lang.String[] args)