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: 794 $, $Date: 2009-02-17 20:08:39 +0100 (Tue, 17 Feb 2009) $
- 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-2010. All Rights Reserved.