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 StringCHECKSUM_RESOURCEDeprecated, for removal: This API element is subject to removal in a future version.static StringENTRIES_DIRDeprecated, for removal: This API element is subject to removal in a future version.static StringTARGET_ARCHIVEDeprecated, for removal: This API element is subject to removal in a future version.static StringUPDATED_ARCHIVE_NAMEDeprecated, 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 voidcreateUpdater(File newFile)Deprecated, for removal: This API element is subject to removal in a future version.voidcreateUpdater(File newFile, File updaterFile)Deprecated, for removal: This API element is subject to removal in a future version.static voidmain(String[] args)Deprecated, for removal: This API element is subject to removal in a future version.voidrun()Deprecated, for removal: This API element is subject to removal in a future version.voidwrite(File destination)Deprecated, for removal: This API element is subject to removal in a future version.
-
Field Details
-
CHECKSUM_RESOURCE
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
TARGET_ARCHIVE
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
UPDATED_ARCHIVE_NAME
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
ENTRIES_DIR
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
-
Constructor Details
-
ZipUpdater
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
-
Method Details
-
write
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
createUpdater
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
createUpdater
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. -
main
Deprecated, for removal: This API element is subject to removal in a future version.
-