com.ibm.as400.resource

Class ArrayResourceList

  • All Implemented Interfaces:
    java.io.Serializable

    Deprecated. 
    Use packages com.ibm.as400.access and com.ibm.as400.access.list instead.

    public class ArrayResourceList
    extends ResourceList
    The ArrayResourceList class represents a subclass of the ResourceList class which manages a list of resources predefined as an array of Resource objects.
    See Also:
    Serialized Form
    • Constructor Detail

      • ArrayResourceList

        public ArrayResourceList(Resource[] resources,
                         Presentation presentation,
                         ResourceMetaData[] attributeMetaData)
        Deprecated. 
        Constructs a ArrayResourceList object.
        Parameters:
        resources - The array of Resource objects.
        presentation - The presentation.
        attributeMetaData - The attribute meta data, or null if not applicable.
    • Method Detail

      • open

        public void open()
                  throws ResourceException
        Deprecated. 
        Opens the list. The list must be open in order to perform most operations. This method has no effect if the list is already opened.
        Overrides:
        open in class ResourceList
        Throws:
        ResourceException - If an error occurs.
      • resourceAt

        public Resource resourceAt(long index)
                            throws ResourceException
        Deprecated. 
        Returns the resource specified by the index.

        This will implicitly open the list if needed.

        Overrides:
        resourceAt in class ResourceList
        Parameters:
        index - The index.
        Returns:
        The resource specified by the index, or null if the resource is not yet available.
        Throws:
        ResourceException - If an error occurs.
      • setArray

        protected void setArray(Resource[] resources)
        Deprecated.