com.caucho.quercus.lib.spl
Class FilesystemIterator
java.lang.Object
com.caucho.quercus.lib.spl.SplFileInfo
com.caucho.quercus.lib.spl.DirectoryIterator
com.caucho.quercus.lib.spl.FilesystemIterator
- All Implemented Interfaces:
- Iterator, SeekableIterator, Traversable
- Direct Known Subclasses:
- RecursiveDirectoryIterator
public class FilesystemIterator
- extends DirectoryIterator
Methods inherited from class com.caucho.quercus.lib.spl.SplFileInfo |
__toString, getATime, getBasename, getCTime, getExtension, getFileInfo, getFilename, getGroup, getInode, getLinkTarget, getMTime, getOwner, getPath, getPathInfo, getPathname, getPerms, getRealPath, getSize, getType, init, isDir, isExecutable, isFile, isLink, isReadable, isWritable, openFile, setFileClass, setInfoClass, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CURRENT_AS_PATHNAME
public static final int CURRENT_AS_PATHNAME
- See Also:
- Constant Field Values
CURRENT_AS_FILEINFO
public static final int CURRENT_AS_FILEINFO
- See Also:
- Constant Field Values
CURRENT_AS_SELF
public static final int CURRENT_AS_SELF
- See Also:
- Constant Field Values
CURRENT_MODE_MASK
public static final int CURRENT_MODE_MASK
- See Also:
- Constant Field Values
KEY_AS_PATHNAME
public static final int KEY_AS_PATHNAME
- See Also:
- Constant Field Values
KEY_AS_FILENAME
public static final int KEY_AS_FILENAME
- See Also:
- Constant Field Values
FOLLOW_SYMLINKS
public static final int FOLLOW_SYMLINKS
- See Also:
- Constant Field Values
KEY_MODE_MASK
public static final int KEY_MODE_MASK
- See Also:
- Constant Field Values
NEW_CURRENT_AND_KEY
public static final int NEW_CURRENT_AND_KEY
- See Also:
- Constant Field Values
SKIP_DOTS
public static final int SKIP_DOTS
- See Also:
- Constant Field Values
UNIX_PATHS
public static final int UNIX_PATHS
- See Also:
- Constant Field Values
FilesystemIterator
public FilesystemIterator(Env env,
StringValue fileName,
int flags)
FilesystemIterator
protected FilesystemIterator(Path path,
int flags)
getFlags
public int getFlags()
setFlags
public void setFlags(int flags)
key
public Value key(Env env)
- Description copied from interface:
Iterator
- Returns the current key.
- Specified by:
key
in interface Iterator
- Overrides:
key
in class DirectoryIterator