public class DirEnumeration extends Object implements Enumeration<File>
| Constructor and Description |
|---|
DirEnumeration(File basedir) |
| Modifier and Type | Method and Description |
|---|---|
File |
getDirectory() |
String |
getName(File file)
Return the relative path of this file to the base directory that the directory
enumeration was started for.
|
boolean |
hasMoreElements() |
File |
nextElement() |
public DirEnumeration(File basedir)
public boolean hasMoreElements()
hasMoreElements in interface Enumeration<File>public File nextElement()
nextElement in interface Enumeration<File>public File getDirectory()
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.