ConfHelper

com.malliina.push.ConfHelper
trait ConfHelper[T]

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object APNSTokenConf.type

Members list

Concise view

Value members

Abstract methods

def parse(readKey: String => Either[ErrorMessage, String]): Either[ErrorMessage, T]

Concrete methods

def fromConf(map: Map[String, String]): Either[ErrorMessage, T]
def fromFile(file: Path): Either[ErrorMessage, T]
def load(file: Path): T