[]Struct jni_android_sys::java::io::PrintWriter

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

public class PrintWriter

Required feature: java-io-PrintWriter

Methods

impl PrintWriter

pub fn new_writer<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Writer>>
) -> Result<Local<'env, PrintWriter>>
[src]

Required features: "java-io-Writer"

pub fn new_writer_boolean<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Writer>>,
    arg1: bool
) -> Result<Local<'env, PrintWriter>>
[src]

Required features: "java-io-Writer"

pub fn new_output_stream<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env OutputStream>>
) -> Result<Local<'env, PrintWriter>>
[src]

Required features: "java-io-OutputStream"

pub fn new_output_stream_boolean<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env OutputStream>>,
    arg1: bool
) -> Result<Local<'env, PrintWriter>>
[src]

Required features: "java-io-OutputStream"

pub fn new_string<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>
) -> Result<Local<'env, PrintWriter>>
[src]

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, PrintWriter>>
[src]

Required features: "java-lang-String"

pub fn new_file<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env File>>
) -> Result<Local<'env, PrintWriter>>
[src]

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, PrintWriter>>
[src]

Required features: "java-io-File", "java-lang-String"

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

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

pub fn check_error<'env>(&'env self) -> Result<bool>[src]

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

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

write

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

write

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

write

Required features: "java-lang-String"

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

write

Required features: "java-lang-String"

pub fn print_boolean<'env>(&'env self, arg0: bool) -> Result<()>[src]

pub fn print_char<'env>(&'env self, arg0: jchar) -> Result<()>[src]

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

pub fn print_long<'env>(&'env self, arg0: i64) -> Result<()>[src]

pub fn print_float<'env>(&'env self, arg0: f32) -> Result<()>[src]

pub fn print_double<'env>(&'env self, arg0: f64) -> Result<()>[src]

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

print

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

print

Required features: "java-lang-String"

pub fn print_object<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Object>>
) -> Result<()>
[src]

print

Required features: "java-lang-Object"

pub fn println<'env>(&'env self) -> Result<()>[src]

pub fn println_boolean<'env>(&'env self, arg0: bool) -> Result<()>[src]

pub fn println_char<'env>(&'env self, arg0: jchar) -> Result<()>[src]

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

pub fn println_long<'env>(&'env self, arg0: i64) -> Result<()>[src]

pub fn println_float<'env>(&'env self, arg0: f32) -> Result<()>[src]

pub fn println_double<'env>(&'env self, arg0: f64) -> Result<()>[src]

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

println

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

println

Required features: "java-lang-String"

pub fn println_object<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Object>>
) -> Result<()>
[src]

println

Required features: "java-lang-Object"

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

append

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

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

append

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

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

append

Required features: "java-io-PrintWriter"

Methods from Deref<Target = Writer>

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

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

write

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

write

pub fn write_string<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>
) -> Result<()>
[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<()>
[src]

write

Required features: "java-lang-String"

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

append

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

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

append

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

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

append

Required features: "java-io-Writer"

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

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

Trait Implementations

impl Deref for PrintWriter

type Target = Writer

The resulting type after dereferencing.

impl AsValidJObjectAndEnv for PrintWriter

impl AsJValue for PrintWriter

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for 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.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]