public class CompressionEvent
extends java.util.EventObject
| Constructor and Description |
|---|
CompressionEvent(java.lang.Object source,
double compressedBytes,
double totalBytes,
ProgressEventMode mode)
Creates a CompressionEvent object
|
| Modifier and Type | Method and Description |
|---|---|
double |
getCompressedBytes()
Get compressed bytes.
|
ProgressEventMode |
getMode()
Get progress event mode.
|
double |
getPercentage()
Get bytes compressed as percentage of the total.
|
double |
getTotalBytes()
Get total number of bytes to be compressed.
|
public CompressionEvent(java.lang.Object source,
double compressedBytes,
double totalBytes,
ProgressEventMode mode)
source - - the source objecttotalBytes - - the total number of bytes that need to be compressedpublic ProgressEventMode getMode()
public double getCompressedBytes()
public double getTotalBytes()
public double getPercentage()
Copyright © JSCAPE LLC. 1999-2021. All Rights Reserved