[−]Struct jni_android_sys::java::io::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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Writer>>
) -> Result<Local<'env, 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>>[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Writer>>,
arg1: bool
) -> Result<Local<'env, PrintWriter>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env OutputStream>>
) -> Result<Local<'env, PrintWriter>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env OutputStream>>,
arg1: bool
) -> Result<Local<'env, 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>>[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Local<'env, 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>>[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Local<'env, 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>>[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env File>>
) -> Result<Local<'env, 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>>[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env File>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Local<'env, PrintWriter>>
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]
&'env self,
arg0: impl Into<Option<&'env CharArray>>,
arg1: i32,
arg2: i32
) -> Result<()>
write
pub fn write_char_array<'env>(
&'env self,
arg0: impl Into<Option<&'env CharArray>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env CharArray>>
) -> Result<()>
write
pub fn write_string_int_int<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: i32
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: i32
) -> Result<()>
Required features: "java-lang-String"
pub fn write_string<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<()>
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]
&'env self,
arg0: impl Into<Option<&'env CharArray>>
) -> Result<()>
pub fn print_string<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<()>
Required features: "java-lang-String"
pub fn print_object<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<()>
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]
&'env self,
arg0: impl Into<Option<&'env CharArray>>
) -> Result<()>
println
pub fn println_string<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<()>
Required features: "java-lang-String"
pub fn println_object<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<()>
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]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<Option<Local<'env, PrintWriter>>>
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]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>,
arg1: i32,
arg2: i32
) -> Result<Option<Local<'env, PrintWriter>>>
Required features: "java-io-PrintWriter", "java-lang-CharSequence"
pub fn append_char<'env>(
&'env self,
arg0: jchar
) -> Result<Option<Local<'env, PrintWriter>>>[src]
&'env self,
arg0: jchar
) -> Result<Option<Local<'env, PrintWriter>>>
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]
&'env self,
arg0: impl Into<Option<&'env CharArray>>
) -> Result<()>
write
pub fn write_char_array_int_int<'env>(
&'env self,
arg0: impl Into<Option<&'env CharArray>>,
arg1: i32,
arg2: i32
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env CharArray>>,
arg1: i32,
arg2: i32
) -> Result<()>
write
pub fn write_string<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<()>
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]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: i32
) -> Result<()>
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]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<Option<Local<'env, Writer>>>
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]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>,
arg1: i32,
arg2: i32
) -> Result<Option<Local<'env, Writer>>>
Required features: "java-io-Writer", "java-lang-CharSequence"
pub fn append_char<'env>(
&'env self,
arg0: jchar
) -> Result<Option<Local<'env, Writer>>>[src]
&'env self,
arg0: jchar
) -> Result<Option<Local<'env, Writer>>>
Required features: "java-io-Writer"
pub fn flush<'env>(&'env self) -> Result<()>[src]
pub fn close<'env>(&'env self) -> Result<()>[src]
Trait Implementations
Auto Trait Implementations
impl !Sync for PrintWriter
impl Unpin for PrintWriter
impl !Send for PrintWriter
impl UnwindSafe for PrintWriter
impl RefUnwindSafe for PrintWriter
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> From<T> for T[src]
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
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> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,