public class AFPResourceList extends PrintObjectList implements java.io.Serializable
AFPResource
,
Serialized FormConstructor and Description |
---|
AFPResourceList()
Constructs an AFPResourceList.
|
AFPResourceList(AS400 system)
Constructs an AFPResourceList.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getResourceFilter()
Returns the library, name, and resource type being used as a
resource list filter.
|
SpooledFile |
getSpooledFileFilter()
Returns the spooled file object being used as a
resource list filter.
|
void |
setResourceFilter(java.lang.String resourceFilter)
Sets resource list filter by library, name, and resource type.
|
void |
setSpooledFileFilter(SpooledFile spooledFileFilter)
Sets resource list filter by spooled file.
|
addPrintObjectListListener, addPropertyChangeListener, addVetoableChangeListener, close, getObject, getObjects, getSystem, isCompleted, openAsynchronously, openSynchronously, removePrintObjectListListener, removePropertyChangeListener, removeVetoableChangeListener, resetAttributesToRetrieve, resetFilter, setAttributesToRetrieve, setCache, setSystem, size, waitForItem, waitForListToComplete
public AFPResourceList()
public AFPResourceList(AS400 system)
system
- The system on which the AFP resources exist.public java.lang.String getResourceFilter()
public SpooledFile getSpooledFileFilter()
public void setResourceFilter(java.lang.String resourceFilter) throws java.beans.PropertyVetoException
resourceFilter
- The resources to list.
The format of the resourceFilter string must be in the
format of "/QSYS.LIB/libname.LIB/resource.type", where
resource is the name of the resource(s) to list.
It can be a specific name, a generic name, or the special value %ALL%.
type is the type of resource to list. It can be any of these
special values:
java.beans.PropertyVetoException
- If the change is vetoed.public void setSpooledFileFilter(SpooledFile spooledFileFilter) throws java.beans.PropertyVetoException
spooledFileFilter
- The spooled file for which
the resources will be listed.java.beans.PropertyVetoException
- If the change is vetoed.