| |
|
| java.lang.Object org.netbeans.spi.project.support.ant.ProjectProperties
ProjectProperties | final class ProjectProperties (Code) | | Manages the loaded property files for
AntProjectHelper .
author: Jesse Glick |
ProjectProperties | public ProjectProperties(AntProjectHelper helper)(Code) | | Create a project properties helper object.
Parameters: helper - the associated helper |
getProperties | public EditableProperties getProperties(String path)(Code) | | Get properties from a given path.
Parameters: path - the project-relative path the applicable properties (created if empty; never null) |
getPropertyProvider | public PropertyProvider getPropertyProvider(String path)(Code) | | Make a property provider that loads from this file
and fires changes when it is written to (even in memory).
|
putProperties | public boolean putProperties(String path, EditableProperties props)(Code) | | Store properties in memory.
Parameters: path - the project-relative path Parameters: props - the new properties, or null to remove the properties file true if an actual change was made |
write | public FileLock write(String path) throws IOException(Code) | | Write cached properties to disk.
Parameters: the - project-relative path throws: IOException - if the file could not be written |
|
|
|