Struct java_properties::PropertiesWriter [−][src]
pub struct PropertiesWriter<W: Write> { /* fields omitted */ }
Expand description
Writes to a properties file.
Implementations
Writes to the given Write
stream in the given encoding.
Note that the Java properties specification specifies ISO-8859-1 encoding
for properties files; in most cases, new
should be called instead.
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> !RefUnwindSafe for PropertiesWriter<W>
impl<W> !Send for PropertiesWriter<W>
impl<W> !Sync for PropertiesWriter<W>
impl<W> Unpin for PropertiesWriter<W> where
W: Unpin,
impl<W> !UnwindSafe for PropertiesWriter<W>