|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.sevenzipjbinding.simple.impl.SimpleInArchiveImpl
public class SimpleInArchiveImpl
Standard implementation of ISimpleInArchive, simplified 7-Zip-JBinding interface.
| Constructor Summary | |
|---|---|
SimpleInArchiveImpl(ISevenZipInArchive sevenZipInArchive)
Constructing an instance of SimpleInArchiveImpl from a instance of ISevenZipInArchive. |
|
| Method Summary | |
|---|---|
void |
close()
Close archive. |
ISimpleInArchiveItem |
getArchiveItem(int index)
$Return a simple representation of the archive item with index index. |
ISimpleInArchiveItem[] |
getArchiveItems()
Return array of archive items with ISimpleInArchive.getNumberOfItems() elements. |
int |
getNumberOfItems()
Return count of items in archive. |
ISevenZipInArchive |
testAndGetSafeSevenZipInArchive()
Tests, if 7-Zip In archive interface can be accessed safely. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleInArchiveImpl(ISevenZipInArchive sevenZipInArchive)
SimpleInArchiveImpl from a instance of ISevenZipInArchive.
sevenZipInArchive - a base instance of ISevenZipInArchive| Method Detail |
|---|
public void close()
throws SevenZipException
close in interface ISimpleInArchiveSevenZipException - intern error occurs. See Throwable.getMessage() for details.
public ISimpleInArchiveItem[] getArchiveItems()
throws SevenZipException
ISimpleInArchive.getNumberOfItems() elements.
getArchiveItems in interface ISimpleInArchiveSevenZipException - error occurs. See Throwable.getMessage() for details.
public int getNumberOfItems()
throws SevenZipException
getNumberOfItems in interface ISimpleInArchiveSevenZipException - error occurs. See Throwable.getMessage() for details.
public ISevenZipInArchive testAndGetSafeSevenZipInArchive()
throws SevenZipException
SevenZipException - archive can't be accessed any more
public ISimpleInArchiveItem getArchiveItem(int index)
throws SevenZipException
index.
getArchiveItem in interface ISimpleInArchiveindex - index of the archive item to return
ISimpleInArchiveItem
SevenZipException - error occurs. See Throwable.getMessage() for details.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||