public class NormalizedFile
extends jnr.posix.JavaSecuredFile
pathSeparator, pathSeparatorChar, separator, separatorChar
Constructor and Description |
---|
NormalizedFile(File parent,
String child) |
NormalizedFile(String pathname) |
NormalizedFile(String parent,
String child) |
NormalizedFile(URI uri) |
Modifier and Type | Method and Description |
---|---|
static File |
createTempFile(String prefix,
String suffix) |
static File |
createTempFile(String prefix,
String suffix,
File directory) |
File |
getAbsoluteFile() |
String |
getAbsolutePath() |
File |
getCanonicalFile() |
String |
getCanonicalPath() |
static String |
getFileProperty(String property) |
String |
getParent() |
File |
getParentFile() |
String |
getPath() |
String[] |
list() |
String[] |
list(FilenameFilter filter) |
File[] |
listFiles() |
File[] |
listFiles(FileFilter filter) |
File[] |
listFiles(FilenameFilter filter) |
static File[] |
listRoots() |
String |
toString() |
canRead, canWrite, createNewFile, delete, exists, isDirectory, isFile, isHidden, lastModified, length, mkdir, mkdirs, renameTo, setLastModified, setReadOnly
canExecute, compareTo, deleteOnExit, equals, getFreeSpace, getName, getTotalSpace, getUsableSpace, hashCode, isAbsolute, setExecutable, setExecutable, setReadable, setReadable, setWritable, setWritable, toPath, toURI, toURL
public NormalizedFile(String pathname)
public NormalizedFile(URI uri)
public String getAbsolutePath()
getAbsolutePath
in class File
public String getCanonicalPath() throws IOException
getCanonicalPath
in class jnr.posix.JavaSecuredFile
IOException
public File getAbsoluteFile()
getAbsoluteFile
in class jnr.posix.JavaSecuredFile
public File getCanonicalFile() throws IOException
getCanonicalFile
in class jnr.posix.JavaSecuredFile
IOException
public File getParentFile()
getParentFile
in class jnr.posix.JavaSecuredFile
public static File[] listRoots()
public static File createTempFile(String prefix, String suffix, File directory) throws IOException
IOException
public static File createTempFile(String prefix, String suffix) throws IOException
IOException
public String[] list()
list
in class jnr.posix.JavaSecuredFile
public String[] list(FilenameFilter filter)
list
in class jnr.posix.JavaSecuredFile
public File[] listFiles()
listFiles
in class jnr.posix.JavaSecuredFile
public File[] listFiles(FileFilter filter)
listFiles
in class jnr.posix.JavaSecuredFile
public File[] listFiles(FilenameFilter filter)
Copyright © 2001-2016 JRuby. All Rights Reserved.