|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hyperic.util.file.ArchiveUpdater
org.hyperic.util.file.ZipUpdater
public class ZipUpdater
Update a zipfile with an updated file.
Field Summary |
---|
Fields inherited from class org.hyperic.util.file.ArchiveUpdater |
---|
tgzUpdater, zipUpdater |
Constructor Summary | |
---|---|
ZipUpdater()
|
Method Summary | |
---|---|
void |
update(java.io.File zip,
java.io.File out,
java.lang.String pathToReplace,
java.io.InputStream replacement,
long rsize)
Same as the other update method, but this accepts an InputStream as the replacement file instead of a File object. |
Methods inherited from class org.hyperic.util.file.ArchiveUpdater |
---|
doClose, doClose, getDestFile, getUpdater, main, matches, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ZipUpdater()
Method Detail |
---|
public void update(java.io.File zip, java.io.File out, java.lang.String pathToReplace, java.io.InputStream replacement, long rsize) throws java.io.IOException
ArchiveUpdater
update
in class ArchiveUpdater
rsize
- The size of the replacement stream, in bytes.
java.io.IOException
ArchiveUpdater.update(java.io.File, java.io.File, java.lang.String, java.io.File)
|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |