net.jetrix.tools.patcher
Class UpdateList
java.lang.Object
net.jetrix.tools.patcher.UpdateList
public class UpdateList
- extends Object
Computes released files' CRC32 and write them into the update.crc file.
- Version:
- $Revision: 588 $, $Date: 2005-01-12 19:56:30 +0100 (mer., 12 janv. 2005) $
- Author:
- Emmanuel Bourg
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UpdateList
public UpdateList()
main
public static void main(String[] argv)
throws IOException
- Throws:
IOException
browseDirectory
public static void browseDirectory(File directory)
throws IOException
- Recurse through directories and output files CRCs
- Parameters:
directory
- base directory
- Throws:
IOException
getFileCRC32
public static long getFileCRC32(File file)
throws IOException
- Compute CRC32 for the specified file.
- Parameters:
file
-
- Returns:
- CRC32
- Throws:
IOException
Copyright © 2001-2008 Emmanuel Bourg. All Rights Reserved.