| Package | Description |
|---|---|
| org.xwiki.xar |
| Modifier and Type | Method and Description |
|---|---|
static Collection<XarEntry> |
XarPackage.getEntries(File file)
Get all entries found in a XAR file.
|
void |
XarPackage.read(InputStream xarStream)
Find and add the entries located in the passed XAR file.
|
void |
XarPackage.read(org.apache.commons.compress.archivers.zip.ZipFile zipFile)
Find and add the entries located in the passed XAR file.
|
void |
XarPackage.readDescriptor(InputStream stream)
Read a XML descriptor of a XAR package (usually names package.xml).
|
void |
XarPackage.write(OutputStream stream,
String encoding)
Write the package descriptor to the passed stream as XML.
|
void |
XarPackage.write(org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream zipStream,
String encoding)
Write and add the package descriptor to the passed ZIP stream.
|
| Constructor and Description |
|---|
XarFile(File file) |
XarFile(File file,
Collection<XarEntry> pages) |
XarFile(File file,
XarPackage xarPackage) |
XarPackage(File file) |
XarPackage(InputStream xarStream) |
XarPackage(org.apache.commons.compress.archivers.zip.ZipFile zipFile) |
Copyright © 2004–2015 XWiki. All rights reserved.