[]Struct jni_android_sys::java::nio::charset::CharsetDecoder

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

public class CharsetDecoder

Required feature: "java-nio-charset-CharsetDecoder"

Methods

impl CharsetDecoder

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

charset

Required features: "java-nio-charset-Charset"

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

replacement

Required features: "java-lang-String"

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

replaceWith

Required features: "java-lang-String", "java-nio-charset-CharsetDecoder"

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

malformedInputAction

Required features: "java-nio-charset-CodingErrorAction"

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

onMalformedInput

Required features: "java-nio-charset-CharsetDecoder", "java-nio-charset-CodingErrorAction"

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

unmappableCharacterAction

Required features: "java-nio-charset-CodingErrorAction"

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

onUnmappableCharacter

Required features: "java-nio-charset-CharsetDecoder", "java-nio-charset-CodingErrorAction"

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

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

pub fn decode_ByteBuffer_CharBuffer_boolean<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ByteBuffer>>,
    arg1: impl Into<Option<&'env CharBuffer>>,
    arg2: bool
) -> Result<Option<Local<'env, CoderResult>>, Local<'env, Throwable>>
[src]

decode

Required features: "java-nio-ByteBuffer", "java-nio-CharBuffer", "java-nio-charset-CoderResult"

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

flush

Required features: "java-nio-CharBuffer", "java-nio-charset-CoderResult"

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

reset

Required features: "java-nio-charset-CharsetDecoder"

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

decode

Required features: "java-nio-ByteBuffer", "java-nio-CharBuffer"

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

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

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

detectedCharset

Required features: "java-nio-charset-Charset"

Methods from Deref<Target = Object>

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

getClass

Required features: "java-lang-Class"

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

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

equals

Required features: "java-lang-Object"

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

toString

Required features: "java-lang-String"

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

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

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

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

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

Trait Implementations

impl AsJValue for CharsetDecoder

impl AsValidJObjectAndEnv for CharsetDecoder

impl Deref for CharsetDecoder

type Target = Object

The resulting type after dereferencing.

impl JniType for CharsetDecoder

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.