Class ZipHandler

java.lang.Object
org.onebusaway.gtfs.impl.ZipHandler

public class ZipHandler extends Object
Zip file support.
  • Field Details

  • Constructor Details

    • ZipHandler

      public ZipHandler(File zipFile)
  • Method Details

    • readTextFromFile

      public String readTextFromFile(String fileInZip) throws IOException
      read metadata files from a text file.
      Parameters:
      fileInZip -
      Returns:
      Throws:
      IOException
    • writeTextToFile

      public void writeTextToFile(String fileInZip, String content) throws IOException
      write metatdata files to an existing zip file.
      Parameters:
      fileInZip -
      content -
      Throws:
      IOException