net.sf.mpxj
Class FileVersion

java.lang.Object
  extended by net.sf.mpxj.FileVersion

public final class FileVersion
extends Object

Instances of this class represent enumerated file version values.


Field Summary
static FileVersion VERSION_1_0
          Constant representing file version.
static FileVersion VERSION_3_0
          Constant representing file version.
static FileVersion VERSION_4_0
          Constant representing file version.
 
Method Summary
static FileVersion getInstance(String value)
          Retrieve a FileVersion instance representing the supplied value.
 int getValue()
          Retrieves the int representation of the file version.
 String toString()
          Retrieve the string representation of this file type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

VERSION_1_0

public static final FileVersion VERSION_1_0
Constant representing file version.


VERSION_3_0

public static final FileVersion VERSION_3_0
Constant representing file version.


VERSION_4_0

public static final FileVersion VERSION_4_0
Constant representing file version.

Method Detail

getValue

public int getValue()
Retrieves the int representation of the file version.

Returns:
file version value

getInstance

public static FileVersion getInstance(String value)
Retrieve a FileVersion instance representing the supplied value.

Parameters:
value - file version value
Returns:
FileVersion instance

toString

public String toString()
Retrieve the string representation of this file type.

Overrides:
toString in class Object
Returns:
string representation of the file type


Copyright © 2012. All Rights Reserved.