com.android.sdklib.internal.repository.archives
Enum Archive.Arch

java.lang.Object
  extended by java.lang.Enum<Archive.Arch>
      extended by com.android.sdklib.internal.repository.archives.Archive.Arch
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Archive.Arch>
Enclosing class:
Archive

public static enum Archive.Arch
extends java.lang.Enum<Archive.Arch>

The Architecture that this archive can be downloaded on.


Enum Constant Summary
ANY
           
PPC
           
X86
           
X86_64
           
 
Method Summary
static Archive.Arch getCurrentArch()
          Returns the current architecture as one of the Archive.Arch enum values or null.
 java.lang.String getUiName()
          Returns the UI name of the architecture.
 java.lang.String getXmlName()
          Returns the XML name of the architecture.
 boolean isCompatible()
          Returns true if this architecture is compatible with the current one.
static Archive.Arch valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Archive.Arch[] 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

ANY

public static final Archive.Arch ANY

PPC

public static final Archive.Arch PPC

X86

public static final Archive.Arch X86

X86_64

public static final Archive.Arch X86_64
Method Detail

values

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

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

valueOf

public static Archive.Arch 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
java.lang.NullPointerException - if the argument is null

getUiName

public java.lang.String getUiName()
Returns the UI name of the architecture.


getXmlName

public java.lang.String getXmlName()
Returns the XML name of the architecture.


getCurrentArch

public static Archive.Arch getCurrentArch()
Returns the current architecture as one of the Archive.Arch enum values or null.


isCompatible

public boolean isCompatible()
Returns true if this architecture is compatible with the current one.