mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

kenneth_suter
14.57.2007 29842007ec55b8d0e13d8df2c797b755950c98d9
added constructor to zip extractor for extracting from a stream with no application
1 files modified
13 ■■■■■ changed files
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/util/ZipExtractor.java 13 ●●●●● patch | view | raw | blame | history
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/util/ZipExtractor.java
@@ -73,6 +73,19 @@
  /**
   * Creates an instance of an ZipExtractor.
   * @param in InputStream for zip content
   * @param zipFileName name of the input zip file
   * @throws FileNotFoundException if the specified file does not exist
   * @throws IllegalArgumentException if the zip file is not a zip file
   */
  public ZipExtractor(InputStream in, String zipFileName)
    throws FileNotFoundException, IllegalArgumentException
  {
    this(in, 0, 0, 1, zipFileName, null);
  }
  /**
   * Creates an instance of an ZipExtractor.
   * @param zipFile File the zip file to extract
   * @param minRatio int indicating the max ration
   * @param maxRatio int indicating the min ration