Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • File

Index

Constructors

constructor

  • new File(uri: any): File
  • new File(pathname: string): File
  • new File(parent: string, child: string): File
  • new File(parent: File, child: string): File

Accessors

Static $javaClass

  • get $javaClass(): any

Static pathSeparator

  • get pathSeparator(): string

Static pathSeparatorChar

  • get pathSeparatorChar(): string

Static separator

  • get separator(): string

Static separatorChar

  • get separatorChar(): string

Methods

canExecute

  • canExecute(): boolean

canRead

  • canRead(): boolean

canWrite

  • canWrite(): boolean

compareTo

  • compareTo(pathname: File): number
  • compareTo(arg0: any): number

createNewFile

  • createNewFile(): boolean

delete

  • delete(): boolean

deleteOnExit

  • deleteOnExit(): void

exists

  • exists(): boolean

getAbsoluteFile

  • getAbsoluteFile(): File

getAbsolutePath

  • getAbsolutePath(): string

getCanonicalFile

  • getCanonicalFile(): File

getCanonicalPath

  • getCanonicalPath(): string

getFreeSpace

  • getFreeSpace(): number

getName

  • getName(): string

getParent

  • getParent(): string

getParentFile

  • getParentFile(): File

getPath

  • getPath(): string

getTotalSpace

  • getTotalSpace(): number

getUsableSpace

  • getUsableSpace(): number

isAbsolute

  • isAbsolute(): boolean

isDirectory

  • isDirectory(): boolean

isFile

  • isFile(): boolean

isHidden

  • isHidden(): boolean

lastModified

  • lastModified(): number

length

  • length(): number

list

listFiles

mkdir

  • mkdir(): boolean

mkdirs

  • mkdirs(): boolean

renameTo

  • renameTo(dest: File): boolean

setExecutable

  • setExecutable(executable: boolean): boolean
  • setExecutable(executable: boolean, ownerOnly: boolean): boolean

setLastModified

  • setLastModified(time: number): boolean

setReadOnly

  • setReadOnly(): boolean

setReadable

  • setReadable(readable: boolean): boolean
  • setReadable(readable: boolean, ownerOnly: boolean): boolean

setWritable

  • setWritable(writable: boolean): boolean
  • setWritable(writable: boolean, ownerOnly: boolean): boolean

toPath

toURI

  • toURI(): any

toURL

  • toURL(): any

Static createTempFile

  • createTempFile(prefix: string, suffix: string): File
  • createTempFile(prefix: string, suffix: string, directory: File): File

Static listRoots

  • listRoots(): Array<File>

Generated using TypeDoc