[]Struct jni_android_sys::java::io::CharArrayWriter

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

public class CharArrayWriter

Required feature: "java-io-CharArrayWriter"

Methods

impl CharArrayWriter

pub fn new<'env>(
    __jni_env: &'env Env
) -> Result<Local<'env, CharArrayWriter>, Local<'env, Throwable>>
[src]

pub fn new_int<'env>(
    __jni_env: &'env Env,
    arg0: i32
) -> Result<Local<'env, CharArrayWriter>, Local<'env, Throwable>>
[src]

pub fn write_int<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

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

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

write

Required features: "java-lang-String"

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

writeTo

Required features: "java-io-Writer"

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

append

Required features: "java-io-CharArrayWriter", "java-lang-CharSequence"

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

append

Required features: "java-io-CharArrayWriter", "java-lang-CharSequence"

pub fn append_char<'env>(
    &'env self,
    arg0: jchar
) -> Result<Option<Local<'env, CharArrayWriter>>, Local<'env, Throwable>>
[src]

append

Required features: "java-io-CharArrayWriter"

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

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

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

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]

Methods from Deref<Target = Writer>

pub fn write_int<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

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

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

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

write

Required features: "java-lang-String"

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

write

Required features: "java-lang-String"

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

append

Required features: "java-io-Writer", "java-lang-CharSequence"

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

append

Required features: "java-io-Writer", "java-lang-CharSequence"

pub fn append_char<'env>(
    &'env self,
    arg0: jchar
) -> Result<Option<Local<'env, Writer>>, Local<'env, Throwable>>
[src]

append

Required features: "java-io-Writer"

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

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

Trait Implementations

impl AsJValue for CharArrayWriter

impl AsValidJObjectAndEnv for CharArrayWriter

impl Deref for CharArrayWriter

type Target = Writer

The resulting type after dereferencing.

impl JniType for CharArrayWriter

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.