ttfiles
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Remote
Directory
RemoteFS
Remote
File
constructor
extra
created
directory
icon
id
last
Modified
mime
Type
name
size
url
add
OnChange
Listener
copy
delete
dispatch
Change
Event
move
read
readJSON
read
Text
remove
OnChange
Listener
rename
to
String
write
File
Data
Hierarchy
BasicFile
RemoteFile
Implements
File
Index
Constructors
constructor
Properties
extra
Accessors
created
directory
icon
id
last
Modified
mime
Type
name
size
url
Methods
add
OnChange
Listener
copy
delete
dispatch
Change
Event
move
read
readJSON
read
Text
remove
OnChange
Listener
rename
to
String
write
Constructors
constructor
new
Remote
File
(
parent
:
RemoteDirectory
, fileData
:
FileData
, apiUrl
:
URL
, listenerMap
:
object
, requester
:
Requester
)
:
RemoteFile
Parameters
parent:
RemoteDirectory
fileData:
FileData
apiUrl:
URL
listenerMap:
object
[
name:
string
]:
Set
<
listener
>
Optional
requester:
Requester
Returns
RemoteFile
Properties
extra
extra
:
object
Type declaration
Accessors
created
created
:
directory
directory
:
icon
icon
:
id
id
:
last
Modified
last
Modified
:
mime
Type
mime
Type
:
name
name
:
size
size
:
url
url
:
Methods
add
OnChange
Listener
add
OnChange
Listener
(
listener
:
function
)
:
void
Parameters
listener:
function
(
file
:
File
)
:
void
Parameters
file:
File
Returns
void
Returns
void
copy
copy
(
targetDirectory
:
Directory
)
:
Promise
<
void
>
Parameters
targetDirectory:
Directory
Returns
Promise
<
void
>
delete
delete
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
dispatch
Change
Event
dispatch
Change
Event
(
)
:
void
Returns
void
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
>
to
String
to
String
(
)
:
string
Returns
string
write
write
(
data
:
ArrayBuffer
|
FormData
)
:
Promise
<
ArrayBuffer
>
Parameters
data:
ArrayBuffer
|
FormData
Returns
Promise
<
ArrayBuffer
>
Generated using
TypeDoc