net.sf.jpkgmk.prototype
Class PrototypeEntryType

java.lang.Object
  extended by net.sf.jpkgmk.prototype.PrototypeEntryType

public class PrototypeEntryType
extends java.lang.Object

Typesafe enumeration for the filetypes that can be used for prototype lines

Since:
1.0
Version:
$Revision: 2 $ $Date: 2008-08-20 21:14:19 +0200 (Mi, 20 Aug 2008) $
Author:
gommma (gommma AT users.sourceforge.net), Last changed by: $Author: gommma $

Field Summary
static PrototypeEntryType B
           
static PrototypeEntryType C
           
static PrototypeEntryType COMMAND
           
static PrototypeEntryType COMMENT
           
static PrototypeEntryType D
           
static PrototypeEntryType E
           
static PrototypeEntryType F
           
static PrototypeEntryType I
           
static PrototypeEntryType L
           
static PrototypeEntryType P
           
static PrototypeEntryType S
           
static PrototypeEntryType V
           
static PrototypeEntryType[] VALUES
           
static PrototypeEntryType X
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
static PrototypeEntryType findType(java.lang.String key)
           
 java.lang.String getDescription()
           
 java.lang.String getKey()
           
 PrototypeEntryParser getParser()
           
 PkgMapEntryType getPkgMapEntryType()
           
 int hashCode()
           
 boolean matches(java.lang.String key)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

COMMAND

public static final PrototypeEntryType COMMAND

COMMENT

public static final PrototypeEntryType COMMENT

B

public static final PrototypeEntryType B

C

public static final PrototypeEntryType C

D

public static final PrototypeEntryType D

E

public static final PrototypeEntryType E

F

public static final PrototypeEntryType F

I

public static final PrototypeEntryType I

L

public static final PrototypeEntryType L

P

public static final PrototypeEntryType P

S

public static final PrototypeEntryType S

V

public static final PrototypeEntryType V

X

public static final PrototypeEntryType X

VALUES

public static PrototypeEntryType[] VALUES
Method Detail

getPkgMapEntryType

public PkgMapEntryType getPkgMapEntryType()

getKey

public java.lang.String getKey()
Returns:
Returns the identifier for this entry type, for example a "!" for a command.

getDescription

public java.lang.String getDescription()

getParser

public PrototypeEntryParser getParser()

matches

public boolean matches(java.lang.String key)

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

findType

public static PrototypeEntryType findType(java.lang.String key)


Copyright © 2007-2008. All Rights Reserved.