[−]Struct jni_android_sys::java::io::OutputStreamWriter
public class OutputStreamWriter
Required feature: "java-io-OutputStreamWriter"
Methods
impl OutputStreamWriter
pub fn new_OutputStream_String<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env OutputStream>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Local<'env, OutputStreamWriter>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env OutputStream>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Local<'env, OutputStreamWriter>, Local<'env, Throwable>>
Required features: "java-io-OutputStream", "java-lang-String"
pub fn new_OutputStream<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env OutputStream>>
) -> Result<Local<'env, OutputStreamWriter>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env OutputStream>>
) -> Result<Local<'env, OutputStreamWriter>, Local<'env, Throwable>>
Required features: "java-io-OutputStream"
pub fn new_OutputStream_Charset<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env OutputStream>>,
arg1: impl Into<Option<&'env Charset>>
) -> Result<Local<'env, OutputStreamWriter>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env OutputStream>>,
arg1: impl Into<Option<&'env Charset>>
) -> Result<Local<'env, OutputStreamWriter>, Local<'env, Throwable>>
Required features: "java-io-OutputStream", "java-nio-charset-Charset"
pub fn new_OutputStream_CharsetEncoder<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env OutputStream>>,
arg1: impl Into<Option<&'env CharsetEncoder>>
) -> Result<Local<'env, OutputStreamWriter>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env OutputStream>>,
arg1: impl Into<Option<&'env CharsetEncoder>>
) -> Result<Local<'env, OutputStreamWriter>, Local<'env, Throwable>>
Required features: "java-io-OutputStream", "java-nio-charset-CharsetEncoder"
pub fn getEncoding<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
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_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 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]
&'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 OutputStreamWriter
impl AsValidJObjectAndEnv for OutputStreamWriter
impl Deref for OutputStreamWriter
impl JniType for OutputStreamWriter
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for OutputStreamWriter
impl !Send for OutputStreamWriter
impl !Sync for OutputStreamWriter
impl Unpin for OutputStreamWriter
impl UnwindSafe for OutputStreamWriter
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>,