public interface AuxiliaryProperties
Allow to store arbitrary properties in the project, similarly as AuxiliaryConfiguration
.
Used as backing store for ProjectUtils.getPreferences(org.netbeans.api.project.Project, java.lang.Class, boolean)
.
Note to API clients: do not use this interface directly, use
ProjectUtils.getPreferences(org.netbeans.api.project.Project, java.lang.Class, boolean)
instead.
Project.getLookup()
Modifier and Type | Method and Description |
---|---|
String |
get(String key,
boolean shared)
Get a property value.
|
Iterable<String> |
listKeys(boolean shared)
List all keys of all known properties.
|
void |
put(String key,
String value,
boolean shared)
Put a property value.
|
String get(String key, boolean shared)
key
- name of the propertyshared
- true to look in a sharable settings area, false to look in a private
settings areavoid put(String key, String value, boolean shared)
key
- name of the propertyvalue
- value of the property. null
will remove the property.shared
- true to look in a sharable settings area, false to look in a private
settings area