Class PackUtil

java.lang.Object
net.sf.basedb.util.zip.PackUtil

public class PackUtil
extends Object
Since:
3.0
Author:
Nicklas
Last modified
$Date: 2011-09-23 09:05:23 +0200 (fr, 23 sep 2011) $
  • Constructor Details

    • PackUtil

      public PackUtil()
  • Method Details

    • copyProperties

      public static void copyProperties​(File archive, File unpacked)
      Copy certain properties from the archive file to the unpacked file. Only properies that have been set on the archive file are copied.
      • Description
      • Character set (only if the MIME type on the unpacked file start with 'text/')
      • Item subtype
      • Write protected flag
      Parameters:
      archive - The master archive (or null if not known)
      unpacked - The file that is being unpacked
      Since:
      3.0