[−]Struct jni_android_sys::java::util::Formatter
public final class Formatter
Required feature: "java-util-Formatter"
Methods
impl Formatter
pub fn new<'env>(
__jni_env: &'env Env
) -> Result<Local<'env, Formatter>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Local<'env, Formatter>, Local<'env, Throwable>>
pub fn new_Appendable<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Appendable>>
) -> Result<Local<'env, Formatter>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Appendable>>
) -> Result<Local<'env, Formatter>, Local<'env, Throwable>>
Required features: "java-lang-Appendable"
pub fn new_Locale<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Locale>>
) -> Result<Local<'env, Formatter>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Locale>>
) -> Result<Local<'env, Formatter>, Local<'env, Throwable>>
Required features: "java-util-Locale"
pub fn new_Appendable_Locale<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Appendable>>,
arg1: impl Into<Option<&'env Locale>>
) -> Result<Local<'env, Formatter>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Appendable>>,
arg1: impl Into<Option<&'env Locale>>
) -> Result<Local<'env, Formatter>, Local<'env, Throwable>>
Required features: "java-lang-Appendable", "java-util-Locale"
pub fn new_String<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Local<'env, Formatter>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Local<'env, Formatter>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn new_String_String<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Local<'env, Formatter>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Local<'env, Formatter>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn new_String_String_Locale<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Locale>>
) -> Result<Local<'env, Formatter>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Locale>>
) -> Result<Local<'env, Formatter>, Local<'env, Throwable>>
Required features: "java-lang-String", "java-util-Locale"
pub fn new_File<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env File>>
) -> Result<Local<'env, Formatter>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env File>>
) -> Result<Local<'env, Formatter>, Local<'env, Throwable>>
Required features: "java-io-File"
pub fn new_File_String<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env File>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Local<'env, Formatter>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env File>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Local<'env, Formatter>, Local<'env, Throwable>>
Required features: "java-io-File", "java-lang-String"
pub fn new_File_String_Locale<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env File>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Locale>>
) -> Result<Local<'env, Formatter>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env File>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Locale>>
) -> Result<Local<'env, Formatter>, Local<'env, Throwable>>
Required features: "java-io-File", "java-lang-String", "java-util-Locale"
pub fn new_PrintStream<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env PrintStream>>
) -> Result<Local<'env, Formatter>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env PrintStream>>
) -> Result<Local<'env, Formatter>, Local<'env, Throwable>>
Required features: "java-io-PrintStream"
pub fn new_OutputStream<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env OutputStream>>
) -> Result<Local<'env, Formatter>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env OutputStream>>
) -> Result<Local<'env, Formatter>, Local<'env, Throwable>>
Required features: "java-io-OutputStream"
pub fn new_OutputStream_String<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env OutputStream>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Local<'env, Formatter>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env OutputStream>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Local<'env, Formatter>, Local<'env, Throwable>>
Required features: "java-io-OutputStream", "java-lang-String"
pub fn new_OutputStream_String_Locale<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env OutputStream>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Locale>>
) -> Result<Local<'env, Formatter>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env OutputStream>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Locale>>
) -> Result<Local<'env, Formatter>, Local<'env, Throwable>>
Required features: "java-io-OutputStream", "java-lang-String", "java-util-Locale"
pub fn locale<'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 out<'env>(
&'env self
) -> Result<Option<Local<'env, Appendable>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Appendable>>, Local<'env, Throwable>>
Required features: "java-lang-Appendable"
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 close<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn ioException<'env>(
&'env self
) -> Result<Option<Local<'env, IOException>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, IOException>>, Local<'env, Throwable>>
Required features: "java-io-IOException"
pub fn format_String_Object_array<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ObjectArray<Object, Throwable>>>
) -> Result<Option<Local<'env, Formatter>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ObjectArray<Object, Throwable>>>
) -> Result<Option<Local<'env, Formatter>>, Local<'env, Throwable>>
Required features: "java-lang-Object", "java-lang-String", "java-util-Formatter"
pub fn format_Locale_String_Object_array<'env>(
&'env self,
arg0: impl Into<Option<&'env Locale>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env ObjectArray<Object, Throwable>>>
) -> Result<Option<Local<'env, Formatter>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Locale>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env ObjectArray<Object, Throwable>>>
) -> Result<Option<Local<'env, Formatter>>, Local<'env, Throwable>>
Required features: "java-lang-Object", "java-lang-String", "java-util-Formatter", "java-util-Locale"
Methods from Deref<Target = Object>
pub fn getClass<'env>(
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-Object"
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 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]
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
pub fn wait_long_int<'env>(
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
Trait Implementations
impl AsJValue for Formatter
impl AsRef<Closeable> for Formatter
impl AsRef<Flushable> for Formatter
impl AsValidJObjectAndEnv for Formatter
impl Deref for Formatter
impl JniType for Formatter
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for Formatter
impl !Send for Formatter
impl !Sync for Formatter
impl Unpin for Formatter
impl UnwindSafe for Formatter
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>,