public class FilesystemIterator extends DirectoryIterator
Modifier and Type | Field and Description |
---|---|
static int |
CURRENT_AS_FILEINFO |
static int |
CURRENT_AS_PATHNAME |
static int |
CURRENT_AS_SELF |
static int |
CURRENT_MODE_MASK |
static int |
FOLLOW_SYMLINKS |
static int |
KEY_AS_FILENAME |
static int |
KEY_AS_PATHNAME |
static int |
KEY_MODE_MASK |
static int |
NEW_CURRENT_AND_KEY |
static int |
SKIP_DOTS |
static int |
UNIX_PATHS |
_path
Modifier | Constructor and Description |
---|---|
|
FilesystemIterator(Env env,
StringValue fileName,
int flags) |
protected |
FilesystemIterator(Path parent,
Path path,
java.lang.String fileName,
int flags) |
Modifier and Type | Method and Description |
---|---|
int |
getFlags() |
Value |
key(Env env)
Returns the current key.
|
void |
setFlags(int flags) |
createCurrent, current, getCurrent, getKey, isDot, next, rewind, seek, valid
__toString, getATime, getBasename, getCTime, getExtension, getFileInfo, getFilename, getGroup, getInode, getLinkTarget, getMTime, getOwner, getPath, getPathInfo, getPathname, getPerms, getRawParent, getRawPath, getRealPath, getSize, getType, isDir, isExecutable, isFile, isLink, isReadable, isWritable, openFile, setFileClass, setInfoClass, toString
public static final int CURRENT_AS_PATHNAME
public static final int CURRENT_AS_FILEINFO
public static final int CURRENT_AS_SELF
public static final int CURRENT_MODE_MASK
public static final int KEY_AS_PATHNAME
public static final int KEY_AS_FILENAME
public static final int FOLLOW_SYMLINKS
public static final int KEY_MODE_MASK
public static final int NEW_CURRENT_AND_KEY
public static final int SKIP_DOTS
public static final int UNIX_PATHS
public FilesystemIterator(Env env, StringValue fileName, int flags)