|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.pf.file.PropertiesFileWriter
public class PropertiesFileWriter
Writes ordered properties with preserved comments and blank lines to a file.
| Constructor Summary | |
|---|---|
PropertiesFileWriter()
Initialize the new instance with default values. |
|
| Method Summary | |
|---|---|
void |
writeTo(java.lang.String filename,
PropertiesFileContent properties)
Writes the given properties including all comments and blank lines to a file with the specified name. |
void |
writeTo(java.io.Writer writer,
PropertiesFileContent properties)
Writes the given properties including all comments and blank lines to the given writer. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PropertiesFileWriter()
| Method Detail |
|---|
public void writeTo(java.lang.String filename,
PropertiesFileContent properties)
throws java.io.IOException
filename - The name of the file to write toproperties - The properties to write
java.io.IOException
public void writeTo(java.io.Writer writer,
PropertiesFileContent properties)
throws java.io.IOException
writer - The writer object to write the properties toproperties - The properties to write
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||