Serializablepublic class AFPResourceList extends PrintObjectList<AFPResource> implements Serializable
AFPResource,
Serialized Form| Constructor | Description |
|---|---|
AFPResourceList() |
Constructs an AFPResourceList.
|
AFPResourceList(AS400 system) |
Constructs an AFPResourceList.
|
| Modifier and Type | Method | Description |
|---|---|---|
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(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, getObjectsList, getSystem, isCompleted, openAsynchronously, openSynchronously, removePrintObjectListListener, removePropertyChangeListener, removeVetoableChangeListener, resetAttributesToRetrieve, resetFilter, setAttributesToRetrieve, setCache, setSystem, size, waitForItem, waitForListToCompletepublic AFPResourceList()
public AFPResourceList(AS400 system)
system - The system on which the AFP resources exist.public String getResourceFilter()
public SpooledFile getSpooledFileFilter()
public void setResourceFilter(String resourceFilter) throws 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:
PropertyVetoException - If the change is vetoed.public void setSpooledFileFilter(SpooledFile spooledFileFilter) throws PropertyVetoException
spooledFileFilter - The spooled file for which
the resources will be listed.PropertyVetoException - If the change is vetoed.Copyright © 2024. All rights reserved.