public class ListObjects
extends java.lang.Object
Constructor and Description |
---|
ListObjects() |
Modifier and Type | Method and Description |
---|---|
ObjectInfo[] |
getObjects(CommandConnection conn,
java.lang.String name,
java.lang.String library,
java.lang.String type)
Returns an array of objects, sorted by library list order and object name, the way WRKOBJ does.
|
public ObjectInfo[] getObjects(CommandConnection conn, java.lang.String name, java.lang.String library, java.lang.String type) throws java.io.IOException
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".java.io.IOException