站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

J2SEProjectConfigurations (Java SE Projects) - NetBeans API Javadoc (Current Development Version)

org.netbeans.modules.java.j2seproject/1 1.12.0 43

org.netbeans.modules.java.j2seproject.api
Class J2SEProjectConfigurations

java.lang.Object
  extended by org.netbeans.modules.java.j2seproject.api.J2SEProjectConfigurations

public final class J2SEProjectConfigurations
extends Object

Utility class for creating project run configuration files

Since:
1.10

Method Summary
static void createConfigurationFiles(Project prj, String configName, Properties sharedProps, Properties privateProps)
          Creates property files for run configuration and writes passed properties.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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 created
configName - name of the config file, '.properties' is apended
sharedProps - 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

org.netbeans.modules.java.j2seproject/1 1.12.0 43

Built on May 28 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.