@Unstable public class XarFile extends Object implements Closeable
| Constructor and Description |
|---|
XarFile(File file) |
XarFile(File file,
Collection<XarEntry> pages) |
XarFile(File file,
XarPackage xarPackage) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Collection<XarEntry> |
getEntries() |
XarEntry |
getEntry(LocalDocumentReference reference) |
File |
getFile() |
InputStream |
getInputStream(LocalDocumentReference reference) |
String |
toString() |
public XarFile(File file) throws XarException, IOException
XarExceptionIOExceptionpublic XarFile(File file, Collection<XarEntry> pages) throws XarException, IOException
XarExceptionIOExceptionpublic XarFile(File file, XarPackage xarPackage) throws XarException, IOException
XarExceptionIOExceptionpublic File getFile()
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic InputStream getInputStream(LocalDocumentReference reference) throws IOException
IOExceptionpublic Collection<XarEntry> getEntries()
public XarEntry getEntry(LocalDocumentReference reference)
Copyright © 2004–2015 XWiki. All rights reserved.