|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.as400.resource.ResourceList
com.ibm.as400.resource.ArrayResourceList
public class ArrayResourceList
The ArrayResourceList class represents a subclass
of the ResourceList
class which manages a list of resources predefined as an array
of Resource
objects.
Constructor Summary | |
---|---|
ArrayResourceList(Resource[] resources,
Presentation presentation,
ResourceMetaData[] attributeMetaData)
Deprecated. Constructs a ArrayResourceList object. |
Method Summary | |
---|---|
void |
open()
Deprecated. Opens the list. |
Resource |
resourceAt(long index)
Deprecated. Returns the resource specified by the index. |
protected void |
setArray(Resource[] resources)
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ArrayResourceList(Resource[] resources, Presentation presentation, ResourceMetaData[] attributeMetaData)
resources
- The array of Resource objects.presentation
- The presentation.attributeMetaData
- The attribute meta data, or null if not applicable.Method Detail |
---|
public void open() throws ResourceException
open
in class ResourceList
ResourceException
- If an error occurs.public Resource resourceAt(long index) throws ResourceException
This will implicitly open the list if needed.
resourceAt
in class ResourceList
index
- The index.
ResourceException
- If an error occurs.protected void setArray(Resource[] resources)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |