com.caucho.quercus.lib.file
Class WrappedDirectory

java.lang.Object
  extended by com.caucho.quercus.lib.file.Directory
      extended by com.caucho.quercus.lib.file.WrappedDirectory

public class WrappedDirectory
extends Directory

Represents a PHP directory listing


Field Summary
 
Fields inherited from class com.caucho.quercus.lib.file.Directory
handle, path
 
Constructor Summary
WrappedDirectory(Env env, QuercusClass qClass)
           
 
Method Summary
 void close(Env env)
          Closes the directory
 boolean open(Env env, StringValue path, LongValue flags)
           
 Value read(Env env)
          Returns the next value.
 void rewind(Env env)
          Rewinds the directory
 java.lang.String toString()
          Converts to a string.
 
Methods inherited from class com.caucho.quercus.lib.file.Directory
cleanup, open
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WrappedDirectory

public WrappedDirectory(Env env,
                        QuercusClass qClass)
Method Detail

open

public boolean open(Env env,
                    StringValue path,
                    LongValue flags)

read

public Value read(Env env)
Returns the next value.

Overrides:
read in class Directory

rewind

public void rewind(Env env)
Rewinds the directory

Overrides:
rewind in class Directory

close

public void close(Env env)
Closes the directory

Overrides:
close in class Directory

toString

public java.lang.String toString()
Converts to a string.

Overrides:
toString in class Directory
Parameters:
env -