Class Pack200Adapter
java.lang.Object
org.apache.commons.compress.harmony.pack200.Pack200Adapter
- Direct Known Subclasses:
Pack200PackerAdapter
,Pack200UnpackerAdapter
Provides generic JavaBeans support for the Pack/UnpackAdapters
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
protected void
completed
(double value) Completion between 0..1.protected void
firePropertyChange
(String propertyName, Object oldValue, Object newValue) Reports a property update to listenersvoid
-
Field Details
-
DEFAULT_BUFFER_SIZE
- See Also:
-
-
Constructor Details
-
Pack200Adapter
public Pack200Adapter()
-
-
Method Details
-
addPropertyChangeListener
-
completed
Completion between 0..1.- Parameters:
value
- Completion between 0..1.- Throws:
IOException
- if the value cannot be parsed
-
firePropertyChange
protected void firePropertyChange(String propertyName, Object oldValue, Object newValue) throws IOException Reports a property update to listeners- Parameters:
propertyName
- name of property being updatedoldValue
- old property valuenewValue
- new property value- Throws:
IOException
- if the values cannot be parsed
-
properties
-
removePropertyChangeListener
-