public class JPropertyFile extends AbstractJResourceFile
| Constructor and Description |
|---|
JPropertyFile(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(String sKey,
String sValue)
Adds key/value pair into the property file.
|
void |
build(OutputStream out)
called by
JPackage to produce the file image. |
isResource, namepublic void add(@Nonnull String sKey, @Nonnull String sValue)
sKey - Properties keysValue - Properties valuepublic void build(@Nonnull OutputStream out) throws IOException
AbstractJResourceFileJPackage to produce the file image.build in class AbstractJResourceFileout - OutputStream to write toIOException - If writing on the stream throws an errorCopyright © 2013–2015 Philip Helger. All rights reserved.