[−]Struct jni_android_sys::java::util::Properties
public class Properties
Required feature: java-util-Properties
Methods
impl Properties
pub fn new<'env>(__jni_env: &'env Env) -> Result<Local<'env, Properties>>[src]
pub fn new_properties<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Properties>>
) -> Result<Local<'env, Properties>>[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Properties>>
) -> Result<Local<'env, Properties>>
Required features: "java-util-Properties"
pub fn set_property<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Object>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Object>>>
Required features: "java-lang-Object", "java-lang-String"
pub fn load_reader<'env>(
&'env self,
arg0: impl Into<Option<&'env Reader>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Reader>>
) -> Result<()>
Required features: "java-io-Reader"
pub fn load_input_stream<'env>(
&'env self,
arg0: impl Into<Option<&'env InputStream>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env InputStream>>
) -> Result<()>
Required features: "java-io-InputStream"
pub fn save<'env>(
&'env self,
arg0: impl Into<Option<&'env OutputStream>>,
arg1: impl Into<Option<&'env String>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env OutputStream>>,
arg1: impl Into<Option<&'env String>>
) -> Result<()>
Required features: "java-io-OutputStream", "java-lang-String"
pub fn store_writer_string<'env>(
&'env self,
arg0: impl Into<Option<&'env Writer>>,
arg1: impl Into<Option<&'env String>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Writer>>,
arg1: impl Into<Option<&'env String>>
) -> Result<()>
Required features: "java-io-Writer", "java-lang-String"
pub fn store_output_stream_string<'env>(
&'env self,
arg0: impl Into<Option<&'env OutputStream>>,
arg1: impl Into<Option<&'env String>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env OutputStream>>,
arg1: impl Into<Option<&'env String>>
) -> Result<()>
Required features: "java-io-OutputStream", "java-lang-String"
pub fn load_from_xml<'env>(
&'env self,
arg0: impl Into<Option<&'env InputStream>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env InputStream>>
) -> Result<()>
Required features: "java-io-InputStream"
pub fn store_to_xml_output_stream_string<'env>(
&'env self,
arg0: impl Into<Option<&'env OutputStream>>,
arg1: impl Into<Option<&'env String>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env OutputStream>>,
arg1: impl Into<Option<&'env String>>
) -> Result<()>
Required features: "java-io-OutputStream", "java-lang-String"
pub fn store_to_xml_output_stream_string_string<'env>(
&'env self,
arg0: impl Into<Option<&'env OutputStream>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env String>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env OutputStream>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env String>>
) -> Result<()>
Required features: "java-io-OutputStream", "java-lang-String"
pub fn get_property_string<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>>
Required features: "java-lang-String"
pub fn get_property_string_string<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>>
Required features: "java-lang-String"
pub fn property_names<'env>(
&'env self
) -> Result<Option<Local<'env, Enumeration>>>[src]
&'env self
) -> Result<Option<Local<'env, Enumeration>>>
Required features: "java-util-Enumeration"
pub fn string_property_names<'env>(
&'env self
) -> Result<Option<Local<'env, Set>>>[src]
&'env self
) -> Result<Option<Local<'env, Set>>>
Required features: "java-util-Set"
pub fn list_print_stream<'env>(
&'env self,
arg0: impl Into<Option<&'env PrintStream>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env PrintStream>>
) -> Result<()>
Required features: "java-io-PrintStream"
pub fn list_print_writer<'env>(
&'env self,
arg0: impl Into<Option<&'env PrintWriter>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env PrintWriter>>
) -> Result<()>
Required features: "java-io-PrintWriter"
Methods from Deref<Target = Hashtable>
pub fn size<'env>(&'env self) -> Result<i32>[src]
pub fn is_empty<'env>(&'env self) -> Result<bool>[src]
pub fn keys<'env>(&'env self) -> Result<Option<Local<'env, Enumeration>>>[src]
Required features: "java-util-Enumeration"
pub fn elements<'env>(&'env self) -> Result<Option<Local<'env, Enumeration>>>[src]
Required features: "java-util-Enumeration"
pub fn contains<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool>
Required features: "java-lang-Object"
pub fn contains_value<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool>
Required features: "java-lang-Object"
pub fn contains_key<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool>
Required features: "java-lang-Object"
pub fn get<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<Option<Local<'env, Object>>>[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<Option<Local<'env, Object>>>
Required features: "java-lang-Object"
pub fn put<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>,
arg1: impl Into<Option<&'env Object>>
) -> Result<Option<Local<'env, Object>>>[src]
&'env self,
arg0: impl Into<Option<&'env Object>>,
arg1: impl Into<Option<&'env Object>>
) -> Result<Option<Local<'env, Object>>>
Required features: "java-lang-Object"
pub fn remove_object<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<Option<Local<'env, Object>>>[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<Option<Local<'env, Object>>>
Required features: "java-lang-Object"
pub fn put_all<'env>(
&'env self,
arg0: impl Into<Option<&'env Map>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Map>>
) -> Result<()>
Required features: "java-util-Map"
pub fn clear<'env>(&'env self) -> Result<()>[src]
pub fn clone<'env>(&'env self) -> Result<Option<Local<'env, Object>>>[src]
Required features: "java-lang-Object"
pub fn to_string<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]
Required features: "java-lang-String"
pub fn key_set<'env>(&'env self) -> Result<Option<Local<'env, Set>>>[src]
Required features: "java-util-Set"
pub fn entry_set<'env>(&'env self) -> Result<Option<Local<'env, Set>>>[src]
Required features: "java-util-Set"
pub fn values<'env>(&'env self) -> Result<Option<Local<'env, Collection>>>[src]
Required features: "java-util-Collection"
pub fn equals<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool>
Required features: "java-lang-Object"
pub fn hash_code<'env>(&'env self) -> Result<i32>[src]
pub fn get_or_default<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>,
arg1: impl Into<Option<&'env Object>>
) -> Result<Option<Local<'env, Object>>>[src]
&'env self,
arg0: impl Into<Option<&'env Object>>,
arg1: impl Into<Option<&'env Object>>
) -> Result<Option<Local<'env, Object>>>
Required features: "java-lang-Object"
pub fn for_each<'env>(
&'env self,
arg0: impl Into<Option<&'env BiConsumer>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env BiConsumer>>
) -> Result<()>
Required features: "java-util-function-BiConsumer"
pub fn replace_all<'env>(
&'env self,
arg0: impl Into<Option<&'env BiFunction>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env BiFunction>>
) -> Result<()>
Required features: "java-util-function-BiFunction"
pub fn put_if_absent<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>,
arg1: impl Into<Option<&'env Object>>
) -> Result<Option<Local<'env, Object>>>[src]
&'env self,
arg0: impl Into<Option<&'env Object>>,
arg1: impl Into<Option<&'env Object>>
) -> Result<Option<Local<'env, Object>>>
Required features: "java-lang-Object"
pub fn remove_object_object<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>,
arg1: impl Into<Option<&'env Object>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env Object>>,
arg1: impl Into<Option<&'env Object>>
) -> Result<bool>
Required features: "java-lang-Object"
pub fn replace_object_object_object<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>,
arg1: impl Into<Option<&'env Object>>,
arg2: impl Into<Option<&'env Object>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env Object>>,
arg1: impl Into<Option<&'env Object>>,
arg2: impl Into<Option<&'env Object>>
) -> Result<bool>
Required features: "java-lang-Object"
pub fn replace_object_object<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>,
arg1: impl Into<Option<&'env Object>>
) -> Result<Option<Local<'env, Object>>>[src]
&'env self,
arg0: impl Into<Option<&'env Object>>,
arg1: impl Into<Option<&'env Object>>
) -> Result<Option<Local<'env, Object>>>
Required features: "java-lang-Object"
pub fn compute_if_absent<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>,
arg1: impl Into<Option<&'env Function>>
) -> Result<Option<Local<'env, Object>>>[src]
&'env self,
arg0: impl Into<Option<&'env Object>>,
arg1: impl Into<Option<&'env Function>>
) -> Result<Option<Local<'env, Object>>>
Required features: "java-lang-Object", "java-util-function-Function"
pub fn compute_if_present<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>,
arg1: impl Into<Option<&'env BiFunction>>
) -> Result<Option<Local<'env, Object>>>[src]
&'env self,
arg0: impl Into<Option<&'env Object>>,
arg1: impl Into<Option<&'env BiFunction>>
) -> Result<Option<Local<'env, Object>>>
Required features: "java-lang-Object", "java-util-function-BiFunction"
pub fn compute<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>,
arg1: impl Into<Option<&'env BiFunction>>
) -> Result<Option<Local<'env, Object>>>[src]
&'env self,
arg0: impl Into<Option<&'env Object>>,
arg1: impl Into<Option<&'env BiFunction>>
) -> Result<Option<Local<'env, Object>>>
Required features: "java-lang-Object", "java-util-function-BiFunction"
pub fn merge<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>,
arg1: impl Into<Option<&'env Object>>,
arg2: impl Into<Option<&'env BiFunction>>
) -> Result<Option<Local<'env, Object>>>[src]
&'env self,
arg0: impl Into<Option<&'env Object>>,
arg1: impl Into<Option<&'env Object>>,
arg2: impl Into<Option<&'env BiFunction>>
) -> Result<Option<Local<'env, Object>>>
Required features: "java-lang-Object", "java-util-function-BiFunction"
Trait Implementations
Auto Trait Implementations
impl !Sync for Properties
impl Unpin for Properties
impl !Send for Properties
impl UnwindSafe for Properties
impl RefUnwindSafe for Properties
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> From<T> for T[src]
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
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> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,