[−][src]Struct java_props::Properties
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
impl RefUnwindSafe for Properties
impl Send for Properties
impl Sync for Properties
impl Unpin for Properties
impl UnwindSafe for Properties
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,