ttfiles
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Cached
Proxy
Directory
Cached
Proxy
Directory
Base
constructor
concrete
Directory
parent
Path
created
directory
extra
icon
id
last
Modified
mime
Type
name
path
root
size
url
mime
Type
add
add
Directory
add
File
add
OnChange
Listener
clear
Cache
copy
create
Descendant
delete
dispatch
Change
Event
get
Cached
get
Children
get
File
move
read
readJSON
read
Text
remove
OnChange
Listener
rename
search
to
String
write
Cached
Proxy
Root
Directory
Change
Event
Proxy
File
Proxy
Directory
Proxy
File
Cachable
File
Type parameters
T
:
Directory
Hierarchy
ProxyDirectory
<
T
>
CachedProxyDirectoryBase
CachedProxyDirectory
CachedProxyRootDirectory
Implements
File
Index
Constructors
constructor
Properties
concrete
Directory
parent
Path
Accessors
created
directory
extra
icon
id
last
Modified
mime
Type
name
path
root
size
url
mime
Type
Methods
add
add
Directory
add
File
add
OnChange
Listener
clear
Cache
copy
create
Descendant
delete
dispatch
Change
Event
get
Cached
get
Children
get
File
move
read
readJSON
read
Text
remove
OnChange
Listener
rename
search
to
String
write
Constructors
Protected
constructor
new
Cached
Proxy
Directory
Base
(
concreteDirectory
:
T
, parentPath
:
string
[]
, rootDirectory
:
CachedProxyDirectory
<
T
>
|
null
)
:
CachedProxyDirectoryBase
Parameters
concreteDirectory:
T
parentPath:
string
[]
rootDirectory:
CachedProxyDirectory
<
T
>
|
null
Returns
CachedProxyDirectoryBase
Properties
concrete
Directory
concrete
Directory
:
T
Protected
parent
Path
parent
Path
:
string
[]
Accessors
created
created
:
directory
directory
:
extra
extra
:
icon
icon
:
id
id
:
last
Modified
last
Modified
:
mime
Type
mime
Type
:
name
name
:
path
path
:
root
root
:
size
size
:
url
url
:
Static
mime
Type
mime
Type
:
Methods
add
add
(
absolutePath
:
string
[]
, file
:
CachableFile
)
:
void
Parameters
absolutePath:
string
[]
file:
CachableFile
Returns
void
add
Directory
add
Directory
(
name
:
string
)
:
Promise
<
Directory
>
Parameters
name:
string
Returns
Promise
<
Directory
>
add
File
add
File
(
fileData
:
ArrayBuffer
, filename
:
string
, mimeType
:
string
)
:
Promise
<
File
>
Parameters
fileData:
ArrayBuffer
filename:
string
mimeType:
string
Returns
Promise
<
File
>
add
OnChange
Listener
add
OnChange
Listener
(
listener
:
function
)
:
void
Parameters
listener:
function
(
file
:
File
)
:
void
Parameters
file:
File
Returns
void
Returns
void
clear
Cache
clear
Cache
(
)
:
void
Returns
void
copy
copy
(
targetDirectory
:
Directory
)
:
Promise
<
void
>
Parameters
targetDirectory:
Directory
Returns
Promise
<
void
>
Protected
create
Descendant
create
Descendant
(
file
:
File
, parentPath
:
string
[]
)
:
CachableFile
Parameters
file:
File
parentPath:
string
[]
Returns
CachableFile
delete
delete
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
dispatch
Change
Event
dispatch
Change
Event
(
)
:
void
Returns
void
get
Cached
get
Cached
(
absolutePath
:
string
[]
)
:
CachableFile
|
null
Parameters
absolutePath:
string
[]
Returns
CachableFile
|
null
get
Children
get
Children
(
)
:
Promise
<
CachableFile
[]
>
Returns
Promise
<
CachableFile
[]
>
get
File
get
File
(
pathArray
:
string
[]
)
:
Promise
<
CachableFile
>
Parameters
pathArray:
string
[]
Returns
Promise
<
CachableFile
>
move
move
(
targetDirectory
:
Directory
)
:
Promise
<
void
>
Parameters
targetDirectory:
Directory
Returns
Promise
<
void
>
read
read
(
)
:
Promise
<
ArrayBuffer
>
Returns
Promise
<
ArrayBuffer
>
readJSON
readJSON
(
)
:
Promise
<
any
>
Returns
Promise
<
any
>
read
Text
read
Text
(
)
:
Promise
<
string
>
Returns
Promise
<
string
>
remove
OnChange
Listener
remove
OnChange
Listener
(
listener
:
function
)
:
void
Parameters
listener:
function
(
file
:
File
)
:
void
Parameters
file:
File
Returns
void
Returns
void
rename
rename
(
newName
:
string
)
:
Promise
<
void
>
Parameters
newName:
string
Returns
Promise
<
void
>
search
search
(
query
:
string
)
:
Promise
<
SearchResult
[]
>
Parameters
query:
string
Returns
Promise
<
SearchResult
[]
>
to
String
to
String
(
)
:
string
Returns
string
write
write
(
data
:
ArrayBuffer
)
:
Promise
<
ArrayBuffer
>
Parameters
data:
ArrayBuffer
Returns
Promise
<
ArrayBuffer
>
Generated using
TypeDoc