com.threerings.getdown.util
Class VersionUtil

java.lang.Object
  extended by com.threerings.getdown.util.VersionUtil

public class VersionUtil
extends Object

Version related utilities.


Constructor Summary
VersionUtil()
           
 
Method Summary
static long readVersion(File vfile)
          Reads a version number from a file.
static void writeVersion(File vfile, long version)
          Writes a version number to a file.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VersionUtil

public VersionUtil()
Method Detail

readVersion

public static long readVersion(File vfile)
Reads a version number from a file.


writeVersion

public static void writeVersion(File vfile,
                                long version)
                         throws IOException
Writes a version number to a file.

Throws:
IOException


Copyright © 2013. All Rights Reserved.