com.sun.xfilechooser
public class BeanXFile extends java.io.File
#XFile
,
Serialized FormConstructor and Description |
---|
BeanXFile(java.io.File dir,
java.lang.String name) |
BeanXFile(java.lang.String path) |
Modifier and Type | Method and Description |
---|---|
boolean |
canRead() |
boolean |
canWrite() |
boolean |
delete() |
boolean |
equals(java.lang.Object obj) |
boolean |
exists() |
java.lang.String |
getAbsolutePath() |
java.lang.String |
getCanonicalPath() |
java.lang.String |
getName() |
java.lang.String |
getParent() |
java.lang.String |
getPath() |
boolean |
isAbsolute() |
boolean |
isDirectory() |
boolean |
isFile() |
long |
lastModified() |
long |
length() |
java.lang.String[] |
list() |
boolean |
mkdir() |
boolean |
mkdirs() |
boolean |
renameTo(java.io.File dest) |
java.lang.String |
toString() |
canExecute, compareTo, createNewFile, createTempFile, createTempFile, deleteOnExit, getAbsoluteFile, getCanonicalFile, getFreeSpace, getParentFile, getTotalSpace, getUsableSpace, hashCode, isHidden, list, listFiles, listFiles, listFiles, listRoots, setExecutable, setExecutable, setLastModified, setReadable, setReadable, setReadOnly, setWritable, setWritable, toURI, toURL
public BeanXFile(java.lang.String path)
public BeanXFile(java.io.File dir, java.lang.String name)
public java.lang.String getPath()
getPath
in class java.io.File
public java.lang.String getAbsolutePath()
getAbsolutePath
in class java.io.File
public java.lang.String getCanonicalPath()
getCanonicalPath
in class java.io.File
public java.lang.String getName()
getName
in class java.io.File
public boolean renameTo(java.io.File dest)
renameTo
in class java.io.File
public java.lang.String getParent()
getParent
in class java.io.File
public boolean exists()
exists
in class java.io.File
public boolean canWrite()
canWrite
in class java.io.File
public boolean canRead()
canRead
in class java.io.File
public boolean isFile()
isFile
in class java.io.File
public boolean isDirectory()
isDirectory
in class java.io.File
public boolean isAbsolute()
isAbsolute
in class java.io.File
public boolean equals(java.lang.Object obj)
equals
in class java.io.File
public long lastModified()
lastModified
in class java.io.File
public long length()
length
in class java.io.File
public boolean mkdir()
mkdir
in class java.io.File
public boolean mkdirs()
mkdirs
in class java.io.File
public java.lang.String[] list()
list
in class java.io.File
public java.lang.String toString()
toString
in class java.io.File
public boolean delete()
delete
in class java.io.File