public class FileSystem extends File
pathSeparator, pathSeparatorChar, separator, separatorChar| Constructor and Description |
|---|
FileSystem(File parent,
String child)
pass-thru constructor
|
FileSystem(String pathname)
pass-thru constructor
|
FileSystem(String parent,
String child)
pass-thru constructor
|
FileSystem(URI uri)
pass-thru constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object)
Public equals implementation based on name only (very loose equals)
|
long |
free(String mountRoot)
This method will return the free space in kilobytes TODO - resolve the
slash mount
|
int |
hashCode()
Public hashcode implementation based on String hash() return
|
static void |
main(String[] args) |
String |
toString()
Public toString implementation
|
canExecute, canRead, canWrite, compareTo, createNewFile, createTempFile, createTempFile, delete, deleteOnExit, exists, getAbsoluteFile, getAbsolutePath, getCanonicalFile, getCanonicalPath, getFreeSpace, getName, getParent, getParentFile, getPath, getTotalSpace, getUsableSpace, isAbsolute, isDirectory, isFile, isHidden, lastModified, length, list, list, listFiles, listFiles, listFiles, listRoots, mkdir, mkdirs, renameTo, setExecutable, setExecutable, setLastModified, setReadable, setReadable, setReadOnly, setWritable, setWritable, toPath, toURI, toURLpublic FileSystem(String pathname)
pathname - File.File(String)public FileSystem(URI uri)
uri - File.File(URI)public FileSystem(String parent, String child)
parent - child - File.File(String, String)public FileSystem(File parent, String child)
parent - child - File.File(File, String)public long free(String mountRoot) throws RuntimeException
RuntimeExceptionpublic String toString()
public boolean equals(Object object)
public int hashCode()
public static void main(String[] args) throws IOException
IOException
Version: 5.1.0-ice35-b40
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.