Class PlexusIoProxyResourceCollection.FwdIterator
- java.lang.Object
-
- org.codehaus.plexus.components.io.resources.proxy.ForwardingIterator
-
- org.codehaus.plexus.components.io.resources.proxy.PlexusIoProxyResourceCollection.FwdIterator
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,java.util.Iterator<PlexusIoResource>
- Enclosing class:
- PlexusIoProxyResourceCollection
class PlexusIoProxyResourceCollection.FwdIterator extends ForwardingIterator
-
-
Field Summary
Fields Modifier and Type Field Description private FileSelector
fileSelector
(package private) java.util.Iterator<PlexusIoResource>
iter
private java.lang.String
prefix
-
Constructor Summary
Constructors Constructor Description FwdIterator(java.util.Iterator<PlexusIoResource> resources)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PlexusIoResource
getNextResource()
Returns the next resource or null if no next resource;-
Methods inherited from class org.codehaus.plexus.components.io.resources.proxy.ForwardingIterator
close, hasNext, next, remove
-
-
-
-
Field Detail
-
iter
java.util.Iterator<PlexusIoResource> iter
-
fileSelector
private final FileSelector fileSelector
-
prefix
private final java.lang.String prefix
-
-
Constructor Detail
-
FwdIterator
FwdIterator(java.util.Iterator<PlexusIoResource> resources)
-
-
Method Detail
-
getNextResource
protected PlexusIoResource getNextResource() throws java.io.IOException
Returns the next resource or null if no next resource;- Specified by:
getNextResource
in classForwardingIterator
- Throws:
java.io.IOException
-
-