[]Struct jni_android_sys::android::icu::text::MessageFormat

#[repr(transparent)]
pub struct 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]

MessageFormat

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]

MessageFormat

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]

MessageFormat

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]

setLocale

Required features: "java-util-Locale"

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

setLocale

Required features: "android-icu-util-ULocale"

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

getLocale

Required features: "java-util-Locale"

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

getULocale

Required features: "android-icu-util-ULocale"

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

applyPattern

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]

applyPattern

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]

getApostropheMode

Required features: "android-icu-text-MessagePattern_ApostropheMode"

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

toPattern

Required features: "java-lang-String"

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

setFormatsByArgumentIndex

Required features: "java-text-Format"

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

setFormatsByArgumentName

Required features: "java-util-Map"

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

setFormats

Required features: "java-text-Format"

pub fn setFormatByArgumentIndex<'env>(
    &'env self,
    arg0: i32,
    arg1: impl Into<Option<&'env Format>>
) -> Result<(), Local<'env, Throwable>>
[src]

setFormatByArgumentIndex

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]

setFormatByArgumentName

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]

setFormat

Required features: "java-text-Format"

pub fn getFormatsByArgumentIndex<'env>(
    &'env self
) -> Result<Option<Local<'env, ObjectArray<Format, Throwable>>>, Local<'env, Throwable>>
[src]

getFormatsByArgumentIndex

Required features: "java-text-Format"

pub fn getFormats<'env>(
    &'env self
) -> Result<Option<Local<'env, ObjectArray<Format, Throwable>>>, Local<'env, Throwable>>
[src]

getFormats

Required features: "java-text-Format"

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

getArgumentNames

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]

getFormatByArgumentName

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]

format

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]

format

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]

format

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]

format

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

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

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]

format

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]

formatToCharacterIterator

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]

parse

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]

parseToMap

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]

parse

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]

parseToMap

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]

parseObject

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]

clone

Required features: "java-lang-Object"

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

autoQuoteApostrophe

Required features: "java-lang-String"

Methods from Deref<Target = UFormat>

Trait Implementations

impl AsJValue for MessageFormat

impl AsValidJObjectAndEnv for MessageFormat

impl Deref for MessageFormat

type Target = UFormat

The resulting type after dereferencing.

impl JniType for MessageFormat

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.