org.jutil.io
Interface Version

All Superinterfaces:
java.io.Serializable, TextValue
All Known Implementing Classes:
VersionImpl

public interface Version
extends java.io.Serializable, TextValue

This is the Version class. Note: this class was based on the org.apache.avalon.blocks.Version class. it adds a postfix to the "major.minor.micro" pattern. It is also a inteface to allow for different version implementations. e.g


        1.0.1   becomes 1.0.1 
                        or              1.01a (alpha) 
                        or              1.01b (beta) 
                        or              1.01fcs (first customer release)
        


Method Summary
 int getMajor()
           
 int getMicro()
           
 int getMinor()
           
 java.lang.String getPostFix()
           
 java.lang.String getVersionString()
           
 
Methods inherited from interface org.jutil.text.TextValue
getTextValue, setTextValue
 

Method Detail

getMajor

int getMajor()

getMinor

int getMinor()

getMicro

int getMicro()

getPostFix

java.lang.String getPostFix()

getVersionString

java.lang.String getVersionString()