|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.zip.ZipEntry java.util.jar.JarEntry org.apache.geronimo.deployment.util.UnpackedJarEntry
public class UnpackedJarEntry
Field Summary | |
---|---|
static int |
CENATT
|
static int |
CENATX
|
static int |
CENCOM
|
static int |
CENCRC
|
static int |
CENDSK
|
static int |
CENEXT
|
static int |
CENFLG
|
static int |
CENHDR
|
static int |
CENHOW
|
static int |
CENLEN
|
static int |
CENNAM
|
static int |
CENOFF
|
static long |
CENSIG
|
static int |
CENSIZ
|
static int |
CENTIM
|
static int |
CENVEM
|
static int |
CENVER
|
static int |
ENDCOM
|
static int |
ENDHDR
|
static int |
ENDOFF
|
static long |
ENDSIG
|
static int |
ENDSIZ
|
static int |
ENDSUB
|
static int |
ENDTOT
|
static int |
EXTCRC
|
static int |
EXTHDR
|
static int |
EXTLEN
|
static long |
EXTSIG
|
static int |
EXTSIZ
|
static int |
LOCCRC
|
static int |
LOCEXT
|
static int |
LOCFLG
|
static int |
LOCHDR
|
static int |
LOCHOW
|
static int |
LOCLEN
|
static int |
LOCNAM
|
static long |
LOCSIG
|
static int |
LOCSIZ
|
static int |
LOCTIM
|
static int |
LOCVER
|
Fields inherited from class java.util.zip.ZipEntry |
---|
DEFLATED, STORED |
Constructor Summary | |
---|---|
UnpackedJarEntry(String name,
File file,
Manifest manifest)
|
Method Summary | |
---|---|
Object |
clone()
|
Attributes |
getAttributes()
|
Certificate[] |
getCertificates()
Always return null. |
String |
getComment()
Always returns null. |
long |
getCompressedSize()
An unpacked jar is not compressed, so this method returns getSize(). |
long |
getCrc()
|
byte[] |
getExtra()
Always returns null. |
File |
getFile()
|
int |
getMethod()
|
long |
getSize()
|
long |
getTime()
|
boolean |
isDirectory()
|
void |
setComment(String comment)
An unpacked jar is read only, so this method always throws an UnsupportedOperationException. |
void |
setCompressedSize(long compressedSize)
An unpacked jar is read only, so this method always throws an UnsupportedOperationException. |
void |
setCrc(long crc)
An unpacked jar is read only, so this method always throws an UnsupportedOperationException. |
void |
setExtra(byte[] extra)
An unpacked jar is read only, so this method always throws an UnsupportedOperationException. |
void |
setMethod(int method)
An unpacked jar is read only, so this method always throws an UnsupportedOperationException. |
void |
setSize(long size)
An unpacked jar is read only, so this method always throws an UnsupportedOperationException. |
void |
setTime(long time)
An unpacked jar is read only, so this method always throws an UnsupportedOperationException. |
Methods inherited from class java.util.jar.JarEntry |
---|
getCodeSigners |
Methods inherited from class java.util.zip.ZipEntry |
---|
getName, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final long LOCSIG
public static final long EXTSIG
public static final long CENSIG
public static final long ENDSIG
public static final int LOCHDR
public static final int EXTHDR
public static final int CENHDR
public static final int ENDHDR
public static final int LOCVER
public static final int LOCFLG
public static final int LOCHOW
public static final int LOCTIM
public static final int LOCCRC
public static final int LOCSIZ
public static final int LOCLEN
public static final int LOCNAM
public static final int LOCEXT
public static final int EXTCRC
public static final int EXTSIZ
public static final int EXTLEN
public static final int CENVEM
public static final int CENVER
public static final int CENFLG
public static final int CENHOW
public static final int CENTIM
public static final int CENCRC
public static final int CENSIZ
public static final int CENLEN
public static final int CENNAM
public static final int CENEXT
public static final int CENCOM
public static final int CENDSK
public static final int CENATT
public static final int CENATX
public static final int CENOFF
public static final int ENDSUB
public static final int ENDTOT
public static final int ENDSIZ
public static final int ENDOFF
public static final int ENDCOM
Constructor Detail |
---|
public UnpackedJarEntry(String name, File file, Manifest manifest)
Method Detail |
---|
public File getFile()
public Attributes getAttributes() throws IOException
getAttributes
in class JarEntry
IOException
public Certificate[] getCertificates()
getCertificates
in class JarEntry
public void setTime(long time) throws UnsupportedOperationException
setTime
in class ZipEntry
time
- ignored
UnsupportedOperationException
- alwayspublic long getTime()
getTime
in class ZipEntry
public void setSize(long size) throws UnsupportedOperationException
setSize
in class ZipEntry
size
- ignored
UnsupportedOperationException
- alwayspublic long getSize()
getSize
in class ZipEntry
public long getCompressedSize()
getCompressedSize
in class ZipEntry
public void setCompressedSize(long compressedSize)
setCompressedSize
in class ZipEntry
compressedSize
- ignored
UnsupportedOperationException
- alwayspublic long getCrc()
getCrc
in class ZipEntry
public void setCrc(long crc)
setCrc
in class ZipEntry
crc
- ignored
UnsupportedOperationException
- alwayspublic int getMethod()
getMethod
in class ZipEntry
public void setMethod(int method)
setMethod
in class ZipEntry
method
- ignored
UnsupportedOperationException
- alwayspublic byte[] getExtra()
getExtra
in class ZipEntry
public void setExtra(byte[] extra)
setExtra
in class ZipEntry
extra
- ignored
UnsupportedOperationException
- alwayspublic String getComment()
getComment
in class ZipEntry
public void setComment(String comment)
setComment
in class ZipEntry
comment
- ignored
UnsupportedOperationException
- alwayspublic boolean isDirectory()
isDirectory
in class ZipEntry
public Object clone()
clone
in class ZipEntry
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |