Class TrueZipLegacyChunkStore

All Implemented Interfaces:
Closeable, AutoCloseable

public class TrueZipLegacyChunkStore extends LegacyChunkStore
Represents the chunk store used by Minecraft alpha but zipped. Uses the replacement classes for java.util.zip.* from TrueZip.
  • Constructor Details

    • TrueZipLegacyChunkStore

      public TrueZipLegacyChunkStore(File zipFile, String folder) throws IOException, ZipException
      Create an instance. The folder argument lets you choose a folder or path to look into in the ZIP for the files. Use a blank string for the folder to not look into a subdirectory.
      Parameters:
      zipFile - the ZIP file to open
      folder - the folder to look into in the ZIP
      Throws:
      IOException - if there is an error opening the zip
      ZipException - if there is an error opening the zip
    • TrueZipLegacyChunkStore

      public TrueZipLegacyChunkStore(File zipFile) throws IOException, ZipException
      Create an instance. The subf-older containing the chunk data will be detected.
      Parameters:
      zipFile - the ZIP file to open
      Throws:
      IOException - if there is an error opening the zip
      ZipException - if there is an error opening the zip
  • Method Details