All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.gerweck.scala.util.prefs.PrefHandler.scala Maven / Gradle / Ivy

There is a newer version: 3.2.0
Show newest version
package org.gerweck.scala.util.prefs

import java.util.prefs.Preferences

trait PrefHandler[A] {
  def read(path: String, default: A)(implicit p: Preferences): A
  def write(path: String, a: A)(implicit p: Preferences): Unit
}

/* PlatformPrefHandlers are defined in the java-version-specific folders */
object PrefHandler extends CommonPrefHandlers with PlatformPrefHandlers




© 2015 - 2024 Weber Informatics LLC | Privacy Policy