com.jurismarches.vradi
Enum VradiConstants.FileType

java.lang.Object
  extended by java.lang.Enum<VradiConstants.FileType>
      extended by com.jurismarches.vradi.VradiConstants.FileType
All Implemented Interfaces:
Serializable, Comparable<VradiConstants.FileType>
Enclosing class:
VradiConstants

public static enum VradiConstants.FileType
extends Enum<VradiConstants.FileType>

All file type managed by vradi.


Enum Constant Summary
ATTACHMENTS_FORM_FILES
          Files attached to sended mails.
EMBEDDED_FORM_FILES
          Files embedded into generated PDF.
PDF
          Generated pdf files.
QUERY_HISTORY
          Request history files.
TEMP_FILE
          Temp files
TEMPLATE
          Template files (ott, odt).
WEB_HARVEST
          Web harvest script files.
 
Method Summary
 String getMineType()
           
static VradiConstants.FileType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static VradiConstants.FileType[] 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

TEMPLATE

public static final VradiConstants.FileType TEMPLATE
Template files (ott, odt).


EMBEDDED_FORM_FILES

public static final VradiConstants.FileType EMBEDDED_FORM_FILES
Files embedded into generated PDF.


ATTACHMENTS_FORM_FILES

public static final VradiConstants.FileType ATTACHMENTS_FORM_FILES
Files attached to sended mails.


PDF

public static final VradiConstants.FileType PDF
Generated pdf files.


WEB_HARVEST

public static final VradiConstants.FileType WEB_HARVEST
Web harvest script files.


QUERY_HISTORY

public static final VradiConstants.FileType QUERY_HISTORY
Request history files.


TEMP_FILE

public static final VradiConstants.FileType TEMP_FILE
Temp files

Method Detail

values

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

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

valueOf

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

getMineType

public String getMineType()


Copyright © 2009-2010 JurisMarches. All Rights Reserved.