Login | Register
My pages Projects Community openCollabNet

The Tigris site will receive a major upgrade the evening of Monday, December 1, beginning at 8:30 pm PST. Downtime is projected to be about ten hours. Further details in the announcement


jmt.codebase.io
Interface Resources


public interface Resources

Describes a Iterator of one or more resources.

The Resources type is used to implement diffrent bundles of resources like archives such as jar-files or directories with there substructures.

Author:
Martin Kersten

Method Summary
 boolean hasNext()
          Returns true if there is one more resource available.
 Resource next()
          Returns the next resource.
 

Method Detail

hasNext

public boolean hasNext()
                throws java.io.IOException
Returns true if there is one more resource available.

Returns:
true if there is one more resource available
Throws:
java.io.IOException - If an i/o-error occured.

next

public Resource next()
              throws java.io.IOException
Returns the next resource.

Returns:
The next resource
Throws:
NoSuchElementException - If there is no additional resource available.
java.io.IOException - If an i/o-error occured.
See Also:
hasNext()