Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.sourceforge.pmd
Class SourceType

    java.lang.Object
      net.sourceforge.pmd.SourceType

All Implemented Interfaces:
  java.lang.Comparable

public final class SourceType
extends java.lang.Object
implements java.lang.Comparable

Enumeration of the types of source code.

Author:
  Pieter_Van_Raemdonck - Application Engineers NV/SA - www.ae.be

Field Summary
`static SourceType` | `JAVA_13`
`static SourceType` | `JAVA_14`
`static SourceType` | `JAVA_15`
`static SourceType` | `JAVA_16`
`static SourceType` | `JSP`

Method Summary
`int` | `compareTo(java.lang.Object other)`
`boolean` | `equals(java.lang.Object other)`
`java.lang.String` | `getId()`
`static SourceType` | `getSourceTypeForId(java.lang.String id)` Get the SourceType for a certain Id.
`int` | `hashCode()`
`java.lang.String` | `toString()`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

Field Detail

### JAVA_13

    public static final SourceType JAVA_13

### JAVA_14

    public static final SourceType JAVA_14

### JAVA_15

    public static final SourceType JAVA_15

### JAVA_16

    public static final SourceType JAVA_16

### JSP

    public static final SourceType JSP

Method Detail

### getId

    public java.lang.String getId()

### getSourceTypeForId

    public static SourceType getSourceTypeForId(java.lang.String id)

  Get the SourceType for a certain Id. Case insensitive.

  Returns:
    null if not found

### equals

    public boolean equals(java.lang.Object other)

### hashCode

    public int hashCode()

### compareTo

    public int compareTo(java.lang.Object other)

  Specified by:
    `compareTo` in interface `java.lang.Comparable`

### toString

    public java.lang.String toString()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002-2006 InfoEther. All Rights Reserved.