All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----org.jos.java.io.File
based on kore-0.0.7's File.java by Glynn Clements
To avoid confusion, the [path]separator[char] variables are set to the same values as those in java.io.File (rather than defining a standard value). This a) trains applications to adapt to the OS separator characters (as all 100% pure apps should do) and b) avoids conversion between two separator charsets. Once JOS runs standalone, there is only one File class and only one separator charset anyway.
public static final String pathSeparator
public static final char pathSeparatorChar
public static final String separator
public static final char separatorChar
public File(String path)
public File(File dir, String name)
public File(String path, String name)
public boolean equals(Object obj)
public int hashCode()
public String toString()
public String getPath()
public boolean isAbsolute()
public String getAbsolutePath()
public String getName()
public String getParent()
public boolean canRead()
public boolean canWrite()
public boolean exists()
public boolean isDirectory()
public boolean isFile()
public long lastModified()
public long length()
public String[] list()
public String[] list(FilenameFilter filter)
public boolean delete()
public boolean renameTo(File dest)
public boolean mkdir()
public boolean mkdirs()
All Packages Class Hierarchy This Package Previous Next Index