public class GridFile extends File
Modifier and Type | Class and Description |
---|---|
static class |
GridFile.Metadata |
pathSeparator, pathSeparatorChar, separator, separatorChar
Modifier and Type | Method and Description |
---|---|
protected String[] |
_list(Object filter) |
protected File[] |
_listFiles(Object filter) |
protected boolean |
checkParentDirs(String path,
boolean create_if_absent)
Checks whether the parent directories are present (and are directories).
|
boolean |
createNewFile() |
boolean |
delete() |
boolean |
delete(boolean synchronous) |
boolean |
exists() |
protected static String |
filename(String full_path) |
int |
getChunkSize() |
String |
getName() |
String |
getPath() |
protected void |
initMetadata() |
protected static boolean |
isChildOf(String parent,
String child)
Verifies whether child is a child (dir or file) of parent
|
boolean |
isDirectory() |
boolean |
isFile() |
long |
length() |
String[] |
list() |
String[] |
list(FilenameFilter filter) |
File[] |
listFiles() |
File[] |
listFiles(FileFilter filter) |
File[] |
listFiles(FilenameFilter filter) |
boolean |
mkdir() |
boolean |
mkdirs() |
protected static String |
trim(String str) |
canExecute, canRead, canWrite, compareTo, createTempFile, createTempFile, deleteOnExit, equals, getAbsoluteFile, getAbsolutePath, getCanonicalFile, getCanonicalPath, getFreeSpace, getParent, getParentFile, getTotalSpace, getUsableSpace, hashCode, isAbsolute, isHidden, lastModified, listRoots, renameTo, setExecutable, setExecutable, setLastModified, setReadable, setReadable, setReadOnly, setWritable, setWritable, toPath, toString, toURI, toURL
public int getChunkSize()
public boolean createNewFile() throws IOException
createNewFile
in class File
IOException
public boolean delete(boolean synchronous)
public String[] list(FilenameFilter filter)
public File[] listFiles(FilenameFilter filter)
public File[] listFiles(FileFilter filter)
public boolean isDirectory()
isDirectory
in class File
protected void initMetadata()
protected static boolean isChildOf(String parent, String child)
parent
- child
- protected boolean checkParentDirs(String path, boolean create_if_absent) throws IOException
path
- create_if_absent
- IOException
Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.