Struct java_properties::PropertiesWriter [] [src]

pub struct PropertiesWriter<W: Write> { /* fields omitted */ }

Writes to a properties file.

Methods

impl<W: Write> PropertiesWriter<W>
[src]

[src]

Writes to the given Write stream.

[src]

Writes a comment to the file.

[src]

Writes a key/value pair to the file.

[src]

Flushes the underlying stream.

[src]

Sets the comment prefix.

The prefix must contain a '#' or a '!', may only contain spaces, tabs, or form feeds before the comment character, and may not contain any carriage returns or line feeds ('\r' or '\n').

[src]

Sets the key/value separator.

The separator may be non-empty whitespace, or a colon with optional whitespace on either side, or an equals sign with optional whitespace on either side. (Whitespace here means ' ', '\t', or '\f'.)

[src]

Sets the line ending.

Trait Implementations

Auto Trait Implementations

impl<W> Send for PropertiesWriter<W> where
    W: Send

impl<W> Sync for PropertiesWriter<W> where
    W: Sync