org.xwiki.xar
Class XarFile
java.lang.Object
org.xwiki.xar.XarFile
- All Implemented Interfaces:
- Closeable
@Unstable
public class XarFile
- extends Object
- implements Closeable
- Since:
- 5.4RC1
- Version:
- $Id: 82da3c265af58c0a7af6ccdd90c2a3f465f145b9 $
XarFile
public XarFile(File file)
throws XarException,
IOException
- Throws:
XarException
IOException
XarFile
public XarFile(File file,
Collection<XarEntry> pages)
throws XarException,
IOException
- Throws:
XarException
IOException
XarFile
public XarFile(File file,
XarPackage xarPackage)
throws XarException,
IOException
- Throws:
XarException
IOException
getFile
public File getFile()
close
public void close()
throws IOException
- Specified by:
close in interface Closeable
- Throws:
IOException
getInputStream
public InputStream getInputStream(LocalDocumentReference reference)
throws IOException
- Throws:
IOException
getEntries
public Collection<XarEntry> getEntries()
getEntry
public XarEntry getEntry(LocalDocumentReference reference)
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2004–2014 XWiki. All rights reserved.