org.jruby.runtime.load
Enum LoadService.SuffixType

java.lang.Object
  extended by java.lang.Enum<LoadService.SuffixType>
      extended by org.jruby.runtime.load.LoadService.SuffixType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<LoadService.SuffixType>
Enclosing class:
LoadService

public static enum LoadService.SuffixType
extends java.lang.Enum<LoadService.SuffixType>


Enum Constant Summary
Both
           
Extension
           
Neither
           
Source
           
 
Field Summary
static java.lang.String[] extensionSuffixes
           
static java.lang.String[] sourceSuffixes
           
 
Method Summary
 java.lang.String[] getSuffixes()
           
static LoadService.SuffixType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static LoadService.SuffixType[] 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

Source

public static final LoadService.SuffixType Source

Extension

public static final LoadService.SuffixType Extension

Both

public static final LoadService.SuffixType Both

Neither

public static final LoadService.SuffixType Neither
Field Detail

sourceSuffixes

public static final java.lang.String[] sourceSuffixes

extensionSuffixes

public static final java.lang.String[] extensionSuffixes
Method Detail

values

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

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

valueOf

public static LoadService.SuffixType 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

getSuffixes

public java.lang.String[] getSuffixes()


Copyright © 2002-2009 JRuby Team. All Rights Reserved.