|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.neuroph.easyneurons.imgrec.ImagesIterator
public class ImagesIterator
This class provides Iterator for the image files (jpg and png) in the specified directory next() method loads and returns BufferedImage objects
| Constructor Summary | |
|---|---|
ImagesIterator(java.io.File dir)
Creates image Iterator for the specified dir |
|
| Method Summary | |
|---|---|
java.lang.String |
getFilenameOfCurrentImage()
|
boolean |
hasNext()
|
java.awt.image.BufferedImage |
next()
Loads and returns next image |
void |
remove()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ImagesIterator(java.io.File dir)
throws java.io.IOException
dir -
java.io.IOException| Method Detail |
|---|
public boolean hasNext()
hasNext in interface java.util.Iterator<java.awt.image.BufferedImage>public java.awt.image.BufferedImage next()
next in interface java.util.Iterator<java.awt.image.BufferedImage>public void remove()
remove in interface java.util.Iterator<java.awt.image.BufferedImage>public java.lang.String getFilenameOfCurrentImage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||