fr.cnes.sirius.patrius.tools.ephemerisComparator
Enum AllowedFileType

java.lang.Object
  extended by java.lang.Enum<AllowedFileType>
      extended by fr.cnes.sirius.patrius.tools.ephemerisComparator.AllowedFileType
All Implemented Interfaces:
Serializable, Comparable<AllowedFileType>

public enum AllowedFileType
extends Enum<AllowedFileType>

This file lists the type of file that the ephemeris comparator can work with.

Since:
1.0
Version:
$Id: AllowedFileType.java 17581 2017-05-10 12:47:31Z bignon $
Author:
Philippe Pavero
Concurrency :
immutable

Enum Constant Summary
PSIMU
          PSIMU file type.
SIMPLE
          SIMPLE file type.
 
Method Summary
static AllowedFileType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AllowedFileType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

PSIMU

public static final AllowedFileType PSIMU
PSIMU file type.


SIMPLE

public static final AllowedFileType SIMPLE
SIMPLE file type.

Method Detail

values

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

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

valueOf

public static AllowedFileType valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2017 CNES. All Rights Reserved.