com.ibm.jtopenlite.components

Class ListSpooledFiles

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


  • public class ListSpooledFiles
    extends java.lang.Object
    Represents the information returned by the WRKSPLF command, but uses the OpenListOfSpooledFiles classes to obtain it.
    • Constructor Detail

      • ListSpooledFiles

        public ListSpooledFiles()
    >
    • Method Detail

      • getSpooledFiles

        public SpooledFileInfo[] getSpooledFiles(CommandConnection conn)
                                          throws java.io.IOException
        Returns an array of spooled files for the current user, similar to the way WRKSPLF does. The various SpooledFileInfo.toString() methods print the fields the way WRKSPLF does.
        Parameters:
        conn - The connection to use.
        Throws:
        java.io.IOException
      • getSpooledFiles

        public SpooledFileInfo[] getSpooledFiles(CommandConnection conn,
                                        java.lang.String user)
                                          throws java.io.IOException
        Returns an array of spooled files for the specified user, similar to the way WRKSPLF does. The various SpooledFileInfo.toString() methods print the fields the way WRKSPLF does.
        Parameters:
        conn - The connection to use.
        user - The user name, or *CURRENT, or *ALL.
        Throws:
        java.io.IOException