Package VASSAL.tools

Class ZipUpdater

java.lang.Object
VASSAL.tools.ZipUpdater
All Implemented Interfaces:
Runnable

@Deprecated(since="2020-08-05", forRemoval=true) public class ZipUpdater extends Object implements Runnable
Deprecated, for removal: This API element is subject to removal in a future version.
removed without replacement
Automatically builds a .jar file that will update a Zip archive. Usage: java VASSAL.tools.ZipUpdater will create a file named update.jar Executing this jar (by double-clicking or typing "java -jar update.jar") will update the old archive so that its contents are identical to the new archive. User: rkinney Date: Oct 23, 2003
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static String
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static String
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static String
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static String
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    ZipUpdater​(File input)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    createUpdater​(File newFile)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    createUpdater​(File newFile, File updaterFile)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static void
    main​(String[] args)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    run()
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    write​(File destination)
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • CHECKSUM_RESOURCE

      public static final String CHECKSUM_RESOURCE
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
      Constant Field Values
    • TARGET_ARCHIVE

      public static final String TARGET_ARCHIVE
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
      Constant Field Values
    • UPDATED_ARCHIVE_NAME

      public static final String UPDATED_ARCHIVE_NAME
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
      Constant Field Values
    • ENTRIES_DIR

      public static final String ENTRIES_DIR
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
      Constant Field Values
  • Constructor Details

    • ZipUpdater

      public ZipUpdater(File input) throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Throws:
      IOException
  • Method Details

    • write

      public void write(File destination) throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Throws:
      IOException
    • createUpdater

      public void createUpdater(File newFile) throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Throws:
      IOException
    • createUpdater

      public void createUpdater(File newFile, File updaterFile) throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Throws:
      IOException
    • run

      public void run()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      run in interface Runnable
    • main

      public static void main(String[] args)
      Deprecated, for removal: This API element is subject to removal in a future version.