com.caucho.quercus.lib.file
Class ProtocolWrapper

java.lang.Object
  extended by com.caucho.quercus.lib.file.ProtocolWrapper
Direct Known Subclasses:
PhpProtocolWrapper, ZlibProtocolWrapper

public class ProtocolWrapper
extends java.lang.Object


Constructor Summary
protected ProtocolWrapper()
           
  ProtocolWrapper(QuercusClass qClass)
           
 
Method Summary
 BinaryStream fopen(Env env, StringValue path, StringValue mode, LongValue options)
           
 boolean mkdir(Env env, StringValue path, LongValue mode, LongValue options)
           
 Value opendir(Env env, StringValue path, LongValue flags)
           
 boolean rename(Env env, StringValue path_from, StringValue path_to)
           
 boolean rmdir(Env env, StringValue path, LongValue options)
           
 boolean unlink(Env env, StringValue path)
           
 Value url_stat(Env env, StringValue path, LongValue flags)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProtocolWrapper

protected ProtocolWrapper()

ProtocolWrapper

public ProtocolWrapper(QuercusClass qClass)
Method Detail

fopen

public BinaryStream fopen(Env env,
                          StringValue path,
                          StringValue mode,
                          LongValue options)

opendir

public Value opendir(Env env,
                     StringValue path,
                     LongValue flags)

unlink

public boolean unlink(Env env,
                      StringValue path)

rename

public boolean rename(Env env,
                      StringValue path_from,
                      StringValue path_to)

mkdir

public boolean mkdir(Env env,
                     StringValue path,
                     LongValue mode,
                     LongValue options)

rmdir

public boolean rmdir(Env env,
                     StringValue path,
                     LongValue options)

url_stat

public Value url_stat(Env env,
                      StringValue path,
                      LongValue flags)