com.hp.hpl.mesa.rdf.jena.common
Class  Util
java.lang.Object
  |
  +--com.hp.hpl.mesa.rdf.jena.common.Util
- public class Util
- extends java.lang.Object
  
Some utility functions.
- Version: 
 - Release='$Name:  $' Revision='$Revision: 1.2 $' Date='$Date: 2001/12/06 18:41:34 $'
 
- Author: 
 - bwm
 
| 
Field Summary | 
static java.lang.String | 
CLASSPATH
 
            | 
 
| 
Constructor Summary | 
Util()
 
            | 
 
| 
Method Summary | 
static java.lang.String | 
replace(java.lang.String s,
        java.lang.String oldString,
        java.lang.String newString)
 
            | 
static int | 
splitNamespace(java.lang.String uri)
 
          Given a URI, determine the split point between the namespace part
 and the localname part. | 
static java.lang.String | 
substituteStandardEntities(java.lang.String s)
 
            | 
 
| Methods inherited from class java.lang.Object | 
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
CLASSPATH
public static final java.lang.String CLASSPATH
Util
public Util()
splitNamespace
public static int splitNamespace(java.lang.String uri)
- Given a URI, determine the split point between the namespace part
 and the localname part.
 
FIXME: This code does not fully implement the check.  This code does
   not check for all the characters that can be in a localname.  Check
   the XML namespace spec for details.
 
- Parameters:
 uri -  - Returns:
 - the index of the first character of the localname
 
 
 
substituteStandardEntities
public static java.lang.String substituteStandardEntities(java.lang.String s)
replace
public static java.lang.String replace(java.lang.String s,
                                       java.lang.String oldString,
                                       java.lang.String newString)
Copyright © 2001 Hewlett-Packard. All Rights Reserved.