|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.Writer
java.io.FilterWriter
org.apache.karaf.util.Properties.PropertiesWriter
public static class Properties.PropertiesWriter
This class is used to write properties lines.
| Field Summary |
|---|
| Fields inherited from class java.io.FilterWriter |
|---|
out |
| Fields inherited from class java.io.Writer |
|---|
lock |
| Constructor Summary | |
|---|---|
Properties.PropertiesWriter(java.io.Writer writer)
Constructor. |
|
| Method Summary | |
|---|---|
void |
writeln(java.lang.String s)
Helper method for writing a line with the platform specific line ending. |
void |
writeProperty(java.lang.String key,
java.lang.String value)
Writes the given property and its value. |
| Methods inherited from class java.io.FilterWriter |
|---|
close, flush, write, write, write |
| Methods inherited from class java.io.Writer |
|---|
append, append, append, write, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Properties.PropertiesWriter(java.io.Writer writer)
writer - a Writer object providing the underlying stream| Method Detail |
|---|
public void writeProperty(java.lang.String key,
java.lang.String value)
throws java.io.IOException
key - the property keyvalue - the property value
java.io.IOException - if an error occurs
public void writeln(java.lang.String s)
throws java.io.IOException
s - the content of the line (may be null)
java.io.IOException - if an error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||