public class SplFileInfo
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
|
SplFileInfo(Env env,
StringValue fileName) |
protected |
SplFileInfo(Path parent,
Path path,
java.lang.String fileName) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
__toString(Env env) |
long |
getATime(Env env) |
java.lang.String |
getBasename(Env env,
java.lang.String suffix) |
long |
getCTime(Env env) |
java.lang.String |
getExtension(Env env) |
SplFileInfo |
getFileInfo(Env env,
java.lang.String className) |
java.lang.String |
getFilename(Env env) |
int |
getGroup(Env env) |
long |
getInode(Env env) |
java.lang.String |
getLinkTarget(Env env) |
long |
getMTime(Env env) |
int |
getOwner(Env env) |
java.lang.String |
getPath(Env env) |
SplFileInfo |
getPathInfo(Env env,
java.lang.String className) |
java.lang.String |
getPathname(Env env) |
int |
getPerms(Env env) |
protected Path |
getRawParent() |
protected Path |
getRawPath() |
java.lang.String |
getRealPath(Env env) |
long |
getSize(Env env) |
java.lang.String |
getType(Env env) |
boolean |
isDir(Env env) |
boolean |
isExecutable(Env env) |
boolean |
isFile(Env env) |
boolean |
isLink(Env env) |
boolean |
isReadable(Env env) |
boolean |
isWritable(Env env) |
SplFileObject |
openFile(Env env,
java.lang.String mode,
boolean isUseIncludePath,
Value context) |
void |
setFileClass(Env env,
java.lang.String className) |
void |
setInfoClass(Env env,
java.lang.String className) |
java.lang.String |
toString() |
protected Path _path
public SplFileInfo(Env env, StringValue fileName)
protected Path getRawParent()
protected Path getRawPath()
public long getATime(Env env)
public java.lang.String getBasename(Env env, java.lang.String suffix)
public long getCTime(Env env)
public java.lang.String getExtension(Env env)
public SplFileInfo getFileInfo(Env env, java.lang.String className)
public java.lang.String getFilename(Env env)
public int getGroup(Env env)
public long getInode(Env env)
public java.lang.String getLinkTarget(Env env)
public long getMTime(Env env)
public int getOwner(Env env)
public java.lang.String getPath(Env env)
public SplFileInfo getPathInfo(Env env, java.lang.String className)
public java.lang.String getPathname(Env env)
public int getPerms(Env env)
public java.lang.String getRealPath(Env env)
public long getSize(Env env)
public java.lang.String getType(Env env)
public boolean isDir(Env env)
public boolean isExecutable(Env env)
public boolean isFile(Env env)
public boolean isLink(Env env)
public boolean isReadable(Env env)
public boolean isWritable(Env env)
public SplFileObject openFile(Env env, java.lang.String mode, boolean isUseIncludePath, Value context)
public void setFileClass(Env env, java.lang.String className)
public void setInfoClass(Env env, java.lang.String className)
public java.lang.String __toString(Env env)
public java.lang.String toString()
toString
in class java.lang.Object