|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.as400.access.PrintObjectList
com.ibm.as400.access.AFPResourceList
public class AFPResourceList
The AFPResourceList class is used to build a list of IBM i 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 system operating system must be at V3R7 or later.
AFPResource
,
Serialized FormConstructor Summary | |
---|---|
AFPResourceList()
Constructs an AFPResourceList. |
|
AFPResourceList(AS400 system)
Constructs an AFPResourceList. |
Method Summary | |
---|---|
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. |
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 system on which the AFP resources exist.Method Detail |
---|
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |