org.jaudiotagger.tag.id3
Class ID3v1Iterator

java.lang.Object
  extended by org.jaudiotagger.tag.id3.ID3v1Iterator
All Implemented Interfaces:
java.util.Iterator

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


Field Summary
private static int ALBUM
           
private static int ARTIST
           
private static int COMMENT
           
private static int GENRE
           
private  ID3v1Tag id3v1tag
           
private  int lastIndex
           
private static int TITLE
           
private static int TRACK
           
private static int YEAR
           
 
Constructor Summary
ID3v1Iterator(ID3v1Tag id3v1tag)
          Creates a new ID3v1Iterator datatype.
 
Method Summary
 boolean hasNext()
           
private  boolean hasNext(int index)
           
 java.lang.Object next()
           
private  java.lang.Object next(int index)
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TITLE

private static final int TITLE
See Also:
Constant Field Values

ARTIST

private static final int ARTIST
See Also:
Constant Field Values

ALBUM

private static final int ALBUM
See Also:
Constant Field Values

COMMENT

private static final int COMMENT
See Also:
Constant Field Values

YEAR

private static final int YEAR
See Also:
Constant Field Values

GENRE

private static final int GENRE
See Also:
Constant Field Values

TRACK

private static final int TRACK
See Also:
Constant Field Values

id3v1tag

private ID3v1Tag id3v1tag

lastIndex

private int lastIndex
Constructor Detail

ID3v1Iterator

public ID3v1Iterator(ID3v1Tag id3v1tag)
Creates a new ID3v1Iterator datatype.

Parameters:
id3v1tag -
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator
Returns:

next

public java.lang.Object next()
Specified by:
next in interface java.util.Iterator
Returns:

remove

public void remove()
Specified by:
remove in interface java.util.Iterator

hasNext

private boolean hasNext(int index)
Parameters:
index -
Returns:

next

private java.lang.Object next(int index)
Parameters:
index -
Returns:
Throws:
java.util.NoSuchElementException