org.farng.mp3.filename
Class FilenameDelimiterIterator

java.lang.Object
  extended by org.farng.mp3.filename.FilenameDelimiterIterator
All Implemented Interfaces:
java.util.Iterator

public class FilenameDelimiterIterator
extends java.lang.Object
implements java.util.Iterator

This class is an iterator for the FilenameDelimiter class.

Version:
$Revision: 3 $
Author:
Eric Farng

Constructor Summary
FilenameDelimiterIterator(FilenameDelimiter filenameDelimiter)
          Creates a new FilenameDelimiterIterator object.
 
Method Summary
 boolean hasNext()
          Returns true if the iteration has more elements.
 java.lang.Object next()
          Returns the next element in the iteration.
 void remove()
          This method is not supported in this iterator.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilenameDelimiterIterator

public FilenameDelimiterIterator(FilenameDelimiter filenameDelimiter)
Creates a new FilenameDelimiterIterator object.

Parameters:
filenameDelimiter - FilenameDelimiter to create an interator from.
Method Detail

hasNext

public boolean hasNext()
Returns true if the iteration has more elements. (In other words, returns true if next would return an element rather than throwing an exception.)

Specified by:
hasNext in interface java.util.Iterator
Returns:
true if the iteration has more elements

next

public java.lang.Object next()
Returns the next element in the iteration.

Specified by:
next in interface java.util.Iterator
Returns:
the next element in the iteration.

remove

public void remove()
This method is not supported in this iterator.

Specified by:
remove in interface java.util.Iterator
Throws:
java.lang.UnsupportedOperationException - This method is not supported in this iterator