|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.openi.util.Util
public class Util
| Constructor Summary | |
|---|---|
Util()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
Document2String(org.w3c.dom.Document elem)
|
static java.lang.String |
getFileContents(java.lang.String fileNamePath)
Fetch the entire contents of a text file, and return it in a String. |
static boolean |
isItemInList(java.lang.String item,
java.lang.String items)
Checks whether the item is in comma separated list of items. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Util()
| Method Detail |
|---|
public static boolean isItemInList(java.lang.String item,
java.lang.String items)
item - Stringitems - String
public static java.lang.String getFileContents(java.lang.String fileNamePath)
throws java.io.FileNotFoundException,
java.io.IOException
fileNamePath - is a file name including path which already exists and can be read.
java.io.FileNotFoundException
java.io.IOExceptionpublic static java.lang.String Document2String(org.w3c.dom.Document elem)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||