|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mindswap.utils.NewUtils
Title:
Description:
Copyright: Copyright (c) 2005
Company: MIndswap (http://www.mindswap.org)
| Constructor Summary | |
NewUtils()
|
|
| Method Summary | |
static int[] |
addToIntArray(int theElem,
int[] theIntList)
Adds an int to an int array. |
static java.util.Set |
collectResourcesFromRDFList(Resource theList)
|
static boolean |
isInArray(int theElem,
int[] theArray)
Returns true or false depending on whether or not the specified string is in the array. |
static java.util.Iterator |
listClasses(Model theModel)
|
static java.util.Iterator |
listProperties(Model theModel)
|
static int[] |
readDelimitedIntegers(java.lang.String theString,
java.lang.String theDelims)
Given a string of delimited integers, return an int array. |
static int[] |
removeFromIntArray(int theElem,
int[] theIntList)
Removes an int to an int array. |
static java.lang.String |
replace(java.lang.String theHost,
java.lang.String theOldString,
java.lang.String theNewString)
Given a string, replace all occurances of one string with another. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public NewUtils()
| Method Detail |
public static int[] readDelimitedIntegers(java.lang.String theString,
java.lang.String theDelims)
throws java.lang.NumberFormatException
java.lang.NumberFormatException - if the string contents elements other than integers in the list
public static int[] removeFromIntArray(int theElem,
int[] theIntList)
public static int[] addToIntArray(int theElem,
int[] theIntList)
public static boolean isInArray(int theElem,
int[] theArray)
theElem - int to search fortheArray - int array to search through
public static java.lang.String replace(java.lang.String theHost,
java.lang.String theOldString,
java.lang.String theNewString)
public static java.util.Iterator listClasses(Model theModel)
public static java.util.Iterator listProperties(Model theModel)
public static java.util.Set collectResourcesFromRDFList(Resource theList)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||