korlibs
Toggle table of contents
6.1.0-SNAPSHOT
common
Target filter
common
Switch theme
Search in API
Skip to content
korlibs
korlibs-serialization
/
korlibs.io.serialization.csv
/
CSV
CSV
class
CSV
(
val
lines
:
List
<
List
<
String
>
>
,
val
names
:
List
<
String
>
?
=
null
)
:
Collection
<
CSV.Record
>
Members
Members & Extensions
Constructors
CSV
Link copied to clipboard
constructor
(
lines
:
List
<
List
<
String
>
>
,
names
:
List
<
String
>
?
=
null
)
Types
Companion
Link copied to clipboard
object
Companion
Record
Link copied to clipboard
inner
class
Record
(
val
cells
:
List
<
String
>
)
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
>
first
Text
Link copied to clipboard
val
Iterable
<
Xml
>
.
firstText
:
String
?
lines
Link copied to clipboard
val
lines
:
List
<
List
<
String
>
>
lines
With
Names
Link copied to clipboard
val
linesWithNames
:
List
<
List
<
String
>
>
names
Link copied to clipboard
val
names
:
List
<
String
>
?
names
To
Index
Link copied to clipboard
val
namesToIndex
:
Map
<
String
,
Int
>
records
Link copied to clipboard
val
records
:
List
<
CSV.Record
>
size
Link copied to clipboard
open
override
val
size
:
Int
text
Link copied to clipboard
val
Iterable
<
Xml
>
.
text
:
String
Functions
children
Link copied to clipboard
fun
Iterable
<
Xml
>
.
children
(
name
:
String
)
:
Iterable
<
Xml
>
contains
Link copied to clipboard
open
operator override
fun
contains
(
element
:
CSV.Record
)
:
Boolean
contains
All
Link copied to clipboard
open
override
fun
containsAll
(
elements
:
Collection
<
CSV.Record
>
)
:
Boolean
get
Link copied to clipboard
operator
fun
get
(
index
:
Int
)
:
CSV.Record
get
Link copied to clipboard
operator
fun
Iterable
<
Xml
>
.
get
(
name
:
String
)
:
Iterable
<
Xml
>
is
Empty
Link copied to clipboard
open
override
fun
isEmpty
(
)
:
Boolean
iterator
Link copied to clipboard
open
operator override
fun
iterator
(
)
:
Iterator
<
CSV.Record
>
str
Link copied to clipboard
fun
Iterable
<
Xml
>
.
str
(
name
:
String
,
defaultValue
:
String
=
""
)
:
String
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String
fun
toString
(
separator
:
Char
)
:
String