file2xliff4j
Enum ConversionStatus

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

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

Statuses that can be returned from an attempt to convert from one file type to another.

Author:
Weldon Whipple <weldon@lingotek.com>

Enum Constant Summary
CONVERSION_SUCCEEDED
           
ERROR_INPUT_READ_FAILURE
           
ERROR_IO_EXCEPTION
           
ERROR_NOT_IMPLEMENTED
           
ERROR_NOT_INITIALIZED
           
ERROR_OPEN_OFFICE_ORG_CONVERSION_FAILURE
           
ERROR_SKELETON_READ_FAILURE
           
ERROR_UNKNOWN_ERROR
           
ERROR_ZIP_CREATION_FAILURE
           
WARNING_INVALID_XML_EXPORTED
           
 
Method Summary
static ConversionStatus valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ConversionStatus[] 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

CONVERSION_SUCCEEDED

public static final ConversionStatus CONVERSION_SUCCEEDED

ERROR_NOT_IMPLEMENTED

public static final ConversionStatus ERROR_NOT_IMPLEMENTED

ERROR_NOT_INITIALIZED

public static final ConversionStatus ERROR_NOT_INITIALIZED

ERROR_SKELETON_READ_FAILURE

public static final ConversionStatus ERROR_SKELETON_READ_FAILURE

ERROR_INPUT_READ_FAILURE

public static final ConversionStatus ERROR_INPUT_READ_FAILURE

ERROR_ZIP_CREATION_FAILURE

public static final ConversionStatus ERROR_ZIP_CREATION_FAILURE

ERROR_OPEN_OFFICE_ORG_CONVERSION_FAILURE

public static final ConversionStatus ERROR_OPEN_OFFICE_ORG_CONVERSION_FAILURE

ERROR_IO_EXCEPTION

public static final ConversionStatus ERROR_IO_EXCEPTION

WARNING_INVALID_XML_EXPORTED

public static final ConversionStatus WARNING_INVALID_XML_EXPORTED

ERROR_UNKNOWN_ERROR

public static final ConversionStatus ERROR_UNKNOWN_ERROR
Method Detail

values

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

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

valueOf

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