|
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.TgzUpdater
public class TgzUpdater
Update a gzipped tarfile with an updated file.
| Field Summary |
|---|
| Fields inherited from class org.hyperic.util.file.ArchiveUpdater |
|---|
tgzUpdater, zipUpdater |
| Constructor Summary | |
|---|---|
TgzUpdater()
|
|
| Method Summary | |
|---|---|
void |
update(java.io.File tgz,
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 TgzUpdater()
| Method Detail |
|---|
public void update(java.io.File tgz,
java.io.File out,
java.lang.String pathToReplace,
java.io.InputStream replacement,
long rsize)
throws java.io.IOException
ArchiveUpdater
update in class ArchiveUpdaterrsize - The size of the replacement stream, in bytes.
java.io.IOExceptionArchiveUpdater.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 | ||||||||