Code example for ZipEntry

Methods: getNameisDirectory

0
    ZipEntry entry)
    throws IOException
  { 
    try 
    { 
      File file = createFile(outputDirectory, entry.getName());
 
      if (!entry.isDirectory())
      { 
        File parent = file.getParentFile();
 
        if (parent != null)
        { 
          IOUtil.mkdirs(parent);
          extractFile(input, file);
        } 
        else 
        { 
          logger.warn("file {} has no parent", file.getPath());
        } 
Contextual code suggestions in your IDE  Get Codota for Java