Util
slash.matrixf.Util
object Util
Attributes
- Source
- Util.scala
- Graph
-
- Supertypes
- Self type
-
Util.type
Members list
Value members
Concrete methods
Examine sample text to guess delimiter String. Provides a reasonably fast guess, but can potentially fail.
Examine sample text to guess delimiter String. Provides a reasonably fast guess, but can potentially fail.
Premise: choose the most frequently occurring candidate. priority if tied counts: comma, tab, pipe and semicolon. Ambiguous result returns empty string, unless @param ignoreErrors true.
Value parameters
- ignoreErrors
-
ambiguity throws exception
- sampleText
-
lines examined to estimate
- src
-
inserted in exception error messages.
Attributes
- Throws
-
sys.error
on ambigous results.
- Source
- Util.scala
Examine sample text to guess delimiter String.
Examine sample text to guess delimiter String.
Value parameters
- delimiter
-
delimiter Char
- line
-
row of delimited column values
Attributes
- Source
- Util.scala
Attributes
- Source
- Util.scala
In this article