private static class ELKIServiceScanner.DirClassIterator
extends java.lang.Object
implements java.util.Iterator<java.lang.String>
Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
CLASS_EXT |
private static int |
CLASS_EXT_LENGTH |
private static java.lang.String |
FACTORY_FILE_EXT |
private java.util.ArrayList<java.lang.String> |
files |
private java.util.ArrayList<java.io.File> |
folders |
private java.lang.String |
prefix |
Constructor and Description |
---|
DirClassIterator(java.io.File path)
Constructor from Directory
|
Modifier and Type | Method and Description |
---|---|
private void |
findNext()
Find the next entry, since we need to skip some directories.
|
boolean |
hasNext() |
java.lang.String |
next() |
private static final java.lang.String CLASS_EXT
private static final java.lang.String FACTORY_FILE_EXT
private static final int CLASS_EXT_LENGTH
private java.lang.String prefix
private java.util.ArrayList<java.lang.String> files
private java.util.ArrayList<java.io.File> folders
public DirClassIterator(java.io.File path)
path
- Directory to iterate overpublic boolean hasNext()
hasNext
in interface java.util.Iterator<java.lang.String>
private void findNext()
public java.lang.String next()
next
in interface java.util.Iterator<java.lang.String>
Copyright © 2019 ELKI Development Team. License information.