All Packages Class Hierarchy This Package Previous Next Index
Class com.ibm.as400.access.PrinterFileList
java.lang.Object
|
+----com.ibm.as400.access.PrintObjectList
|
+----com.ibm.as400.access.PrinterFileList
- public class PrinterFileList
- extends PrintObjectList
- implements Serializable
The PrinterFileList class is used to build a list of AS/400 printer file objects of type PrinterFile.
The list can be filtered by library and printer file name.
- See Also:
- PrinterFile
-
PrinterFileList()
- Constructs a PrinterFileList object.
-
PrinterFileList(AS400)
- Constructs a PrinterFileList object.
-
getPrinterFileFilter()
- Returns the printer file list filter.
-
setPrinterFileFilter(String)
- Sets the printer file list filter.
PrinterFileList
public PrinterFileList()
- Constructs a PrinterFileList object. The AS/400 system must
be set later. This constructor is provided for visual application
builders that support JavaBeans. It is not intended for use
by application programmers.
- See Also:
- setSystem
PrinterFileList
public PrinterFileList(AS400 system)
- Constructs a PrinterFileList object. It uses the system name specified.
- Parameters:
- system - The AS/400 on which the printer files exists.
getPrinterFileFilter
public String getPrinterFileFilter()
- Returns the printer file list filter.
- Returns:
- The printer file list filter.
setPrinterFileFilter
public void setPrinterFileFilter(String printerFileFilter) throws PropertyVetoException
- Sets the printer file list filter.
- Parameters:
- printerFileFilter - The library and printer files to list.
The format of the printerFileFilter string must be in the
format of /QSYS.LIB/libname.LIB/printerfilename.FILE, where
libname is the library name that contains the printer files to search.
It can be a specific name or one of these special values:
- %ALL% - All libraries are searched.
- %ALLUSR% - All user-defined libraries, plus libraries containing user data
and having names starting with the letter Q.
- %CURLIB% - The server job's current library.
- %LIBL% - The server job's library list.
- %USRLIBL% - The user portion of the server job's library list.
printerfilename is the name of the printer files to list.
It can be a specific name, a generic name, or the special value %ALL%.
The default for the library is %LIBL% and for the printer file name is %ALL%.
- Throws: PropertyVetoException
- If the change is vetoed.
All Packages Class Hierarchy This Package Previous Next Index