|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.quercus.lib.spl.SplFileInfo
com.caucho.quercus.lib.spl.DirectoryIterator
public class DirectoryIterator
Field Summary |
---|
Fields inherited from class com.caucho.quercus.lib.spl.SplFileInfo |
---|
_path |
Constructor Summary | |
---|---|
|
DirectoryIterator(Env env,
StringValue fileName)
|
protected |
DirectoryIterator(Path path)
|
Method Summary | |
---|---|
protected DirectoryIterator |
createCurrentIterator(Env env,
Path path)
|
Value |
current(Env env)
Returns the current value. |
protected DirectoryIterator |
getCurrent(Env env)
|
protected DirectoryIterator |
getCurrentRaw()
|
protected int |
getKey()
|
Value |
key(Env env)
Returns the current key. |
void |
next(Env env)
Advances to the next row. |
void |
rewind(Env env)
Rewinds the iterator so it is at the first row. |
void |
seek(Env env,
int index)
Seeks to the given offset. |
boolean |
valid(Env env)
Returns true if the iterator currently points to a valid row. |
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 |
Constructor Detail |
---|
public DirectoryIterator(Env env, StringValue fileName)
protected DirectoryIterator(Path path)
Method Detail |
---|
public Value current(Env env)
Iterator
current
in interface Iterator
protected DirectoryIterator createCurrentIterator(Env env, Path path)
protected DirectoryIterator getCurrent(Env env)
protected DirectoryIterator getCurrentRaw()
protected int getKey()
public Value key(Env env)
Iterator
key
in interface Iterator
public void next(Env env)
Iterator
next
in interface Iterator
public void rewind(Env env)
Iterator
rewind
in interface Iterator
public boolean valid(Env env)
Iterator
valid
in interface Iterator
public void seek(Env env, int index)
SeekableIterator
seek
in interface SeekableIterator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |