Class ArchiveContentUtil

java.lang.Object
org.eclipse.tycho.test.util.ArchiveContentUtil

public class ArchiveContentUtil extends Object
  • Constructor Details

    • ArchiveContentUtil

      public ArchiveContentUtil()
  • Method Details

    • getFilesInZip

      public static Set<String> getFilesInZip(File archive) throws Exception
      Returns a list of file and folder entries in the given zip archive.
      Throws:
      Exception
    • getFileContent

      public static String getFileContent(File archive, String fileInArchive) throws Exception
      Returns the content of the given file as string.
      Throws:
      Exception