Package com.sun.codemodel.fmt
Class JPropertyFile
java.lang.Object
com.sun.codemodel.JResourceFile
com.sun.codemodel.fmt.JPropertyFile
A property file.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds key/value pair into the property file.voidbuild(OutputStream out) called by JPackage to produce the file image.Methods inherited from class com.sun.codemodel.JResourceFile
isResource, name
-
Constructor Details
-
JPropertyFile
-
-
Method Details
-
add
Adds key/value pair into the property file. If you call this method twice with the same key, the old one is overriden by the new one. -
build
Description copied from class:JResourceFilecalled by JPackage to produce the file image.- Specified by:
buildin classJResourceFile- Throws:
IOException
-