本文整理了Java中com.github.junrar.Archive.setVolume()
方法的一些代码示例,展示了Archive.setVolume()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Archive.setVolume()
方法的具体详情如下:
包路径:com.github.junrar.Archive
类名称:Archive
方法名:setVolume
暂无
代码示例来源:origin: edmund-wagner/junrar
/**
* create a new archive object using the given {@link VolumeManager}
*
* @param volumeManager
* the the {@link VolumeManager} that will provide volume stream
* data
* @throws RarException
*/
public Archive(VolumeManager volumeManager, UnrarCallback unrarCallback)
throws RarException, IOException {
this.volumeManager = volumeManager;
this.unrarCallback = unrarCallback;
setVolume(this.volumeManager.nextArchive(this, null));
dataIO = new ComprDataIO(this);
}
代码示例来源:origin: com.github.junrar/junrar
/**
* create a new archive object using the given {@link VolumeManager}
*
* @param volumeManager
* the the {@link VolumeManager} that will provide volume stream
* data
* @param unrarCallback
* gets feedback on the extraction progress
*
* @throws RarException .
* @throws IOException .
*/
public Archive(
final VolumeManager volumeManager,
final UnrarCallback unrarCallback
) throws RarException, IOException {
this.volumeManager = volumeManager;
this.unrarCallback = unrarCallback;
setVolume(this.volumeManager.nextArchive(this, null));
this.dataIO = new ComprDataIO(this);
}
代码示例来源:origin: com.github.junrar/junrar
return -1;
archive.setVolume(nextVolume);
hd = archive.nextFileHeader();
if (hd == null) {
代码示例来源:origin: edmund-wagner/junrar
return -1;
archive.setVolume(nextVolume);
hd = archive.nextFileHeader();
if (hd == null) {
内容来源于网络,如有侵权,请联系作者删除!