资 源 简 介
在某些软件应用当中需要把某些文件压缩成一个RAR或ZIP或JAR文件,例如手机程序是一个JAR包,因此在手机开发中,某些工具可以提供此功能:把某些文件压缩进某包,本代码即实现此种功能。
在实际应用中,例:游戏开发中,可把某些工具生成的文件(地图文件、脚本文件等)例用本代码将这些文件压缩到游戏jar包中,避免需要程序员进行打包的麻烦,以方便游戏策划人员进行编辑或调试。
主要是复用WAR软件的命令进行压缩-In some software applications which need to be certain files compressed into a RAR or ZIP or JAR files, such as the cell phone program is a JAR package, so mobile phone development, certain tools can provide this functionality: certain files compressed into a certain package, the code that is to achieve such functionality. In practice, example: game development, you can put some tools generated files (map files, script files, etc.) were treated with this code in the files compressed into the game jar package, to avoid the need to package the programmer the trouble of Games planners to facilitate editing or debugging.