[−]Struct jni_android_sys::java::util::prefs::AbstractPreferences
public class AbstractPreferences
Required feature: "java-util-prefs-AbstractPreferences"
Methods
impl AbstractPreferences
pub fn put<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn get<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn remove<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn clear<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn putInt<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getInt<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<i32, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn putLong<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i64
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i64
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getLong<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i64
) -> Result<i64, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i64
) -> Result<i64, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn putBoolean<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getBoolean<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: bool
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: bool
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn putFloat<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: f32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: f32
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getFloat<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: f32
) -> Result<f32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: f32
) -> Result<f32, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn putDouble<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: f64
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: f64
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getDouble<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: f64
) -> Result<f64, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: f64
) -> Result<f64, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn putByteArray<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ByteArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ByteArray>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getByteArray<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ByteArray>>
) -> Result<Option<Local<'env, ByteArray>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ByteArray>>
) -> Result<Option<Local<'env, ByteArray>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn keys<'env>(
&'env self
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn childrenNames<'env>(
&'env self
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn parent<'env>(
&'env self
) -> Result<Option<Local<'env, Preferences>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Preferences>>, Local<'env, Throwable>>
Required features: "java-util-prefs-Preferences"
pub fn node<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Preferences>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Preferences>>, Local<'env, Throwable>>
Required features: "java-lang-String", "java-util-prefs-Preferences"
pub fn nodeExists<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn removeNode<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn name<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn absolutePath<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn isUserNode<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn addPreferenceChangeListener<'env>(
&'env self,
arg0: impl Into<Option<&'env PreferenceChangeListener>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env PreferenceChangeListener>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-util-prefs-PreferenceChangeListener"
pub fn removePreferenceChangeListener<'env>(
&'env self,
arg0: impl Into<Option<&'env PreferenceChangeListener>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env PreferenceChangeListener>>
) -> Result<(), Local<'env, Throwable>>
removePreferenceChangeListener
Required features: "java-util-prefs-PreferenceChangeListener"
pub fn addNodeChangeListener<'env>(
&'env self,
arg0: impl Into<Option<&'env NodeChangeListener>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env NodeChangeListener>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-util-prefs-NodeChangeListener"
pub fn removeNodeChangeListener<'env>(
&'env self,
arg0: impl Into<Option<&'env NodeChangeListener>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env NodeChangeListener>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-util-prefs-NodeChangeListener"
pub fn toString<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn sync<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn flush<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn exportNode<'env>(
&'env self,
arg0: impl Into<Option<&'env OutputStream>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env OutputStream>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-io-OutputStream"
pub fn exportSubtree<'env>(
&'env self,
arg0: impl Into<Option<&'env OutputStream>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env OutputStream>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-io-OutputStream"
Methods from Deref<Target = Preferences>
pub fn put<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn get<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn remove<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn clear<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn putInt<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getInt<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<i32, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn putLong<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i64
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i64
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getLong<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i64
) -> Result<i64, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i64
) -> Result<i64, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn putBoolean<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getBoolean<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: bool
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: bool
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn putFloat<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: f32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: f32
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getFloat<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: f32
) -> Result<f32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: f32
) -> Result<f32, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn putDouble<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: f64
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: f64
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getDouble<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: f64
) -> Result<f64, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: f64
) -> Result<f64, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn putByteArray<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ByteArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ByteArray>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getByteArray<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ByteArray>>
) -> Result<Option<Local<'env, ByteArray>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ByteArray>>
) -> Result<Option<Local<'env, ByteArray>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn keys<'env>(
&'env self
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn childrenNames<'env>(
&'env self
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn parent<'env>(
&'env self
) -> Result<Option<Local<'env, Preferences>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Preferences>>, Local<'env, Throwable>>
Required features: "java-util-prefs-Preferences"
pub fn node<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Preferences>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Preferences>>, Local<'env, Throwable>>
Required features: "java-lang-String", "java-util-prefs-Preferences"
pub fn nodeExists<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn removeNode<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn name<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn absolutePath<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn isUserNode<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn toString<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn flush<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn sync<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn addPreferenceChangeListener<'env>(
&'env self,
arg0: impl Into<Option<&'env PreferenceChangeListener>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env PreferenceChangeListener>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-util-prefs-PreferenceChangeListener"
pub fn removePreferenceChangeListener<'env>(
&'env self,
arg0: impl Into<Option<&'env PreferenceChangeListener>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env PreferenceChangeListener>>
) -> Result<(), Local<'env, Throwable>>
removePreferenceChangeListener
Required features: "java-util-prefs-PreferenceChangeListener"
pub fn addNodeChangeListener<'env>(
&'env self,
arg0: impl Into<Option<&'env NodeChangeListener>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env NodeChangeListener>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-util-prefs-NodeChangeListener"
pub fn removeNodeChangeListener<'env>(
&'env self,
arg0: impl Into<Option<&'env NodeChangeListener>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env NodeChangeListener>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-util-prefs-NodeChangeListener"
pub fn exportNode<'env>(
&'env self,
arg0: impl Into<Option<&'env OutputStream>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env OutputStream>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-io-OutputStream"
pub fn exportSubtree<'env>(
&'env self,
arg0: impl Into<Option<&'env OutputStream>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env OutputStream>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-io-OutputStream"
pub const MAX_KEY_LENGTH: i32
[src]
pub const MAX_NAME_LENGTH: i32
[src]
pub const MAX_VALUE_LENGTH: i32
[src]
Trait Implementations
impl AsJValue for AbstractPreferences
impl AsValidJObjectAndEnv for AbstractPreferences
impl Deref for AbstractPreferences
impl JniType for AbstractPreferences
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for AbstractPreferences
impl !Send for AbstractPreferences
impl !Sync for AbstractPreferences
impl Unpin for AbstractPreferences
impl UnwindSafe for AbstractPreferences
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, 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>,