com.ibm.as400.access
Class PrinterFileList
- java.lang.Object
-
- com.ibm.as400.access.PrintObjectList
-
- com.ibm.as400.access.PrinterFileList
-
- All Implemented Interfaces:
- java.io.Serializable
public class PrinterFileList extends PrintObjectList implements java.io.Serializable
The PrinterFileList class is used to build a list of objects of type PrinterFile. The list can be filtered by library and printer file name.- See Also:
PrinterFile
, Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description PrinterFileList()
Constructs a PrinterFileList object.PrinterFileList(AS400 system)
Constructs a PrinterFileList object.
-
Method Summary
Methods Modifier and Type Method and Description java.lang.String
getPrinterFileFilter()
Returns the printer file list filter.void
setPrinterFileFilter(java.lang.String printerFileFilter)
Sets the printer file list filter.-
Methods inherited from class com.ibm.as400.access.PrintObjectList
addPrintObjectListListener, addPropertyChangeListener, addVetoableChangeListener, close, getObject, getObjects, getSystem, isCompleted, openAsynchronously, openSynchronously, removePrintObjectListListener, removePropertyChangeListener, removeVetoableChangeListener, resetAttributesToRetrieve, resetFilter, setAttributesToRetrieve, setCache, setSystem, size, waitForItem, waitForListToComplete
-
-
-
-
Constructor Detail
-
PrinterFileList
public PrinterFileList()
Constructs a PrinterFileList object. The 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.
-
PrinterFileList
public PrinterFileList(AS400 system)
Constructs a PrinterFileList object. It uses the system name specified.- Parameters:
system
- The system on which the printer files exists.
-
-
Method Detail
-
getPrinterFileFilter
public java.lang.String getPrinterFileFilter()
Returns the printer file list filter.- Returns:
- The printer file list filter.
-
setPrinterFileFilter
public void setPrinterFileFilter(java.lang.String printerFileFilter) throws java.beans.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.
- Throws:
java.beans.PropertyVetoException
- If the change is vetoed.
-
-