|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nih.nci.evs.util.PrintUtils
public class PrintUtils
PrintUtils consists of methods that prints data to a Standard Output Device.
Constructor Summary | |
---|---|
PrintUtils()
|
Method Summary | |
---|---|
java.util.List |
addClassToList(java.lang.Object result,
java.util.List classList)
Adds the current class to a list. |
java.lang.reflect.Field[] |
getAllFields(java.lang.Class resultClass)
Gets all the fields of a given class |
java.lang.reflect.Method[] |
getAllMethods(java.lang.Class resultClass)
Gets all the methods of a given class |
void |
printDLC(DescLogicConcept dlc)
Prints the specified DescLogicConcept on to the standard output device |
void |
printDLC(DescLogicConcept dlc,
java.lang.String tab)
Prints the specified DescLogicConcept on to the standard output device |
void |
printDLTree(java.util.List evsResults)
Prints the DescLogicConcepts tree on the Standard Output Device |
void |
printDLTree(java.util.List evsResults,
int levels)
Prints the DescLogicConcepts tree on the Standard Output Device |
void |
printEVSResults(java.util.List evsResults)
Prints the contents of the given result list on a standard output device |
java.util.List |
printObject(java.lang.Object result,
java.util.List classList)
Sends and object to a Standard Output Device |
void |
printResults(java.util.List resultList)
Prints the objects in a given list |
void |
printTree(java.util.List resultList)
Prints the objects in a given list along with it's child objects |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PrintUtils()
Method Detail |
---|
public void printTree(java.util.List resultList)
resultList
- Specifies the objects that needs to be printed
returnpublic java.util.List printObject(java.lang.Object result, java.util.List classList)
result
- Specifies the object that needs to be printedclassList
- Specifies the path from root to the current object
returnpublic java.util.List addClassToList(java.lang.Object result, java.util.List classList)
result
- Specifies the objectclassList
- Specifies the path from root to the current object
returnpublic void printResults(java.util.List resultList)
resultList
- Specifies the objects that needs to printed
returnpublic java.lang.reflect.Field[] getAllFields(java.lang.Class resultClass)
resultClass
- - Specifies the class name
public java.lang.reflect.Method[] getAllMethods(java.lang.Class resultClass)
resultClass
- - Specifies the class name
public void printDLC(DescLogicConcept dlc, java.lang.String tab)
dlc
- - specifies the DescLogicConcept objectpublic void printDLC(DescLogicConcept dlc)
dlc
- - specifies the DescLogicConcept objectpublic void printDLTree(java.util.List evsResults)
evsResults
- - Results listpublic void printDLTree(java.util.List evsResults, int levels)
evsResults
- - Specifies the results list that holds the DescLogicConcept treepublic void printEVSResults(java.util.List evsResults)
evsResults
- - Specifies the results that need to be printed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |