object TableWriter
Provides TableWriter
factory.
- Alphabetic
- By Inheritance
- TableWriter
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply(config: Map[String, String]): TableWriter
Creates table writer with supplied configuration.
Creates table writer with supplied configuration.
Writer Configuration
The following keys can be supplied to configure writer.
Key
Default Value
ansiColorEnabled
"false"
defaultColor1
AnsiColor.RESET
leftMarginSize
"0"
rightMarginSize
"0"
tableBorderEnabled
"true"
tableBorderColor1
defaultColor
tableBorderChar
"="
tableHeaderEnabled
"true"
tableHeaderColor1
defaultColor
tableFooterEnabled
"false"
tableFooterColor1
defaultColor
bodyRuleEnabled
"true"
bodyRuleColor1
defaultColor
bodyRuleChar
"-"
rowHeaderEnabled
"false"
rowHeaderColor1
defaultColor
columnRightAlign2
""
cellColor1
defaultColor
cellPadSize
"1"
cellSpaceSize
"0"
cellSpaceColor1
""
maxValueSize
"20"
nullValue
""
truncateEnabled
"true"
1 Defined as string of
AnsiColor
values.2 Defined as comma- or space-delimited list of column indexes.
- config
writer configuration
- Note
ANSI colors can also be suppplied as a comma- or space-delimited list of any combination of following values:
- reset
- bold
- underlined
- blink
- reversed
- invisible
- black
- red
- green
- yellow
- blue
- magenta
- cyan
- white
- blackBackground
- redBackground
- greenBackground
- yellowBackground
- blueBackground
- magentaBackground
- cyanBackground
- whiteBackground
-
def
apply(config: (String, String)*): TableWriter
Creates table writer with supplied configuration.
Creates table writer with supplied configuration.
Writer Configuration
The following keys can be supplied to configure writer.
Key
Default Value
ansiColorEnabled
"false"
defaultColor1
AnsiColor.RESET
leftMarginSize
"0"
rightMarginSize
"0"
tableBorderEnabled
"true"
tableBorderColor1
defaultColor
tableBorderChar
"="
tableHeaderEnabled
"true"
tableHeaderColor1
defaultColor
tableFooterEnabled
"false"
tableFooterColor1
defaultColor
bodyRuleEnabled
"true"
bodyRuleColor1
defaultColor
bodyRuleChar
"-"
rowHeaderEnabled
"false"
rowHeaderColor1
defaultColor
columnRightAlign2
""
cellColor1
defaultColor
cellPadSize
"1"
cellSpaceSize
"0"
cellSpaceColor1
""
maxValueSize
"20"
nullValue
""
truncateEnabled
"true"
1 Defined as string of
AnsiColor
values.2 Defined as comma- or space-delimited list of column indexes.
- config
writer configuration
- Note
ANSI colors can also be suppplied as a comma- or space-delimited list of any combination of following values:
- reset
- bold
- underlined
- blink
- reversed
- invisible
- black
- red
- green
- yellow
- blue
- magenta
- cyan
- white
- blackBackground
- redBackground
- greenBackground
- yellowBackground
- blueBackground
- magentaBackground
- cyanBackground
- whiteBackground
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()