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