| Constructor | Description |
|---|---|
JarEntryData(JarFile source,
byte[] header,
InputStream inputStream) |
| Modifier and Type | Method | Description |
|---|---|---|
AsciiBytes |
getComment() |
|
int |
getCompressedSize() |
|
long |
getCrc() |
|
RandomAccessData |
getData() |
Return the underlying
RandomAccessData for this entry. |
byte[] |
getExtra() |
|
int |
getMethod() |
|
AsciiBytes |
getName() |
|
int |
getSize() |
|
long |
getTime() |
|
boolean |
isDirectory() |
public JarEntryData(JarFile source, byte[] header, InputStream inputStream) throws IOException
IOExceptionpublic RandomAccessData getData() throws IOException
RandomAccessData for this entry. Generally this
method should not be called directly and instead data should be accessed via
JarFile.getInputStream(ZipEntry).IOException - if the data cannot be readpublic AsciiBytes getName()
public boolean isDirectory()
public int getMethod()
public long getTime()
public long getCrc()
public int getCompressedSize()
public int getSize()
public byte[] getExtra()
public AsciiBytes getComment()
Copyright © 2018. All rights reserved.