public abstract class BaseExtraField extends Object
Modifier | Constructor and Description |
---|---|
protected |
BaseExtraField(int id,
int extraSize) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getExtraFieldBytes()
Get the bytes for this field including the id and size.
|
int |
getExtraSize() |
int |
getId() |
ZipStatus |
validate()
Validate the field.
|
void |
write(OutputStream outputStream)
Write the base portions of the extra field.
|
public void write(OutputStream outputStream) throws IOException
IOException
public int getId()
public int getExtraSize()
public byte[] getExtraFieldBytes()
public ZipStatus validate()
This documentation content is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.