[]Struct jni_android_sys::java::util::Formatter

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

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

Formatter

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]

Formatter

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]

Formatter

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]

Formatter

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]

Formatter

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]

Formatter

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]

Formatter

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]

Formatter

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]

Formatter

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]

Formatter

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]

Formatter

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]

Formatter

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]

Formatter

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]

locale

Required features: "java-util-Locale"

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

out

Required features: "java-lang-Appendable"

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

toString

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]

ioException

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]

format

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]

format

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]

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 Formatter

impl AsRef<Closeable> for Formatter

impl AsRef<Flushable> for Formatter

impl AsValidJObjectAndEnv for Formatter

impl Deref for Formatter

type Target = Object

The resulting type after dereferencing.

impl JniType for Formatter

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.