Constructor and Description |
---|
JarEntryData(JarFile source,
byte[] header,
InputStream inputStream) |
Modifier and Type | Method and Description |
---|---|
AsciiBytes |
getComment() |
int |
getCompressedSize() |
long |
getCrc() |
RandomAccessData |
getData() |
byte[] |
getExtra() |
int |
getMethod() |
AsciiBytes |
getName() |
int |
getSize() |
long |
getTime() |
boolean |
isDirectory() |
public JarEntryData(JarFile source, byte[] header, InputStream inputStream) throws IOException
IOException
public 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 © 2015 Pivotal Software, Inc.. All rights reserved.