com.github.junrar.Archive.setVolume()方法的使用及代码示例

x33g5p2x  于2022-01-17 转载在 其他  
字(1.5k)|赞(0)|评价(0)|浏览(137)

本文整理了Java中com.github.junrar.Archive.setVolume()方法的一些代码示例,展示了Archive.setVolume()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Archive.setVolume()方法的具体详情如下:
包路径:com.github.junrar.Archive
类名称:Archive
方法名:setVolume

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) {

相关文章