object CsvParser
Csv parsing utilities
- Alphabetic
- By Inheritance
- CsvParser
- 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
- 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
- def makeAsciiSilentCharsetDecoder: CharsetDecoder
- 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 parseFile[T](file: File, cols: Seq[Int] = Nil, fieldSeparator: Char = ',', quoteChar: Char = '"', recordSeparator: String = "\r\n", maxLines: Long = Long.MaxValue, charset: CharsetDecoder = makeAsciiSilentCharsetDecoder, bufferSize: Int = 8192)(implicit st: ST[T]): Either[String, Frame[Int, Int, T]]
- def parseFileWithHeader[T](file: File, cols: Seq[Int] = Nil, fieldSeparator: Char = ',', quoteChar: Char = '"', recordSeparator: String = "\r\n", maxLines: Long = Long.MaxValue, charset: CharsetDecoder = makeAsciiSilentCharsetDecoder, bufferSize: Int = 8192)(implicit st: ST[T]): Either[String, Frame[Int, String, T]]
- def parseFromChannel[T](channel: ReadableByteChannel, cols: Seq[Int] = Nil, fieldSeparator: Char = ',', quoteChar: Char = '"', recordSeparator: String = "\r\n", maxLines: Long = Long.MaxValue, header: Boolean = false, charset: CharsetDecoder = makeAsciiSilentCharsetDecoder, bufferSize: Int = 8192)(implicit st: ST[T]): Either[String, (Frame[Int, Int, T], Option[Index[String]])]
Parse CSV files according to RFC 4180
Parse CSV files according to RFC 4180
- cols
The column offsets to parse (if empty, parse everything)
- fieldSeparator
The separator; default is comma
- quoteChar
Within matching quotes, treat separChar as normal char; default is double-quote
- recordSeparator
Record separator (line ending)
- maxLines
The maximum number of records that will be read from the file. Includes header.
- header
indicates whether the first line should be set aside
- def parseInputStream[T](inputStream: InputStream, cols: Seq[Int] = Nil, fieldSeparator: Char = ',', quoteChar: Char = '"', recordSeparator: String = "\r\n", maxLines: Long = Long.MaxValue, charset: CharsetDecoder = makeAsciiSilentCharsetDecoder, bufferSize: Int = 8192)(implicit st: ST[T]): Either[String, Frame[Int, Int, T]]
- def parseInputStreamWithHeader[T](inputStream: InputStream, cols: Seq[Int] = Nil, fieldSeparator: Char = ',', quoteChar: Char = '"', recordSeparator: String = "\r\n", maxLines: Long = Long.MaxValue, charset: CharsetDecoder = makeAsciiSilentCharsetDecoder, bufferSize: Int = 8192)(implicit st: ST[T]): Either[String, Frame[Int, String, T]]
- def parseString[T](data: String, cols: Seq[Int] = Nil, fieldSeparator: Char = ',', quoteChar: Char = '"', recordSeparator: String = "\r\n", maxLines: Long = Long.MaxValue, charset: CharsetDecoder = makeAsciiSilentCharsetDecoder, bufferSize: Int = 8192)(implicit st: ST[T]): Either[String, Frame[Int, Int, T]]
- def parseStringWithHeader[T](data: String, cols: Seq[Int] = Nil, fieldSeparator: Char = ',', quoteChar: Char = '"', recordSeparator: String = "\r\n", maxLines: Long = Long.MaxValue, charset: CharsetDecoder = makeAsciiSilentCharsetDecoder, bufferSize: Int = 8192)(implicit st: ST[T]): Either[String, Frame[Int, String, 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()