file2xliff4j
Enum FileType

java.lang.Object
  extended by java.lang.Enum<FileType>
      extended by file2xliff4j.FileType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<FileType>

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

File types that we know how to deal with

Author:
Weldon Whipple <weldon@lingotek.com>

Enum Constant Summary
EXCEL
           
HTML
           
JAVA_PROPERTIES
           
MIF
           
MSOFFICEDOC
           
ODP
           
ODS
           
ODT
           
PDF
           
PLAINTEXT
           
PO
           
PPT
           
RTF
           
WINRC
           
WORD
           
XLIFF
           
XML
           
XULDTD
           
 
Method Summary
static FileType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static FileType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

MSOFFICEDOC

public static final FileType MSOFFICEDOC

HTML

public static final FileType HTML

ODT

public static final FileType ODT

WORD

public static final FileType WORD

RTF

public static final FileType RTF

XLIFF

public static final FileType XLIFF

EXCEL

public static final FileType EXCEL

PPT

public static final FileType PPT

MIF

public static final FileType MIF

ODS

public static final FileType ODS

ODP

public static final FileType ODP

XML

public static final FileType XML

PDF

public static final FileType PDF

PLAINTEXT

public static final FileType PLAINTEXT

JAVA_PROPERTIES

public static final FileType JAVA_PROPERTIES

XULDTD

public static final FileType XULDTD

PO

public static final FileType PO

WINRC

public static final FileType WINRC
Method Detail

values

public static final FileType[] 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(FileType c : FileType.values())
        System.out.println(c);

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

valueOf

public static FileType 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