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

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

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

Archive.nextFileHeader介绍

暂无

代码示例

代码示例来源:origin: SeanDragon/protools

FileHeader fh = archive.nextFileHeader();
while (fh != null) {
  String compressFileName = fh.getFileNameString().trim();
      destFile.mkdirs();
    fh = archive.nextFileHeader();
    continue;
    archive.extractFile(fh, fos);
  fh = archive.nextFileHeader();

代码示例来源:origin: com.github.junrar/junrar

@Override
public FileHeader next() {
  FileHeader next;
  if(Archive.this.nextFileHeader != null) {
    next =  Archive.this.nextFileHeader;
  }else {
    next = nextFileHeader();
  }
  return next;
}

代码示例来源:origin: com.github.junrar/junrar

@Override
  public boolean hasNext() {
    Archive.this.nextFileHeader = nextFileHeader();
    return Archive.this.nextFileHeader != null;
  }
};

代码示例来源:origin: apache/tika

FileHeader header = rar.nextFileHeader();
while (header != null && !Thread.currentThread().isInterrupted()) {
  if (!header.isDirectory()) {
  header = rar.nextFileHeader();

代码示例来源:origin: stackoverflow.com

FileHeader fh = a.nextFileHeader();
while (fh != null) {
  try {
    e.printStackTrace();
  fh = a.nextFileHeader();

代码示例来源:origin: dkpro/dkpro-core

FileHeader fh = archive.nextFileHeader();
while (fh != null) {
  String name = stripLeadingFolders(fh.getFileNameString(), strip);
  fh = archive.nextFileHeader();

代码示例来源:origin: edmund-wagner/junrar

FileHeader fh = a.nextFileHeader();
while (fh != null) {
  try {
  fh = a.nextFileHeader();

代码示例来源:origin: de.tudarmstadt.ukp.dkpro.core/de.tudarmstadt.ukp.dkpro.core.api.datasets-asl

FileHeader fh = archive.nextFileHeader();
while (fh != null) {
  String name = stripLeadingFolders(fh.getFileNameString(), strip);
  fh = archive.nextFileHeader();

代码示例来源:origin: com.github.lafa.tikaNoExternal/tika-parsers

FileHeader header = rar.nextFileHeader();
while (header != null && !Thread.currentThread().isInterrupted()) {
  if (!header.isDirectory()) {
  header = rar.nextFileHeader();

代码示例来源:origin: org.apache.tika/tika-parsers

FileHeader header = rar.nextFileHeader();
while (header != null && !Thread.currentThread().isInterrupted()) {
  if (!header.isDirectory()) {
  header = rar.nextFileHeader();

代码示例来源:origin: edmund-wagner/junrar

hd = archive.nextFileHeader();
if (hd == null) {
  return -1;

代码示例来源:origin: com.github.junrar/junrar

hd = archive.nextFileHeader();
if (hd == null) {
  return -1;

相关文章