[][src]Struct java_properties::PropertiesWriter

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

Writes to a properties file.

Methods

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

Writes to the given Write stream.

Writes a comment to the file.

Writes a key/value pair to the file.

Flushes the underlying stream.

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').

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'.)

Sets the line ending.

Auto Trait Implementations

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

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

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]