[−]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>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Writer>>
) -> Result<Local<'env, PrintWriter>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Writer>>,
arg1: bool
) -> Result<Local<'env, PrintWriter>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env OutputStream>>
) -> Result<Local<'env, PrintWriter>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env OutputStream>>,
arg1: bool
) -> Result<Local<'env, PrintWriter>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Local<'env, PrintWriter>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Local<'env, PrintWriter>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env File>>
) -> Result<Local<'env, PrintWriter>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env File>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Local<'env, PrintWriter>, Local<'env, Throwable>>
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]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env CharArray>>,
arg1: i32,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
pub fn write_char_array<'env>(
&'env self,
arg0: impl Into<Option<&'env CharArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env CharArray>>
) -> Result<(), Local<'env, Throwable>>
pub fn write_String_int_int<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn write_String<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn print_boolean<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn print_char<'env>(
&'env self,
arg0: jchar
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: jchar
) -> Result<(), Local<'env, Throwable>>
pub fn print_int<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn print_long<'env>(
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
pub fn print_float<'env>(
&'env self,
arg0: f32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: f32
) -> Result<(), Local<'env, Throwable>>
pub fn print_double<'env>(
&'env self,
arg0: f64
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: f64
) -> Result<(), Local<'env, Throwable>>
pub fn print_char_array<'env>(
&'env self,
arg0: impl Into<Option<&'env CharArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env CharArray>>
) -> Result<(), Local<'env, Throwable>>
pub fn print_String<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn print_Object<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn println_char<'env>(
&'env self,
arg0: jchar
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: jchar
) -> Result<(), Local<'env, Throwable>>
pub fn println_int<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn println_long<'env>(
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
pub fn println_float<'env>(
&'env self,
arg0: f32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: f32
) -> Result<(), Local<'env, Throwable>>
pub fn println_double<'env>(
&'env self,
arg0: f64
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: f64
) -> Result<(), Local<'env, Throwable>>
pub fn println_char_array<'env>(
&'env self,
arg0: impl Into<Option<&'env CharArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env CharArray>>
) -> Result<(), Local<'env, Throwable>>
pub fn println_String<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn println_Object<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ObjectArray<Object, Throwable>>>
) -> Result<Option<Local<'env, PrintWriter>>, Local<'env, Throwable>>
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]
&'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>>
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]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ObjectArray<Object, Throwable>>>
) -> Result<Option<Local<'env, PrintWriter>>, Local<'env, Throwable>>
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]
&'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>>
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]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<Option<Local<'env, PrintWriter>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>,
arg1: i32,
arg2: i32
) -> Result<Option<Local<'env, PrintWriter>>, Local<'env, Throwable>>
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]
&'env self,
arg0: jchar
) -> Result<Option<Local<'env, PrintWriter>>, Local<'env, Throwable>>
Required features: "java-io-PrintWriter"
Methods from Deref<Target = Writer>
pub fn write_int<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn write_char_array<'env>(
&'env self,
arg0: impl Into<Option<&'env CharArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env CharArray>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env CharArray>>,
arg1: i32,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
pub fn write_String<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<Option<Local<'env, Writer>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>,
arg1: i32,
arg2: i32
) -> Result<Option<Local<'env, Writer>>, Local<'env, Throwable>>
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]
&'env self,
arg0: jchar
) -> Result<Option<Local<'env, Writer>>, Local<'env, Throwable>>
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
impl JniType for PrintWriter
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for PrintWriter
impl !Send for PrintWriter
impl !Sync for PrintWriter
impl Unpin for PrintWriter
impl UnwindSafe for PrintWriter
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,