StringUtils

Various utility methods about string conversions to different types.

class Object
trait Matchable
class Any

Value members

Concrete methods

def toBool(s: String): Option[Boolean]
def toBool(s: String, d: Boolean): Boolean
def toDouble(s: String): Option[Double]
def toDouble(s: String, d: Double): Double
def toFloat(s: String): Option[Float]
def toFloat(s: String, d: Float): Float
def toInt(s: String): Option[Int]
def toInt(s: String, d: Int): Int
def toLong(s: String): Option[Long]
def toLong(s: String, d: Long): Long