com.caucho.quercus.lib.spl
Class RecursiveDirectoryIterator

java.lang.Object
  extended by com.caucho.quercus.lib.spl.SplFileInfo
      extended by com.caucho.quercus.lib.spl.DirectoryIterator
          extended by com.caucho.quercus.lib.spl.FilesystemIterator
              extended by com.caucho.quercus.lib.spl.RecursiveDirectoryIterator
All Implemented Interfaces:
Iterator, RecursiveIterator, SeekableIterator, Traversable

public class RecursiveDirectoryIterator
extends FilesystemIterator
implements RecursiveIterator


Field Summary
 
Fields inherited from class com.caucho.quercus.lib.spl.FilesystemIterator
CURRENT_AS_FILEINFO, CURRENT_AS_PATHNAME, CURRENT_AS_SELF, CURRENT_MODE_MASK, FOLLOW_SYMLINKS, KEY_AS_FILENAME, KEY_AS_PATHNAME, KEY_MODE_MASK, NEW_CURRENT_AND_KEY, SKIP_DOTS, UNIX_PATHS
 
Fields inherited from class com.caucho.quercus.lib.spl.SplFileInfo
_path
 
Constructor Summary
  RecursiveDirectoryIterator(Env env, StringValue fileName, int flags)
           
protected RecursiveDirectoryIterator(Path path, int flags)
           
 
Method Summary
protected  DirectoryIterator createCurrentIterator(Env env, Path path)
           
 RecursiveIterator getChildren(Env env)
           
 boolean hasChildren(Env env)
           
 
Methods inherited from class com.caucho.quercus.lib.spl.FilesystemIterator
getFlags, key, setFlags
 
Methods inherited from class com.caucho.quercus.lib.spl.DirectoryIterator
current, getCurrent, getCurrentRaw, getKey, next, rewind, seek, valid
 
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
 
Methods inherited from interface com.caucho.quercus.lib.spl.Iterator
current, key, next, rewind, valid
 

Constructor Detail

RecursiveDirectoryIterator

public RecursiveDirectoryIterator(Env env,
                                  StringValue fileName,
                                  int flags)

RecursiveDirectoryIterator

protected RecursiveDirectoryIterator(Path path,
                                     int flags)
Method Detail

hasChildren

public boolean hasChildren(Env env)
Specified by:
hasChildren in interface RecursiveIterator

getChildren

public RecursiveIterator getChildren(Env env)
Specified by:
getChildren in interface RecursiveIterator

createCurrentIterator

protected DirectoryIterator createCurrentIterator(Env env,
                                                  Path path)
Overrides:
createCurrentIterator in class DirectoryIterator