[][src]Struct java_props::Properties

pub struct Properties { /* fields omitted */ }

Methods

impl Properties[src]

pub fn new() -> Properties[src]

pub fn from_str(contents: &String) -> Properties[src]

pub fn from_file(file: &File) -> Result<Properties>[src]

pub fn save(&self, file: &mut File) -> Result<String>[src]

pub fn get(&self, key: &str) -> Option<&String>[src]

pub fn set(&mut self, key: &str, value: &str)[src]

pub fn unset(&mut self, key: &str)[src]

pub fn parse_file(file: &File) -> Result<HashMap<String, String>>[src]

pub fn parse(contents: &String) -> HashMap<String, String>[src]

pub fn is_newline_value(value: Option<&PropertyValue>) -> bool[src]

Trait Implementations

impl Debug for Properties[src]

impl ToString for Properties[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.