Class CabEnumerator
public final class CabEnumerator implements Enumeration
{
// Methods
public boolean hasMoreElements();
public Object nextElement();
}
This class implements the Enumeration interface for cabinet files, allowing serial access to all of the items in the cabinet file.
public boolean hasMoreElements();
Determines whether the cabinet file contains more files than those already enumerated.
Return Value:
Returns true if there are more elements in the cabinet file; otherwise, returns false.
public Object nextElement();
Retrieves the next item in the cabinet file.
Return Value:
Returns the next element.