com.sun.codemodel.fmt
public class JPropertyFile extends JResourceFile
Constructor and Description |
---|
JPropertyFile(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
add(java.lang.String key,
java.lang.String value)
Adds key/value pair into the property file.
|
void |
build(java.io.OutputStream out)
called by JPackage to produce the file image.
|
isResource, name
public void add(java.lang.String key, java.lang.String value)
public void build(java.io.OutputStream out) throws java.io.IOException
JResourceFile
build
in class JResourceFile
java.io.IOException
Copyright © 2005-2014 Sun Microsystems. All Rights Reserved.