com.ibm.jtopenlite.components
Class ListObjects
java.lang.Object
com.ibm.jtopenlite.components.ListObjects
public class ListObjects
- extends Object
Represents the information returned by the WRKOBJ command, but uses the OpenListOfObjects classes to obtain it.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListObjects
public ListObjects()
getObjects
public ObjectInfo[] getObjects(CommandConnection conn,
String name,
String library,
String type)
throws IOException
- Returns an array of objects, sorted by library list order and object name, the way WRKOBJ does.
ObjectInfo.toString() prints the fields the way WRKJOB does.
- Parameters:
conn - The connection to use.name - The object name for which to search. For example, "CRT*".library - The library name in which to search. For example, "*LIBL".type - The object type for which to search. For example, "*CMD".
- Throws:
IOException