[]Struct jni_android_sys::java::util::PropertyResourceBundle

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

public class PropertyResourceBundle

Required feature: "java-util-PropertyResourceBundle"

Methods

impl PropertyResourceBundle

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

PropertyResourceBundle

Required features: "java-io-InputStream"

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

PropertyResourceBundle

Required features: "java-io-Reader"

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

handleGetObject

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

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

getKeys

Required features: "java-util-Enumeration"

Methods from Deref<Target = ResourceBundle>

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 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"

Trait Implementations

impl AsJValue for PropertyResourceBundle

impl AsValidJObjectAndEnv for PropertyResourceBundle

impl Deref for PropertyResourceBundle

type Target = ResourceBundle

The resulting type after dereferencing.

impl JniType for PropertyResourceBundle

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.