Class SalmonRegistry

java.lang.Object
com.mku.salmon.win.registry.SalmonRegistry

public class SalmonRegistry extends Object
Read and Write to Windows registry
  • Constructor Details

    • SalmonRegistry

      public SalmonRegistry()
  • Method Details

    • read

      public <T> T read(String key)
      Read a value from the registry
      Type Parameters:
      T - The class value
      Parameters:
      key - The key
      Returns:
      The value
    • write

      public void write(String key, Object value)
      Write a value from the registry
      Parameters:
      key - The key
      value - The value
    • delete

      public void delete(String key)
      Delete a value
      Parameters:
      key - The key
    • exists

      public boolean exists(String key)
      True if value exists
      Parameters:
      key - The key
      Returns:
      True if value exists