object Table
- Alphabetic
- By Inheritance
- Table
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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[X](xs: Iterable[X], maybeHeader: Option[Header]): Table[X]
Method to construct one of the standard table types, given an Iterable of T and an optional header.
Method to construct one of the standard table types, given an Iterable of T and an optional header.
- X
the underlying type of xs.
- xs
an Iterable of X.
- maybeHeader
an optional Header.
- returns
a Table[X] which is either a HeadedTable or an UnheadedTable, as appropriate.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- 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()
- def parse[T](u: => URI, enc: String)(implicit arg0: TableParser[T]): Try[T]
Method to parse a table from a URI with an explicit encoding.
Method to parse a table from a URI with an explicit encoding.
TEST this
- T
the type of the resulting table.
- u
the URI.
- enc
the encoding.
- returns
a Try[T]
- def parse[T](u: => URI)(implicit arg0: TableParser[T], codec: Codec): Try[T]
Method to parse a table from a URI with an implicit encoding.
Method to parse a table from a URI with an implicit encoding.
- T
the type of the resulting table.
- u
the URI.
- codec
(implicit) the encoding.
- returns
a Try[T]
- def parse[T](x: => Source)(implicit arg0: TableParser[T]): Try[T]
Method to parse a table from a Source.
Method to parse a table from a Source.
NOTE: the caller is responsible for closing the given Source.
- T
the type of the resulting table.
- x
the Source.
- returns
a Try[T]
- def parse[T](ws: Iterable[String])(implicit arg0: TableParser[T]): Try[T]
Method to parse a table from an Iterable of String.
Method to parse a table from an Iterable of String.
- T
the type of the resulting table.
- ws
the Strings.
- returns
a Try[T]
- def parse[T](ws: Iterator[String])(implicit arg0: TableParser[T]): Try[T]
Primary method to parse a table from an Iterator of String.
Primary method to parse a table from an Iterator of String. This method is, in turn, invoked by all other parse methods defined below (other than parseSequence).
- T
the type of the resulting table.
- ws
the Strings.
- returns
a Try[T]
- def parseFile[T](pathname: String)(implicit arg0: TableParser[T], codec: Codec): Try[T]
Method to parse a table from an File.
Method to parse a table from an File.
TEST this.
- T
the type of the resulting table.
- pathname
the file pathname.
- codec
(implicit) the encoding.
- returns
a Try[T]
- def parseFile[T](pathname: String, enc: String)(implicit arg0: TableParser[T]): Try[T]
Method to parse a table from a File.
Method to parse a table from a File.
TEST this.
- T
the type of the resulting table.
- pathname
the file pathname.
- enc
the explicit encoding.
- returns
a Try[T]
- def parseFile[T](f: => File)(implicit arg0: TableParser[T], codec: Codec): Try[T]
Method to parse a table from an File.
Method to parse a table from an File.
- T
the type of the resulting table.
- f
the File (call by name in case there is an exception thrown while constructing the file).
- codec
(implicit) the encoding.
- returns
a Try[T]
- def parseFile[T](f: => File, enc: String)(implicit arg0: TableParser[T]): Try[T]
Method to parse a table from a File.
Method to parse a table from a File.
TEST this.
- T
the type of the resulting table.
- f
the File (call by name in case there is an exception thrown while constructing the file).
- enc
the explicit encoding.
- returns
a Try[T]
- def parseInputStream[T](i: => InputStream, enc: String)(implicit arg0: TableParser[T]): Try[T]
Method to parse a table from an InputStream with an explicit encoding.
Method to parse a table from an InputStream with an explicit encoding.
TEST this
- T
the type of the resulting table.
- i
the InputStream.
- enc
the encoding.
- returns
a Try[T]
- def parseInputStream[T](i: => InputStream)(implicit arg0: TableParser[T], codec: Codec): Try[T]
Method to parse a table from an InputStream with an implicit encoding.
Method to parse a table from an InputStream with an implicit encoding.
- T
the type of the resulting table.
- i
the InputStream (call-by-name).
- codec
(implicit) the encoding.
- returns
a Try[T]
- def parseResource[T](u: => URL, enc: String)(implicit arg0: TableParser[T]): Try[T]
Method to parse a table from a URL with an explicit encoding.
Method to parse a table from a URL with an explicit encoding.
NOTE: the logic here is different from that of parseResource(u:=>URL)(implicit codec: Codec) above.
- T
the type of the resulting table.
- u
the URL.
- enc
the encoding.
- returns
a Try[T]
- def parseResource[T](u: => URL)(implicit arg0: TableParser[T], codec: Codec): Try[T]
Method to parse a table from a URL.
Method to parse a table from a URL.
- T
the type of the resulting table.
- u
the URI.
- returns
a Try[T]
- def parseResource[T](s: String, clazz: Class[_] = getClass)(implicit arg0: TableParser[T], codec: Codec): Try[T]
Method to parse a table from an File.
Method to parse a table from an File.
- T
the type of the resulting table.
- s
the resource name.
- clazz
the class for which the resource should be sought (defaults to the calling class).
- codec
(implicit) the encoding.
- returns
a Try[T]
- def parseSequence[T](wss: Iterator[Seq[String]])(implicit arg0: TableParser[T]): Try[T]
Method to parse a table from a Seq of Seq of String.
Method to parse a table from a Seq of Seq of String.
- T
the type of the resulting table.
- wss
the Sequence of Strings.
- returns
a Try[T]
- 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(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()