toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.io.file.std
/
MemoryNodeTree
/
Node
Node
open
inner
class
Node
(
val
name
:
String
,
val
isDirectory
:
Boolean
=
false
,
parent
:
MemoryNodeTree.Node
?
=
null
)
:
Iterable
<
MemoryNodeTree.Node
>
Members
Members & Extensions
Constructors
Node
Link copied to clipboard
constructor
(
name
:
String
,
isDirectory
:
Boolean
=
false
,
parent
:
MemoryNodeTree.Node
?
=
null
)
Properties
all
Children
Link copied to clipboard
val
Iterable
<
Xml
>
.
allChildren
:
Iterable
<
Xml
>
all
Node
Children
Link copied to clipboard
val
Iterable
<
Xml
>
.
allNodeChildren
:
Iterable
<
Xml
>
area
Link copied to clipboard
val
Iterable
<
ImageFrame
>
.
area
:
Int
bytes
Link copied to clipboard
var
bytes
:
ByteArray
?
children
Link copied to clipboard
val
children
:
LinkedHashMap
<
String
,
MemoryNodeTree.Node
>
children
LC
Link copied to clipboard
val
childrenLC
:
LinkedHashMap
<
String
,
MemoryNodeTree.Node
>
data
Link copied to clipboard
var
data
:
Any
?
first
Text
Link copied to clipboard
val
Iterable
<
Xml
>
.
firstText
:
String
?
is
Directory
Link copied to clipboard
val
isDirectory
:
Boolean
=
false
link
Link copied to clipboard
var
link
:
String
?
name
Link copied to clipboard
val
name
:
String
name
LC
Link copied to clipboard
val
nameLC
:
String
parent
Link copied to clipboard
var
parent
:
MemoryNodeTree.Node
?
path
Link copied to clipboard
val
path
:
String
root
Link copied to clipboard
val
root
:
MemoryNodeTree.Node
stream
Link copied to clipboard
var
stream
:
AsyncStream
?
text
Link copied to clipboard
val
Iterable
<
Xml
>
.
text
:
String
Functions
access
Link copied to clipboard
fun
access
(
path
:
String
,
createFolders
:
Boolean
=
false
)
:
MemoryNodeTree.Node
access
Or
Null
Link copied to clipboard
fun
accessOrNull
(
path
:
String
)
:
MemoryNodeTree.Node
?
cancel
Link copied to clipboard
fun
Iterable
<
Cancellable
>
.
cancel
(
e
:
Throwable
=
CancellationException("")
)
cancellable
Link copied to clipboard
fun
Iterable
<
Cancellable
>
.
cancellable
(
)
:
Cancellable
child
Link copied to clipboard
fun
child
(
name
:
String
)
:
MemoryNodeTree.Node
?
children
Link copied to clipboard
fun
Iterable
<
Xml
>
.
children
(
name
:
String
)
:
Iterable
<
Xml
>
close
Link copied to clipboard
fun
Iterable
<
Closeable
>
.
close
(
)
closeable
Link copied to clipboard
fun
Iterable
<
Closeable
>
.
closeable
(
)
:
Closeable
create
Child
Link copied to clipboard
fun
createChild
(
name
:
String
,
isDirectory
:
Boolean
=
false
)
:
MemoryNodeTree.Node
delete
Link copied to clipboard
fun
delete
(
)
execute
And
Wait
Any
Signal
Link copied to clipboard
inline suspend
fun
<
T
>
Iterable
<
Signal
<
T
>
>
.
executeAndWaitAnySignal
(
callback
:
(
)
->
Unit
)
:
Pair
<
Signal
<
T
>
,
T
>
follow
Links
Link copied to clipboard
fun
followLinks
(
)
:
MemoryNodeTree.Node
get
Link copied to clipboard
operator
fun
get
(
path
:
String
)
:
MemoryNodeTree.Node
get
Link copied to clipboard
inline
fun
<
T
>
Iterable
<
Vfs.Attribute
>
.
get
(
)
:
T
?
operator
fun
Iterable
<
Xml
>
.
get
(
name
:
String
)
:
Iterable
<
Xml
>
get
Or
Null
Link copied to clipboard
fun
getOrNull
(
path
:
String
)
:
MemoryNodeTree.Node
?
iterator
Link copied to clipboard
open
operator override
fun
iterator
(
)
:
Iterator
<
MemoryNodeTree.Node
>
list
Formats
Link copied to clipboard
fun
Iterable
<
ImageFormat
>
.
listFormats
(
)
:
Set
<
ImageFormat
>
mkdir
Link copied to clipboard
fun
mkdir
(
name
:
String
)
:
Boolean
str
Link copied to clipboard
fun
Iterable
<
Xml
>
.
str
(
name
:
String
,
defaultValue
:
String
=
""
)
:
String
to
Channel
Link copied to clipboard
suspend
fun
<
T
>
Iterable
<
T
>
.
toChannel
(
)
:
ReceiveChannel
<
T
>
wait
One
Link copied to clipboard
suspend
fun
Iterable
<
Signal
<
*
>
>
.
waitOne
(
)
:
Any
?