[]Struct jni_android_sys::java::util::ResourceBundle

#[repr(transparent)]
pub struct ResourceBundle(_);

public class ResourceBundle

Required feature: "java-util-ResourceBundle"

Methods

impl ResourceBundle

pub fn new<'env>(
    __jni_env: &'env Env
) -> Result<Local<'env, ResourceBundle>, Local<'env, Throwable>>
[src]

pub fn getBaseBundleName<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

getBaseBundleName

Required features: "java-lang-String"

pub fn getString<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

getString

Required features: "java-lang-String"

pub fn getStringArray<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
[src]

getStringArray

Required features: "java-lang-String"

pub fn getObject<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]

getObject

Required features: "java-lang-Object", "java-lang-String"

pub fn getLocale<'env>(
    &'env self
) -> Result<Option<Local<'env, Locale>>, Local<'env, Throwable>>
[src]

getLocale

Required features: "java-util-Locale"

pub fn getBundle_String<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, ResourceBundle>>, Local<'env, Throwable>>
[src]

getBundle

Required features: "java-lang-String", "java-util-ResourceBundle"

pub fn getBundle_String_Control<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env ResourceBundle_Control>>
) -> Result<Option<Local<'env, ResourceBundle>>, Local<'env, Throwable>>
[src]

getBundle

Required features: "java-lang-String", "java-util-ResourceBundle", "java-util-ResourceBundle_Control"

pub fn getBundle_String_Locale<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env Locale>>
) -> Result<Option<Local<'env, ResourceBundle>>, Local<'env, Throwable>>
[src]

getBundle

Required features: "java-lang-String", "java-util-Locale", "java-util-ResourceBundle"

pub fn getBundle_String_Locale_Control<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env Locale>>,
    arg2: impl Into<Option<&'env ResourceBundle_Control>>
) -> Result<Option<Local<'env, ResourceBundle>>, Local<'env, Throwable>>
[src]

getBundle

Required features: "java-lang-String", "java-util-Locale", "java-util-ResourceBundle", "java-util-ResourceBundle_Control"

pub fn getBundle_String_Locale_ClassLoader<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env Locale>>,
    arg2: impl Into<Option<&'env ClassLoader>>
) -> Result<Option<Local<'env, ResourceBundle>>, Local<'env, Throwable>>
[src]

getBundle

Required features: "java-lang-ClassLoader", "java-lang-String", "java-util-Locale", "java-util-ResourceBundle"

pub fn getBundle_String_Locale_ClassLoader_Control<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env Locale>>,
    arg2: impl Into<Option<&'env ClassLoader>>,
    arg3: impl Into<Option<&'env ResourceBundle_Control>>
) -> Result<Option<Local<'env, ResourceBundle>>, Local<'env, Throwable>>
[src]

getBundle

Required features: "java-lang-ClassLoader", "java-lang-String", "java-util-Locale", "java-util-ResourceBundle", "java-util-ResourceBundle_Control"

pub fn clearCache<'env>(
    __jni_env: &'env Env
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn clearCache_ClassLoader<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env ClassLoader>>
) -> Result<(), Local<'env, Throwable>>
[src]

clearCache

Required features: "java-lang-ClassLoader"

pub fn getKeys<'env>(
    &'env self
) -> Result<Option<Local<'env, Enumeration>>, Local<'env, Throwable>>
[src]

getKeys

Required features: "java-util-Enumeration"

pub fn containsKey<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]

containsKey

Required features: "java-lang-String"

pub fn keySet<'env>(
    &'env self
) -> Result<Option<Local<'env, Set>>, Local<'env, Throwable>>
[src]

keySet

Required features: "java-util-Set"

Methods from Deref<Target = Object>

pub fn getClass<'env>(
    &'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
[src]

getClass

Required features: "java-lang-Class"

pub fn hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn equals<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
[src]

equals

Required features: "java-lang-Object"

pub fn toString<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

toString

Required features: "java-lang-String"

pub fn notify<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn notifyAll<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn wait_long<'env>(
    &'env self,
    arg0: i64
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn wait_long_int<'env>(
    &'env self,
    arg0: i64,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

Trait Implementations

impl AsJValue for ResourceBundle

impl AsValidJObjectAndEnv for ResourceBundle

impl Deref for ResourceBundle

type Target = Object

The resulting type after dereferencing.

impl JniType for ResourceBundle

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, 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.