Skip to content
ZERNYTH.

API reference / dev.zernyth.api.config

Configuration

public final class Configuration

Java-only configuration values. Synchronized mutations; reads return detached values. No implicit disk writes.

Members

  • public Configuration(Map<String, ?> values)
  • public synchronized void replace(Map<String, ?> input)
  • public synchronized Map<String, Object> values()
  • public synchronized Object get(String path)
  • public synchronized void set(String path, Object value)
  • public String getString(String path, String fallback)
  • public boolean getBoolean(String path, boolean fallback)
  • public int getInt(String path, int fallback)
  • public double getDouble(String path, double fallback)
  • public <T> List<T> getList(String path, Class<T> type)