Package aQute.bnd.osgi
Class ZipResource
java.lang.Object
aQute.bnd.osgi.ZipResource
- All Implemented Interfaces:
Resource,Closeable,AutoCloseable
-
Method Summary
Modifier and TypeMethodDescriptionbuffer()voidclose()getExtra()UseResource.decodeExtra(String)to properly decode the ZIP extra field structured binary data from the returned String.longvoidUseResource.encodeExtra(byte[])to properly encode the ZIP extra field structured binary data into the specified String.longsize()toString()voidwrite(OutputStream out)
-
Method Details
-
buffer
-
openInputStream
- Specified by:
openInputStreamin interfaceResource- Throws:
Exception
-
toString
-
write
-
lastModified
public long lastModified()- Specified by:
lastModifiedin interfaceResource
-
getExtra
Description copied from interface:ResourceUseResource.decodeExtra(String)to properly decode the ZIP extra field structured binary data from the returned String. -
setExtra
Description copied from interface:ResourceUseResource.encodeExtra(byte[])to properly encode the ZIP extra field structured binary data into the specified String. -
size
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-