trait Writable[O] extends AnyRef
Trait to enable rendering of a table to a sequential (non-hierarchical) output format.
- O
the underlying type, for example, a StringBuilder.
- Alphabetic
- By Inheritance
- Writable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
unit: O
Method to return an empty (i.e.
Method to return an empty (i.e. new) instance of O
-
abstract
def
writeRaw(o: O)(x: CharSequence): O
Method to write a character sequence to the given instance o.
Method to write a character sequence to the given instance o.
- o
the instance of O whither the parameter x should be written.
- x
the character sequence to be written.
- returns
an instance of O which represents the updated output structure.
Concrete 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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
delimiter: CharSequence
The default delimiter is a comma followed by a space.
The default delimiter is a comma followed by a space.
- returns
", "
-
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
-
def
newline: CharSequence
The default newline character is the newline.
The default newline character is the newline.
- returns
\n
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
quote: CharSequence
The default quote is one double-quote symbol
The default quote is one double-quote symbol
- returns
"
-
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()
-
def
writeQuoted(o: O)(x: CharSequence): O
Method to write a character sequence to the given instance o, but within quotes.
Method to write a character sequence to the given instance o, but within quotes. Any quote characters in x will be doubled.
- o
the instance of O whither the parameter x should be written.
- x
the character sequence to be written.
- returns
an instance of O which represents the updated output structure.
-
def
writeRow[Row <: Product](o: O)(x: Row): O
Method to write a value of type Any to the given instance o, possibly quoted.
Method to write a value of type Any to the given instance o, possibly quoted.
- o
the instance of O whither the xs values should be written.
- x
the row instance to be written.
- returns
an instance of O which represents the updated output structure.
-
def
writeRowElements(o: O)(xs: Seq[Any]): O
Method to write a value of type Any to the given instance o, possibly quoted.
Method to write a value of type Any to the given instance o, possibly quoted. Elements will be separated by the delimiter, but no newline is appended. Element strings may be enclosed in quotes if appropriate.
- o
the instance of O whither the xs values should be written.
- xs
the sequence of elements (values) to be written.
- returns
an instance of O which represents the updated output structure.
-
def
writeValue(o: O)(x: Any): O
Method to write a value of type Any to the given instance o, possibly quoted.
Method to write a value of type Any to the given instance o, possibly quoted.
- o
the instance of O whither the parameter x should be written.
- x
the character sequence to be written.
- returns
an instance of O which represents the updated output structure.