public class GridFile
extends java.io.File
Modifier and Type | Class and Description |
---|---|
static class |
GridFile.Metadata |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String[] |
_list(java.lang.Object filter) |
protected java.io.File[] |
_listFiles(java.lang.Object filter) |
protected boolean |
checkParentDirs(java.lang.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 java.lang.String |
filename(java.lang.String full_path) |
int |
getChunkSize() |
java.lang.String |
getName() |
java.lang.String |
getPath() |
protected void |
initMetadata() |
protected static boolean |
isChildOf(java.lang.String parent,
java.lang.String child)
Verifies whether child is a child (dir or file) of parent
|
boolean |
isDirectory() |
boolean |
isFile() |
long |
length() |
java.lang.String[] |
list() |
java.lang.String[] |
list(java.io.FilenameFilter filter) |
java.io.File[] |
listFiles() |
java.io.File[] |
listFiles(java.io.FileFilter filter) |
java.io.File[] |
listFiles(java.io.FilenameFilter filter) |
boolean |
mkdir() |
boolean |
mkdirs() |
protected static java.lang.String |
trim(java.lang.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 java.lang.String getName()
getName
in class java.io.File
public java.lang.String getPath()
getPath
in class java.io.File
public long length()
length
in class java.io.File
public int getChunkSize()
public boolean createNewFile() throws java.io.IOException
createNewFile
in class java.io.File
java.io.IOException
public boolean delete()
delete
in class java.io.File
public boolean delete(boolean synchronous)
public boolean mkdir()
mkdir
in class java.io.File
public boolean mkdirs()
mkdirs
in class java.io.File
public boolean exists()
exists
in class java.io.File
public java.lang.String[] list()
list
in class java.io.File
public java.lang.String[] list(java.io.FilenameFilter filter)
list
in class java.io.File
public java.io.File[] listFiles()
listFiles
in class java.io.File
public java.io.File[] listFiles(java.io.FilenameFilter filter)
listFiles
in class java.io.File
public java.io.File[] listFiles(java.io.FileFilter filter)
listFiles
in class java.io.File
public boolean isDirectory()
isDirectory
in class java.io.File
public boolean isFile()
isFile
in class java.io.File
protected void initMetadata()
protected java.io.File[] _listFiles(java.lang.Object filter)
protected java.lang.String[] _list(java.lang.Object filter)
protected static boolean isChildOf(java.lang.String parent, java.lang.String child)
parent
- child
- protected static java.lang.String filename(java.lang.String full_path)
protected boolean checkParentDirs(java.lang.String path, boolean create_if_absent) throws java.io.IOException
path
- create_if_absent
- java.io.IOException
protected static java.lang.String trim(java.lang.String str)
Copyright © 1998-2020 Red Hat. All Rights Reserved.