com.ibm.jtopenlite.components

Class ListObjects

  • java.lang.Object
    • com.ibm.jtopenlite.components.ListObjects


  • public class ListObjects
    extends java.lang.Object
    Represents the information returned by the WRKOBJ command, but uses the OpenListOfObjects classes to obtain it.
    • Constructor Summary

      Constructors 
      Constructor and Description
      ListObjects() 
    • Method Summary

      Methods 
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ListObjects

        public ListObjects()
    • Method Detail

      • getObjects

        public ObjectInfo[] getObjects(CommandConnection conn,
                              java.lang.String name,
                              java.lang.String library,
                              java.lang.String type)
                                throws java.io.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:
        java.io.IOException