Resource lists

The Resource package and its classes have been deprecated. You are advised to use the Access package instead.

The com.ibm.as400.resource.ResourceList class represents a list of iSeries™ resources. This is an abstract class which provides generic access to the contents of the list.

IBM® Toolbox for Java™ provides the following resource lists:

A resource list is always either open or closed. The resource list must be open in order to access its contents. In order to provide immediate access to the contents of the list and manage memory efficiently, most resource lists are loaded incrementally.

Resource lists allow you to:

You can also filter resource lists by using selection values. Every selection value is identified using a selection ID. Similarly, resource lists can be sorted using sort values. Every sort value is identified using a sort ID. Any given subclass of ResourceList will normally document the selection IDs and sort IDs that it supports.

Examples

The following examples show various ways of working with resource lists:

Code example disclaimer

The following disclaimer applies to all of the IBM Toolbox for Java examples:

IBM grants you a nonexclusive copyright license to use all programming code examples from which you can generate similar function tailored to your own specific needs.

All sample code is provided by IBM for illustrative purposes only. These examples have not been thoroughly tested under all conditions. IBM, therefore, cannot guarantee or imply reliability, serviceability, or function of these programs.

All programs contained herein are provided to you "AS IS" without any warranties of any kind. The implied warranties of non-infringement, merchantability and fitness for a particular purpose are expressly disclaimed.