public class StandardPropertiesWriter extends java.lang.Object implements PropertiesWriter
| Constructor and Description |
|---|
StandardPropertiesWriter() |
StandardPropertiesWriter(PropertyFormatter propertyFormatter,
AnnotationsFormatter annotationsFormatter) |
| Modifier and Type | Method and Description |
|---|---|
AnnotationsFormatter |
annotationsFormatter() |
PropertyFormatter |
propertyFormatter() |
static StandardPropertiesWriter |
propertyWriter() |
void |
write(Properties<java.lang.String> properties,
java.io.Writer to) |
protected boolean |
writeAnnotations(AnnotationContainer of,
java.io.Writer to) |
protected void |
writeHead(Properties<java.lang.String> of,
java.io.Writer to) |
protected void |
writeProperty(Property<java.lang.String> property,
java.io.Writer to) |
public StandardPropertiesWriter()
public StandardPropertiesWriter(@Nonnull
PropertyFormatter propertyFormatter,
@Nonnull
AnnotationsFormatter annotationsFormatter)
@Nonnull public static StandardPropertiesWriter propertyWriter()
public void write(@Nullable
Properties<java.lang.String> properties,
@Nonnull
java.io.Writer to)
throws java.io.IOException
write in interface PropertiesWriterjava.io.IOExceptionprotected void writeHead(@Nonnull
Properties<java.lang.String> of,
@Nonnull
java.io.Writer to)
throws java.io.IOException
java.io.IOExceptionprotected void writeProperty(@Nonnull
Property<java.lang.String> property,
@Nonnull
java.io.Writer to)
throws java.io.IOException
java.io.IOExceptionprotected boolean writeAnnotations(@Nullable
AnnotationContainer of,
@Nonnull
java.io.Writer to)
throws java.io.IOException
java.io.IOException@Nonnull public PropertyFormatter propertyFormatter()
@Nonnull public AnnotationsFormatter annotationsFormatter()
Copyright © 2015 echocat. All Rights Reserved.