[−]Struct jni_android_sys::java::util::zip::ZipOutputStream
public class ZipOutputStream
Required feature: "java-util-zip-ZipOutputStream"
Methods
impl ZipOutputStream
pub fn new_OutputStream<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env OutputStream>>
) -> Result<Local<'env, ZipOutputStream>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env OutputStream>>
) -> Result<Local<'env, ZipOutputStream>, 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, ZipOutputStream>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env OutputStream>>,
arg1: impl Into<Option<&'env Charset>>
) -> Result<Local<'env, ZipOutputStream>, Local<'env, Throwable>>
Required features: "java-io-OutputStream", "java-nio-charset-Charset"
pub fn setComment<'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 setMethod<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setLevel<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn putNextEntry<'env>(
&'env self,
arg0: impl Into<Option<&'env ZipEntry>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ZipEntry>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-util-zip-ZipEntry"
pub fn closeEntry<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn write<'env>(
&'env self,
arg0: impl Into<Option<&'env ByteArray>>,
arg1: i32,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ByteArray>>,
arg1: i32,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
pub fn finish<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn close<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub const CENATT: i32
[src]
public static final CENATT
pub const CENATX: i32
[src]
public static final CENATX
pub const CENCOM: i32
[src]
public static final CENCOM
pub const CENCRC: i32
[src]
public static final CENCRC
pub const CENDSK: i32
[src]
public static final CENDSK
pub const CENEXT: i32
[src]
public static final CENEXT
pub const CENFLG: i32
[src]
public static final CENFLG
pub const CENHDR: i32
[src]
public static final CENHDR
pub const CENHOW: i32
[src]
public static final CENHOW
pub const CENLEN: i32
[src]
public static final CENLEN
pub const CENNAM: i32
[src]
public static final CENNAM
pub const CENOFF: i32
[src]
public static final CENOFF
pub const CENSIG: i64
[src]
public static final CENSIG
pub const CENSIZ: i32
[src]
public static final CENSIZ
pub const CENTIM: i32
[src]
public static final CENTIM
pub const CENVEM: i32
[src]
public static final CENVEM
pub const CENVER: i32
[src]
public static final CENVER
pub const DEFLATED: i32
[src]
public static final DEFLATED
pub const ENDCOM: i32
[src]
public static final ENDCOM
pub const ENDHDR: i32
[src]
public static final ENDHDR
pub const ENDOFF: i32
[src]
public static final ENDOFF
pub const ENDSIG: i64
[src]
public static final ENDSIG
pub const ENDSIZ: i32
[src]
public static final ENDSIZ
pub const ENDSUB: i32
[src]
public static final ENDSUB
pub const ENDTOT: i32
[src]
public static final ENDTOT
pub const EXTCRC: i32
[src]
public static final EXTCRC
pub const EXTHDR: i32
[src]
public static final EXTHDR
pub const EXTLEN: i32
[src]
public static final EXTLEN
pub const EXTSIG: i64
[src]
public static final EXTSIG
pub const EXTSIZ: i32
[src]
public static final EXTSIZ
pub const LOCCRC: i32
[src]
public static final LOCCRC
pub const LOCEXT: i32
[src]
public static final LOCEXT
pub const LOCFLG: i32
[src]
public static final LOCFLG
pub const LOCHDR: i32
[src]
public static final LOCHDR
pub const LOCHOW: i32
[src]
public static final LOCHOW
pub const LOCLEN: i32
[src]
public static final LOCLEN
pub const LOCNAM: i32
[src]
public static final LOCNAM
pub const LOCSIG: i64
[src]
public static final LOCSIG
pub const LOCSIZ: i32
[src]
public static final LOCSIZ
pub const LOCTIM: i32
[src]
public static final LOCTIM
pub const LOCVER: i32
[src]
public static final LOCVER
pub const STORED: i32
[src]
public static final STORED
Methods from Deref<Target = DeflaterOutputStream>
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_byte_array_int_int<'env>(
&'env self,
arg0: impl Into<Option<&'env ByteArray>>,
arg1: i32,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ByteArray>>,
arg1: i32,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
pub fn finish<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn close<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn flush<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
Trait Implementations
impl AsJValue for ZipOutputStream
impl AsValidJObjectAndEnv for ZipOutputStream
impl Deref for ZipOutputStream
type Target = DeflaterOutputStream
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
impl JniType for ZipOutputStream
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for ZipOutputStream
impl !Send for ZipOutputStream
impl !Sync for ZipOutputStream
impl Unpin for ZipOutputStream
impl UnwindSafe for ZipOutputStream
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>,