gpt4 book ai didi

org.apache.maven.index.util.zip.ZipHandle类的使用及代码示例

转载 作者:知者 更新时间:2024-03-13 09:42:44 27 4
gpt4 key购买 nike

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

ZipHandle介绍

[英]A very simplistic approach to hide the underlying mech to deal with ZipFiles, suited for use cases happening in Maven Indexer.
[中]这是一种非常简单的方法,用于隐藏处理ZipFiles的底层机制,适用于Maven Indexer中发生的用例。

代码示例

代码示例来源:origin: org.apache.maven.indexer/indexer-core

public static void close( ZipHandle handle )
    throws IOException
  {
    if ( handle != null )
    {
      handle.close();
    }
  }
}

代码示例来源:origin: apache/maven-indexer

if ( handle.hasEntry( pluginDescriptorPath ) )
  InputStream is = new BufferedInputStream( handle.getEntryContent( pluginDescriptorPath ) );

代码示例来源:origin: org.jboss.windup.org.apache.maven.indexer/indexer-core

final List<String> entries = handle.getEntries();
    Manifest manifest = new Manifest( handle.getEntryContent( name ) );

代码示例来源:origin: org.jboss.windup.org.apache.maven.indexer/indexer-core

if ( handle.hasEntry( path ) )

代码示例来源:origin: org.apache.maven.indexer/indexer-core

final List<String> entries = handle.getEntries();

代码示例来源:origin: org.apache.maven.indexer/indexer-core

if ( handle.hasEntry( pluginDescriptorPath ) )
  InputStream is = new BufferedInputStream( handle.getEntryContent( pluginDescriptorPath ) );

代码示例来源:origin: org.apache.maven.indexer/indexer-core

final List<String> entries = handle.getEntries();
    Manifest manifest = new Manifest( handle.getEntryContent( name ) );

代码示例来源:origin: apache/maven-indexer

if ( handle.hasEntry( path ) )

代码示例来源:origin: org.jboss.windup.org.apache.maven.indexer/indexer-core

final List<String> entries = handle.getEntries();

代码示例来源:origin: org.jboss.windup.org.apache.maven.indexer/indexer-core

if ( handle.hasEntry( pluginDescriptorPath ) )
  InputStream is = new BufferedInputStream( handle.getEntryContent( pluginDescriptorPath ) );

代码示例来源:origin: apache/maven-indexer

final List<String> entries = handle.getEntries();
    Manifest manifest = new Manifest( handle.getEntryContent( name ) );

代码示例来源:origin: org.jboss.windup.org.apache.maven.indexer/indexer-core

public static void close( ZipHandle handle )
    throws IOException
  {
    if ( handle != null )
    {
      handle.close();
    }
  }
}

代码示例来源:origin: org.apache.maven.indexer/indexer-core

if ( handle.hasEntry( path ) )

代码示例来源:origin: apache/maven-indexer

final List<String> entries = handle.getEntries();

代码示例来源:origin: apache/maven-indexer

"META-INF/maven/" + getGav().getGroupId() + "/" + getGav().getArtifactId() + "/pom.xml";
if ( handle.hasEntry( embeddedPomPath ) )
  try ( InputStream inputStream = handle.getEntryContent( embeddedPomPath ) )

代码示例来源:origin: apache/maven-indexer

public static void close( ZipHandle handle )
    throws IOException
  {
    if ( handle != null )
    {
      handle.close();
    }
  }
}

代码示例来源:origin: org.apache.maven.indexer/indexer-core

"META-INF/maven/" + getGav().getGroupId() + "/" + getGav().getArtifactId() + "/pom.xml";
if ( handle.hasEntry( embeddedPomPath ) )
  try ( InputStream inputStream = handle.getEntryContent( embeddedPomPath ) )

代码示例来源:origin: org.jboss.windup.org.apache.maven.indexer/indexer-core

"META-INF/maven/" + getGav().getGroupId() + "/" + getGav().getArtifactId() + "/pom.xml";
if ( handle.hasEntry( embeddedPomPath ) )
  return new MavenXpp3Reader().read( handle.getEntryContent( embeddedPomPath ), false );

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com