[]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>, Local<'env, Throwable>>
[src]

PrintWriter

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>, Local<'env, Throwable>>
[src]

PrintWriter

Required features: "java-io-Writer"

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

PrintWriter

Required features: "java-io-OutputStream"

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

PrintWriter

Required features: "java-io-OutputStream"

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

PrintWriter

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>, Local<'env, Throwable>>
[src]

PrintWriter

Required features: "java-lang-String"

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

PrintWriter

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>, Local<'env, Throwable>>
[src]

PrintWriter

Required features: "java-io-File", "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 checkError<'env>(&'env self) -> Result<bool, 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_char_array<'env>(
    &'env self,
    arg0: impl Into<Option<&'env CharArray>>
) -> 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 write_String<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

write

Required features: "java-lang-String"

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

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

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

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

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

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

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

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

print

Required features: "java-lang-String"

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

print

Required features: "java-lang-Object"

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

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

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

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

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

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

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

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

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

println

Required features: "java-lang-String"

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

println

Required features: "java-lang-Object"

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

printf

Required features: "java-io-PrintWriter", "java-lang-Object", "java-lang-String"

pub fn printf_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, PrintWriter>>, Local<'env, Throwable>>
[src]

printf

Required features: "java-io-PrintWriter", "java-lang-Object", "java-lang-String", "java-util-Locale"

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, PrintWriter>>, Local<'env, Throwable>>
[src]

format

Required features: "java-io-PrintWriter", "java-lang-Object", "java-lang-String"

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, PrintWriter>>, Local<'env, Throwable>>
[src]

format

Required features: "java-io-PrintWriter", "java-lang-Object", "java-lang-String", "java-util-Locale"

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

append

Required features: "java-io-PrintWriter", "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, PrintWriter>>, Local<'env, Throwable>>
[src]

append

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

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

append

Required features: "java-io-PrintWriter"

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 PrintWriter

impl AsValidJObjectAndEnv for PrintWriter

impl Deref for PrintWriter

type Target = Writer

The resulting type after dereferencing.

impl JniType for PrintWriter

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.