com.arctorus.documents
Enum ExportType

java.lang.Object
  extended by java.lang.Enum<ExportType>
      extended by com.arctorus.documents.ExportType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ExportType>

public enum ExportType
extends java.lang.Enum<ExportType>

Defines supported document formats.


Enum Constant Summary
DOCX
          Microsoft Word Document
ODP
          OpenOffice Impress Presentation
ODS
          OpenOffice Calc Spreadsheet
ODT
          OpenOffice Writer Document
PPTX
          Microsoft PowerPoint Presentation
XLSX
          Microsoft Excel Spreadsheet
 
Method Summary
static ExportType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ExportType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

PPTX

public static final ExportType PPTX
Microsoft PowerPoint Presentation


ODP

public static final ExportType ODP
OpenOffice Impress Presentation


DOCX

public static final ExportType DOCX
Microsoft Word Document


ODT

public static final ExportType ODT
OpenOffice Writer Document


XLSX

public static final ExportType XLSX
Microsoft Excel Spreadsheet


ODS

public static final ExportType ODS
OpenOffice Calc Spreadsheet

Method Detail

values

public static final ExportType[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(ExportType c : ExportType.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static ExportType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name