public final class JarEntryData
extends java.lang.Object
JarEntry, allowing creation to be deferred until
the entry is actually needed.| Constructor | Description |
|---|---|
JarEntryData(JarFile source,
byte[] header,
java.io.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, java.io.InputStream inputStream) throws java.io.IOException
java.io.IOExceptionpublic RandomAccessData getData() throws java.io.IOException
RandomAccessData for this entry. Generally this
method should not be called directly and instead data should be accessed via
JarFile.getInputStream(ZipEntry).java.io.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.