|
org.netbeans.modules.projectapi/1 1.36.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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()
Method Summary | |
---|---|
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. |
Method Detail |
---|
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 area
void 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 areaIterable<String> listKeys(boolean shared)
shared
- true to look in a sharable settings area, false to look in a private
settings area
|
org.netbeans.modules.projectapi/1 1.36.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |