Show / Hide Table of Contents

Class ExplorerFile

Represents a file in the explorer in your os. A file can therefore be an directory or a file. Is used by the FileExplorer control.

Inheritance
java.lang.Object
ExplorerFile
Inherited Members
java.lang.Object.clone()
java.lang.Object.equals(java.lang.Object)
java.lang.Object.finalize()
java.lang.Object.getClass()
java.lang.Object.hashCode()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.toString()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long,int)
Namespace:
Assembly: .dll
Syntax
public class ExplorerFile

Constructors

ExplorerFile(String name, LocalDateTime creationDate, long size, String absolutePath, boolean isDirectory, ExplorerFile parentDir)

Declaration
public ExplorerFile(String name, LocalDateTime creationDate, long size, String absolutePath, boolean isDirectory, ExplorerFile parentDir)
Parameters
Type Name Description
java.lang.String name
java.time.LocalDateTime creationDate
long size
java.lang.String absolutePath
boolean isDirectory
parentDir

Methods

getAbsolutePath()

Declaration
public String getAbsolutePath()
Returns
Type Description
java.lang.String

getCreationDate()

Declaration
public LocalDateTime getCreationDate()
Returns
Type Description
java.time.LocalDateTime

getFiles()

Declaration
public ObservableList<ExplorerFile> getFiles()
Returns
Type Description
javafx.collections.ObservableList<ExplorerFile>

getName()

Declaration
public String getName()
Returns
Type Description
java.lang.String

getParentDir()

Declaration
public ExplorerFile getParentDir()
Returns
Type Description

getSize()

Declaration
public long getSize()
Returns
Type Description
long

isDirectory()

Declaration
public boolean isDirectory()
Returns
Type Description
boolean

setAbsolutePath(String path)

Declaration
public void setAbsolutePath(String path)
Parameters
Type Name Description
java.lang.String path

setName(String name)

Declaration
public void setName(String name)
Parameters
Type Name Description
java.lang.String name

setSize(long size)

Declaration
public void setSize(long size)
Parameters
Type Name Description
long size
In This Article
Back to top Generated by DocFX