|
Oracle® WebCenter Content Site Studio for External Applications Java API Reference 11g Release 1 (11.1.1) E17273-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.stellent.wcm.common.io.ZipStreamInflator
public class ZipStreamInflator
Nested Class Summary | |
---|---|
static class |
ZipStreamInflator.FileOverwriteAction |
Constructor Summary | |
---|---|
ZipStreamInflator(java.util.zip.ZipInputStream zipStream, java.io.File rootDirectory) Inflates an archive file of staged content. |
Method Summary | |
---|---|
protected void |
createFile(java.io.File fileOnDisk) Create the file on the disk |
protected ZipStreamInflator.FileOverwriteAction |
getOverwriteAction(java.io.File fileOnDisk) Determines how the file that already existed locally should be replaced. |
java.io.File |
getRootDirectory() |
protected java.lang.String |
getZipEntryPath(java.lang.String zipEntry) Retrieve the zip entry path |
java.util.zip.ZipInputStream |
getZipStream() |
java.lang.String |
inflate() Inflate the zip stream |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ZipStreamInflator(java.util.zip.ZipInputStream zipStream, java.io.File rootDirectory)
zipStream
- archive to inflaterootDirectory
- root dir we are inflating to.Method Detail |
---|
public java.io.File getRootDirectory()
public java.util.zip.ZipInputStream getZipStream()
public java.lang.String inflate() throws java.io.IOException
java.io.IOException
protected void createFile(java.io.File fileOnDisk) throws java.io.IOException
fileOnDisk
- the file to createjava.io.IOException
protected ZipStreamInflator.FileOverwriteAction getOverwriteAction(java.io.File fileOnDisk)
fileOnDisk
- local fileprotected java.lang.String getZipEntryPath(java.lang.String zipEntry)
zipEntry
- the zip entry
|
Oracle® WebCenter Content Site Studio for External Applications Java API Reference 11g Release 1 (11.1.1) E17273-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |