org.spase.parser122
Enum EnumEncoding

java.lang.Object
  extended by java.lang.Enum<EnumEncoding>
      extended by org.spase.parser122.EnumEncoding
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<EnumEncoding>

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

Java class for enumEncoding.

The following schema fragment specifies the expected content contained within this class.

 <simpleType name="enumEncoding">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="ASCII"/>
     <enumeration value="Base64"/>
     <enumeration value="BZIP2"/>
     <enumeration value="GZIP"/>
     <enumeration value="None"/>
     <enumeration value="TAR"/>
     <enumeration value="Unicode"/>
     <enumeration value="ZIP"/>
   </restriction>
 </simpleType>
 


Enum Constant Summary
ASCII
          A sequence of characters that adheres to American Standard Code for Information Interchange (ASCII) which is an 7-bit character-coding scheme.
BASE_64
          A data encoding scheme whereby binary-encoded data is converted to printable ASCII characters.
BZIP_2
          An open standard algorithm by Julian Seward using Burrows-Wheeler block sorting and Huffman coding.
GZIP
          An open standard algorithm distributed by GHU based on LZ77 and Huffman coding.
NONE
          A lack or absence of anything.
TAR
          A file format used to collate collections of files into one larger file, for distribution or archiving, while preserving file system information such as user and group permissions, dates, and directory structures.
UNICODE
          Text in multi-byte Unicode format.
ZIP
          An open standard for compression which is a variation of the LZW method and was originally used in the PKZIP utility.
 
Method Summary
static EnumEncoding fromValue(java.lang.String v)
           
 java.lang.String value()
           
static EnumEncoding valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static EnumEncoding[] 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

ASCII

public static final EnumEncoding ASCII
A sequence of characters that adheres to American Standard Code for Information Interchange (ASCII) which is an 7-bit character-coding scheme.


BASE_64

public static final EnumEncoding BASE_64
A data encoding scheme whereby binary-encoded data is converted to printable ASCII characters. It is defined as a MIME content transfer encoding for use in internet e-mail. The only characters used are the upper- and lower-case Roman alphabet characters (A–Z, a–z), the numerals (0–9), and the "+" and "/" symbols, with the "=" symbol as a special suffix (padding) code.


BZIP_2

public static final EnumEncoding BZIP_2
An open standard algorithm by Julian Seward using Burrows-Wheeler block sorting and Huffman coding. See


GZIP

public static final EnumEncoding GZIP
An open standard algorithm distributed by GHU based on LZ77 and Huffman coding. See or


NONE

public static final EnumEncoding NONE
A lack or absence of anything.


TAR

public static final EnumEncoding TAR
A file format used to collate collections of files into one larger file, for distribution or archiving, while preserving file system information such as user and group permissions, dates, and directory structures. The format was standardized by POSIX.1-1988 and later POSIX.1-2001.


UNICODE

public static final EnumEncoding UNICODE
Text in multi-byte Unicode format.


ZIP

public static final EnumEncoding ZIP
An open standard for compression which is a variation of the LZW method and was originally used in the PKZIP utility.

Method Detail

values

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

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

valueOf

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

value

public java.lang.String value()

fromValue

public static EnumEncoding fromValue(java.lang.String v)