The members of Java.IO.File are listed below.
See Also: Inherited members from Java.Lang.Object
Constructs a new File using the path of the specified URI. | ||
Constructs a new file using the specified path. | ||
Constructs a new file using the specified directory and name. | ||
Constructs a new File using the specified directory path and file name, placing a path separator between the two. |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
[read-only] | AbsoluteFile | File. Returns a new file constructed using the absolute path of this file. |
[read-only] | AbsolutePath | string. Returns the absolute path of this file. |
[read-only] | CanonicalFile | File. Returns a new file created using the canonical path of this file. |
[read-only] | CanonicalPath | string. Returns the canonical path of this file. |
[read-only] | FreeSpace | long. Returns the number of free bytes on the partition containing this path. |
[read-only] | IsAbsolute | bool. Indicates if this file's pathname is absolute. |
[read-only] | IsDirectory | bool. Indicates if this file represents a directory on the underlying file system. |
[read-only] | IsFile | bool. Indicates if this file represents a file on the underlying file system. |
[read-only] | IsHidden | bool. Returns whether or not this file is a hidden file as defined by the operating system. |
[read-only] | Name | string. Returns the name of the file or directory represented by this file. |
[read-only] | Parent | string. Returns the pathname of the parent of this file. |
[read-only] | ParentFile | File. Returns a new file made from the pathname of the parent of this file. |
[read-only] | Path | string. Returns the path of this file. |
[read-only] static | PathSeparator | string. The system-dependent string used to separate components in search paths (":"). |
[read-only] static | PathSeparatorChar | char. The system-dependent character used to separate components in search paths (':'). |
[read-only] static | Separator | string. The system-dependent string used to separate components in filenames ('/'). |
[read-only] static | SeparatorChar | char. The system-dependent character used to separate components in filenames ('/'). |
[read-only] | TotalSpace | long. Returns the total size in bytes of the partition containing this path. |
[read-only] | UsableSpace | long. Returns the number of usable free bytes on the partition containing this path. |
[read-only] override | ThresholdClass | IntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
[read-only] override | ThresholdType | Type. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
CanExecute()Tests whether or not this process is allowed to execute this file. | ||
CanRead()Indicates whether the current context is allowed to read from this file. | ||
CanWrite()Indicates whether the current context is allowed to write to this file. | ||
CompareTo(File)Returns the relative sort ordering of the paths for this file and the file another. | ||
CreateNewFile()Creates a new, empty file on the file system according to the path information stored in this file. | ||
static | CreateTempFile(string, string)Creates an empty temporary file using the given prefix and suffix as part of the file name. | |
static | CreateTempFile(string, string, File)Creates an empty temporary file in the given directory using the given prefix and suffix as part of the file name. | |
Delete()Deletes this file. | ||
DeleteOnExit()Schedules this file to be automatically deleted when the VM terminates normally. | ||
Exists()Returns a boolean indicating whether this file can be found on the underlying file system. | ||
LastModified()Returns the time when this file was last modified, measured in milliseconds since January 1st, 1970, midnight. | ||
Length()Returns the length of this file in bytes. | ||
List()Returns an array of strings with the file names in the directory represented by this file. | ||
List(IFilenameFilter)Gets a list of the files in the directory represented by this file. | ||
ListAsync()Documentation for this section has not yet been entered. | ||
ListAsync(IFilenameFilter)Documentation for this section has not yet been entered. | ||
ListFiles()Returns an array of files contained in the directory represented by this file. | ||
ListFiles(IFileFilter)Gets a list of the files in the directory represented by this file. | ||
ListFiles(IFilenameFilter)Gets a list of the files in the directory represented by this file. | ||
ListFilesAsync()Documentation for this section has not yet been entered. | ||
ListFilesAsync(IFileFilter)Documentation for this section has not yet been entered. | ||
ListFilesAsync(IFilenameFilter)Documentation for this section has not yet been entered. | ||
static | ListRoots()Returns the file system roots. | |
static | ListRootsAsync()Documentation for this section has not yet been entered. | |
Mkdir()Creates the directory named by this file, assuming its parents exist. | ||
Mkdirs()Creates the directory named by this file, creating missing parent directories if necessary. | ||
RenameTo(File)Renames this file to newPath. | ||
SetExecutable(bool)Equivalent to setExecutable(executable, true). | ||
SetExecutable(bool, bool)Manipulates the execute permissions for the abstract path designated by this file. | ||
SetLastModified(long)Sets the time this file was last modified, measured in milliseconds since January 1st, 1970, midnight. | ||
SetReadable(bool)Equivalent to setReadable(readable, true). | ||
SetReadable(bool, bool)Manipulates the read permissions for the abstract path designated by this file. | ||
SetReadOnly()Equivalent to setWritable(false, false). | ||
SetWritable(bool)Equivalent to setWritable(writable, true). | ||
SetWritable(bool, bool)Manipulates the write permissions for the abstract path designated by this file. | ||
ToURI()Returns a Uniform Resource Identifier for this file. | ||
ToURL()Returns a Uniform Resource Locator for this file. |
Java.Lang.IComparable.CompareTo | Documentation for this section has not yet been entered. |