当前页面:
在线文档首页 >
NetBeans API Javadoc (Current Development Version)
J2SEProjectConfigurations (Java SE Projects) - NetBeans API Javadoc (Current Development Version)
org.netbeans.modules.java.j2seproject.api
Class J2SEProjectConfigurations
java.lang.Object
org.netbeans.modules.java.j2seproject.api.J2SEProjectConfigurations
public final class J2SEProjectConfigurations
- extends Object
Utility class for creating project run configuration files
- Since:
- 1.10
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
createConfigurationFiles
public static void createConfigurationFiles(Project prj,
String configName,
Properties sharedProps,
Properties privateProps)
throws IOException,
IllegalArgumentException
- Creates property files for run configuration and writes passed properties.
Shared properties are written to nbproject/configs folder and private properties
are written to nbproject/private/configs folder. The property file is not created
if null is passed for either shared or private properties.
- Parameters:
prj
- project under which property files will be createdconfigName
- name of the config file, '.properties' is apendedsharedProps
- properties to be written to shared file; is allowed to
contain special purpose properties starting with $ (e.g. $label)privateProps
- properties to be written to private file
- Throws:
IOException
IllegalArgumentException