|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.settings.io.DefaultSettingsWriter
@Component(role=SettingsWriter.class) public class DefaultSettingsWriter
Handles serialization of settings into the default textual format.
| Constructor Summary | |
|---|---|
DefaultSettingsWriter()
|
|
| Method Summary | |
|---|---|
void |
write(File output,
Map<String,Object> options,
Settings settings)
Writes the supplied settings to the specified file. |
void |
write(OutputStream output,
Map<String,Object> options,
Settings settings)
Writes the supplied settings to the specified byte stream. |
void |
write(Writer output,
Map<String,Object> options,
Settings settings)
Writes the supplied settings to the specified character writer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultSettingsWriter()
| Method Detail |
|---|
public void write(File output,
Map<String,Object> options,
Settings settings)
throws IOException
SettingsWriter
write in interface SettingsWriteroutput - The file to serialize the settings to, must not be null.options - The options to use for serialization, may be null to use the default values.settings - The settings to serialize, must not be null.
IOException - If the settings could not be serialized.
public void write(Writer output,
Map<String,Object> options,
Settings settings)
throws IOException
SettingsWriter
write in interface SettingsWriteroutput - The writer to serialize the settings to, must not be null.options - The options to use for serialization, may be null to use the default values.settings - The settings to serialize, must not be null.
IOException - If the settings could not be serialized.
public void write(OutputStream output,
Map<String,Object> options,
Settings settings)
throws IOException
SettingsWriter
write in interface SettingsWriteroutput - The stream to serialize the settings to, must not be null.options - The options to use for serialization, may be null to use the default values.settings - The settings to serialize, must not be null.
IOException - If the settings could not be serialized.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||