kaos.autonomy.utility
Class SituationReasoningTools

java.lang.Object
  extended by kaos.autonomy.utility.SituationReasoningTools

public class SituationReasoningTools
extends java.lang.Object


Constructor Summary
SituationReasoningTools()
           
 
Method Summary
static java.util.Vector divideStringWithSpecialCharacters(java.lang.String tempString)
           
static java.lang.String stripAllOntologyURLs(java.lang.String tempString)
          Remove all URI prefixs in the : http://....#ClassifyObject -> ClassifyObject
static java.lang.String stripNamePrefix(java.lang.String tempString)
           
static java.lang.String stripOntologyURL(java.lang.String tempString)
          Remove the URI prefix: http://....#ClassifyObject -> ClassifyObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SituationReasoningTools

public SituationReasoningTools()
Method Detail

stripOntologyURL

public static java.lang.String stripOntologyURL(java.lang.String tempString)
Remove the URI prefix: http://....#ClassifyObject -> ClassifyObject

Parameters:
tempString - String with a URI prefix
Returns:
String

stripNamePrefix

public static java.lang.String stripNamePrefix(java.lang.String tempString)

stripAllOntologyURLs

public static java.lang.String stripAllOntologyURLs(java.lang.String tempString)
Remove all URI prefixs in the : http://....#ClassifyObject -> ClassifyObject

Parameters:
tempString - strings with URI prefixes separated by space or algebraic symbols (+, *, -, /)
Returns:
String

divideStringWithSpecialCharacters

public static java.util.Vector divideStringWithSpecialCharacters(java.lang.String tempString)