|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.ibm.as400.access.PrintObjectList
|
+--com.ibm.as400.access.AFPResourceList
The AFPResourceList class is used to build a list of AS/400 AFP resource objects of type AFPResource. The list can be filtered by library and resource name, by resource type and by spooled file (list only resources used by a particular spooled file). In addition, font resources may be filtered by pel density. To list and use AFP resources, your AS/400 must be at V3R7 or later.
AFPResource, Serialized Form| Constructor Summary | |
AFPResourceList()
Constructs an AFPResourceList. |
|
AFPResourceList(AS400 system)
Constructs an AFPResourceList. |
|
| Method Summary | |
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AFPResourceList()
PrintObjectList.setSystem(com.ibm.as400.access.AS400)public AFPResourceList(AS400 system)
system - The AS/400 on which the AFP resources exist.| Method Detail |
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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||