com.phenix.pct
Class DLCVersion
java.lang.Object
com.phenix.pct.DLCVersion
- All Implemented Interfaces:
- Comparable
public class DLCVersion
- extends Object
- implements Comparable
DLCVersion
public DLCVersion(int major,
int minor,
String maintenance)
getObject
public static DLCVersion getObject(File dir)
throws IOException,
RCodeInfo.InvalidRCodeException
- Throws:
IOException
RCodeInfo.InvalidRCodeException
readVersionFile
protected static void readVersionFile(DLCVersion.Builder builder,
String str)
readArch
protected static void readArch(DLCVersion.Builder builder,
File prostart)
throws IOException,
RCodeInfo.InvalidRCodeException
- Throws:
IOException
RCodeInfo.InvalidRCodeException
getFullVersion
public String getFullVersion()
getMajorVersion
public int getMajorVersion()
getMinorVersion
public int getMinorVersion()
getMaintenanceVersion
public String getMaintenanceVersion()
getPatchVersion
public String getPatchVersion()
getDate
public String getDate()
is64bits
public boolean is64bits()
getrCodeVersion
public long getrCodeVersion()
toString
public String toString()
- Overrides:
toString in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
compareTo
public int compareTo(Object other)
- Compares only major, minor and maintenance
- Specified by:
compareTo in interface Comparable
Copyright © 2003-2011 Gilles QUERRET. All Rights Reserved.