public class StandardPropertiesWriter extends 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<String> properties,
Writer to) |
protected boolean |
writeAnnotations(AnnotationContainer of,
Writer to) |
protected void |
writeHead(Properties<String> of,
Writer to) |
protected void |
writeProperty(Property<String> property,
Writer to) |
public StandardPropertiesWriter()
public StandardPropertiesWriter(@Nonnull PropertyFormatter propertyFormatter, @Nonnull AnnotationsFormatter annotationsFormatter)
@Nonnull public static StandardPropertiesWriter propertyWriter()
public void write(@Nullable Properties<String> properties, @Nonnull Writer to) throws IOException
write in interface PropertiesWriterIOExceptionprotected void writeHead(@Nonnull Properties<String> of, @Nonnull Writer to) throws IOException
IOExceptionprotected void writeProperty(@Nonnull Property<String> property, @Nonnull Writer to) throws IOException
IOExceptionprotected boolean writeAnnotations(@Nullable AnnotationContainer of, @Nonnull Writer to) throws IOException
IOException@Nonnull public PropertyFormatter propertyFormatter()
@Nonnull public AnnotationsFormatter annotationsFormatter()
Copyright © 2023 echocat. All rights reserved.