Packagestimulsoft.report.export.tools.zipwriter
Classpublic class StiZipOutputStream
InheritanceStiZipOutputStream Inheritance StiDeflaterOutputStream Inheritance flash.utils.ByteArray



Public Properties
 PropertyDefined By
 InheritedbaseOutputStream : ByteArray
StiDeflaterOutputStream
 InheritedcanPatchEntries : Boolean
[read-only] Allows client to determine if an entry can be patched after its added
StiDeflaterOutputStream
 InheritedisStreamOwner : Boolean
StiDeflaterOutputStream
 Inheritedlength : uint
[override] [read-only]
StiDeflaterOutputStream
 Inheritedposition : uint
[override]
StiDeflaterOutputStream
 InheritedtotalOut : int = 0
StiDeflaterOutputStream
Public Methods
 MethodDefined By
  
StiZipOutputStream(baseOutputStream:ByteArray)
Creates a new Zip output stream, writing a zip archive.
StiZipOutputStream
  
close():void
[override]
StiZipOutputStream
  
closeEntry():void
Close current entry
StiZipOutputStream
  
convertToArray(useUnicode:Boolean, str:String):ByteArray
[static]
StiZipOutputStream
  
finish():void
[override]
StiZipOutputStream
  
[static]
StiZipOutputStream
  
Put next entry into Zip file "entry" > Entry to put into zip file
StiZipOutputStream
 Inherited
readByte():int
[override]
StiDeflaterOutputStream
 Inherited
readBytes(bytes:ByteArray, offset:uint = 0, length:uint = 0):void
[override]
StiDeflaterOutputStream
 Inherited
reset():void
StiDeflaterOutputStream
  
write(buffer:ByteArray, offset:int, count:int):void
[override] Write data to the current entry
StiZipOutputStream
 Inherited
writeByte(value:int):void
[override]
StiDeflaterOutputStream
Constructor Detail
StiZipOutputStream()Constructor
public function StiZipOutputStream(baseOutputStream:ByteArray)

Creates a new Zip output stream, writing a zip archive. "baseOutputStream" > The output stream to which the archive contents are written.

Parameters
baseOutputStream:ByteArray
Method Detail
close()method
override public function close():void

closeEntry()method 
public function closeEntry():void

Close current entry

convertToArray()method 
public static function convertToArray(useUnicode:Boolean, str:String):ByteArray

Parameters

useUnicode:Boolean
 
str:String

Returns
ByteArray
finish()method 
override public function finish():void

getDosTime()method 
public static function getDosTime(dt:StiDateTime):uint

Parameters

dt:StiDateTime

Returns
uint
putNextEntry()method 
public function putNextEntry(entry:StiZipEntry):void

Put next entry into Zip file "entry" > Entry to put into zip file

Parameters

entry:StiZipEntry

write()method 
override public function write(buffer:ByteArray, offset:int, count:int):void

Write data to the current entry

Parameters

buffer:ByteArray
 
offset:int
 
count:int