[−]Struct jni_android_sys::android::icu::text::MessageFormat
public class MessageFormat
Required feature: "android-icu-text-MessageFormat"
Methods
impl MessageFormat
pub fn new_String<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Local<'env, MessageFormat>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Local<'env, MessageFormat>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn new_String_Locale<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Locale>>
) -> Result<Local<'env, MessageFormat>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Locale>>
) -> Result<Local<'env, MessageFormat>, Local<'env, Throwable>>
Required features: "java-lang-String", "java-util-Locale"
pub fn new_String_ULocale<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ULocale>>
) -> Result<Local<'env, MessageFormat>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ULocale>>
) -> Result<Local<'env, MessageFormat>, Local<'env, Throwable>>
Required features: "android-icu-util-ULocale", "java-lang-String"
pub fn setLocale_Locale<'env>(
&'env self,
arg0: impl Into<Option<&'env Locale>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Locale>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-util-Locale"
pub fn setLocale_ULocale<'env>(
&'env self,
arg0: impl Into<Option<&'env ULocale>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ULocale>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-icu-util-ULocale"
pub fn getLocale<'env>(
&'env self
) -> Result<Option<Local<'env, Locale>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Locale>>, Local<'env, Throwable>>
Required features: "java-util-Locale"
pub fn getULocale<'env>(
&'env self
) -> Result<Option<Local<'env, ULocale>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ULocale>>, Local<'env, Throwable>>
Required features: "android-icu-util-ULocale"
pub fn applyPattern_String<'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 applyPattern_String_ApostropheMode<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env MessagePattern_ApostropheMode>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env MessagePattern_ApostropheMode>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-icu-text-MessagePattern_ApostropheMode", "java-lang-String"
pub fn getApostropheMode<'env>(
&'env self
) -> Result<Option<Local<'env, MessagePattern_ApostropheMode>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, MessagePattern_ApostropheMode>>, Local<'env, Throwable>>
Required features: "android-icu-text-MessagePattern_ApostropheMode"
pub fn toPattern<'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 setFormatsByArgumentIndex<'env>(
&'env self,
arg0: impl Into<Option<&'env ObjectArray<Format, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ObjectArray<Format, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-text-Format"
pub fn setFormatsByArgumentName<'env>(
&'env self,
arg0: impl Into<Option<&'env Map>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Map>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-util-Map"
pub fn setFormats<'env>(
&'env self,
arg0: impl Into<Option<&'env ObjectArray<Format, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ObjectArray<Format, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-text-Format"
pub fn setFormatByArgumentIndex<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Format>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Format>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-text-Format"
pub fn setFormatByArgumentName<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Format>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Format>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String", "java-text-Format"
pub fn setFormat<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Format>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Format>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-text-Format"
pub fn getFormatsByArgumentIndex<'env>(
&'env self
) -> Result<Option<Local<'env, ObjectArray<Format, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ObjectArray<Format, Throwable>>>, Local<'env, Throwable>>
Required features: "java-text-Format"
pub fn getFormats<'env>(
&'env self
) -> Result<Option<Local<'env, ObjectArray<Format, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ObjectArray<Format, Throwable>>>, Local<'env, Throwable>>
Required features: "java-text-Format"
pub fn getArgumentNames<'env>(
&'env self
) -> Result<Option<Local<'env, Set>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Set>>, Local<'env, Throwable>>
Required features: "java-util-Set"
pub fn getFormatByArgumentName<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Format>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Format>>, Local<'env, Throwable>>
Required features: "java-lang-String", "java-text-Format"
pub fn format_Object_array_StringBuffer_FieldPosition<'env>(
&'env self,
arg0: impl Into<Option<&'env ObjectArray<Object, Throwable>>>,
arg1: impl Into<Option<&'env StringBuffer>>,
arg2: impl Into<Option<&'env FieldPosition>>
) -> Result<Option<Local<'env, StringBuffer>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ObjectArray<Object, Throwable>>>,
arg1: impl Into<Option<&'env StringBuffer>>,
arg2: impl Into<Option<&'env FieldPosition>>
) -> Result<Option<Local<'env, StringBuffer>>, Local<'env, Throwable>>
Required features: "java-lang-Object", "java-lang-StringBuffer", "java-text-FieldPosition"
pub fn format_Map_StringBuffer_FieldPosition<'env>(
&'env self,
arg0: impl Into<Option<&'env Map>>,
arg1: impl Into<Option<&'env StringBuffer>>,
arg2: impl Into<Option<&'env FieldPosition>>
) -> Result<Option<Local<'env, StringBuffer>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Map>>,
arg1: impl Into<Option<&'env StringBuffer>>,
arg2: impl Into<Option<&'env FieldPosition>>
) -> Result<Option<Local<'env, StringBuffer>>, Local<'env, Throwable>>
Required features: "java-lang-StringBuffer", "java-text-FieldPosition", "java-util-Map"
pub fn format_String_Object_array<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ObjectArray<Object, Throwable>>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ObjectArray<Object, Throwable>>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-Object", "java-lang-String"
pub fn format_String_Map<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Map>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Map>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String", "java-util-Map"
pub fn usesNamedArguments<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn format_Object_StringBuffer_FieldPosition<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>,
arg1: impl Into<Option<&'env StringBuffer>>,
arg2: impl Into<Option<&'env FieldPosition>>
) -> Result<Option<Local<'env, StringBuffer>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Object>>,
arg1: impl Into<Option<&'env StringBuffer>>,
arg2: impl Into<Option<&'env FieldPosition>>
) -> Result<Option<Local<'env, StringBuffer>>, Local<'env, Throwable>>
Required features: "java-lang-Object", "java-lang-StringBuffer", "java-text-FieldPosition"
pub fn formatToCharacterIterator<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<Option<Local<'env, AttributedCharacterIterator>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<Option<Local<'env, AttributedCharacterIterator>>, Local<'env, Throwable>>
Required features: "java-lang-Object", "java-text-AttributedCharacterIterator"
pub fn parse_String_ParsePosition<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ParsePosition>>
) -> Result<Option<Local<'env, ObjectArray<Object, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ParsePosition>>
) -> Result<Option<Local<'env, ObjectArray<Object, Throwable>>>, Local<'env, Throwable>>
Required features: "java-lang-Object", "java-lang-String", "java-text-ParsePosition"
pub fn parseToMap_String_ParsePosition<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ParsePosition>>
) -> Result<Option<Local<'env, Map>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ParsePosition>>
) -> Result<Option<Local<'env, Map>>, Local<'env, Throwable>>
Required features: "java-lang-String", "java-text-ParsePosition", "java-util-Map"
pub fn parse_String<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, ObjectArray<Object, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, ObjectArray<Object, Throwable>>>, Local<'env, Throwable>>
Required features: "java-lang-Object", "java-lang-String"
pub fn parseToMap_String<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Map>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Map>>, Local<'env, Throwable>>
Required features: "java-lang-String", "java-util-Map"
pub fn parseObject<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ParsePosition>>
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ParsePosition>>
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
Required features: "java-lang-Object", "java-lang-String", "java-text-ParsePosition"
pub fn clone<'env>(
&'env self
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn equals<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn autoQuoteApostrophe<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
Methods from Deref<Target = UFormat>
Trait Implementations
impl AsJValue for MessageFormat
impl AsValidJObjectAndEnv for MessageFormat
impl Deref for MessageFormat
impl JniType for MessageFormat
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for MessageFormat
impl !Send for MessageFormat
impl !Sync for MessageFormat
impl Unpin for MessageFormat
impl UnwindSafe for MessageFormat
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>,