[]Struct jni_android_sys::java::util::zip::Deflater

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

public class Deflater

Required feature: java-util-zip-Deflater

Methods

impl Deflater

pub fn new_int_boolean<'env>(
    __jni_env: &'env Env,
    arg0: i32,
    arg1: bool
) -> Result<Local<'env, Deflater>>
[src]

pub fn new_int<'env>(
    __jni_env: &'env Env,
    arg0: i32
) -> Result<Local<'env, Deflater>>
[src]

pub fn new<'env>(__jni_env: &'env Env) -> Result<Local<'env, Deflater>>[src]

pub fn set_input_byte_array_int_int<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ByteArray>>,
    arg1: i32,
    arg2: i32
) -> Result<()>
[src]

setInput

pub fn set_input_byte_array<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ByteArray>>
) -> Result<()>
[src]

setInput

pub fn set_dictionary_byte_array_int_int<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ByteArray>>,
    arg1: i32,
    arg2: i32
) -> Result<()>
[src]

setDictionary

pub fn set_dictionary_byte_array<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ByteArray>>
) -> Result<()>
[src]

setDictionary

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

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

pub fn needs_input<'env>(&'env self) -> Result<bool>[src]

pub fn finish<'env>(&'env self) -> Result<()>[src]

pub fn finished<'env>(&'env self) -> Result<bool>[src]

pub fn deflate_byte_array_int_int<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ByteArray>>,
    arg1: i32,
    arg2: i32
) -> Result<i32>
[src]

deflate

pub fn deflate_byte_array<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ByteArray>>
) -> Result<i32>
[src]

deflate

pub fn deflate_byte_array_int_int_int<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ByteArray>>,
    arg1: i32,
    arg2: i32,
    arg3: i32
) -> Result<i32>
[src]

deflate

pub fn get_adler<'env>(&'env self) -> Result<i32>[src]

pub fn get_total_in<'env>(&'env self) -> Result<i32>[src]

pub fn get_bytes_read<'env>(&'env self) -> Result<i64>[src]

pub fn get_total_out<'env>(&'env self) -> Result<i32>[src]

pub fn get_bytes_written<'env>(&'env self) -> Result<i64>[src]

pub fn reset<'env>(&'env self) -> Result<()>[src]

pub fn end<'env>(&'env self) -> Result<()>[src]

pub const BEST_COMPRESSION: i32[src]

public static final BEST_COMPRESSION

pub const BEST_SPEED: i32[src]

public static final BEST_SPEED

pub const DEFAULT_COMPRESSION: i32[src]

public static final DEFAULT_COMPRESSION

pub const DEFAULT_STRATEGY: i32[src]

public static final DEFAULT_STRATEGY

pub const DEFLATED: i32[src]

public static final DEFLATED

pub const FILTERED: i32[src]

public static final FILTERED

pub const FULL_FLUSH: i32[src]

public static final FULL_FLUSH

pub const HUFFMAN_ONLY: i32[src]

public static final HUFFMAN_ONLY

pub const NO_COMPRESSION: i32[src]

public static final NO_COMPRESSION

pub const NO_FLUSH: i32[src]

public static final NO_FLUSH

pub const SYNC_FLUSH: i32[src]

public static final SYNC_FLUSH

Methods from Deref<Target = Object>

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

getClass

Required features: "java-lang-Class"

pub fn hash_code<'env>(&'env self) -> Result<i32>[src]

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

equals

Required features: "java-lang-Object"

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

toString

Required features: "java-lang-String"

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

pub fn notify_all<'env>(&'env self) -> Result<()>[src]

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

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

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

Trait Implementations

impl Deref for Deflater

type Target = Object

The resulting type after dereferencing.

impl AsValidJObjectAndEnv for Deflater

impl AsJValue for Deflater

Auto Trait Implementations

impl !Sync for Deflater

impl !Send for Deflater

impl Unpin for Deflater

impl RefUnwindSafe for Deflater

impl UnwindSafe for Deflater

Blanket Implementations

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.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]