public class FileLoader
extends java.lang.Object
| Constructor and Description |
|---|
FileLoader(java.lang.String dirPath)
Instantiates a new file loader.
|
| Modifier and Type | Method and Description |
|---|---|
java.io.File |
getNext()
Gets the next.
|
boolean |
hasNext()
Checks for next.
|
void |
setAllowedExtensions(java.lang.String extensions)
Sets the allowed extensions.
|
public FileLoader(java.lang.String dirPath)
dirPath - the dir pathpublic void setAllowedExtensions(java.lang.String extensions)
extensions - the new allowed extensionspublic boolean hasNext()
public java.io.File getNext()