de.danielnaber.languagetool.rules
Class Category

Object
  extended by Category

public class Category
extends Object


Constructor Summary
Category(String name)
          Create a new category with the default priority (50).
Category(String name, int priority)
          Create a new category with the given name and priority.
 
Method Summary
 String getName()
           
 int getPriority()
           
 String toString()
           
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Category

public Category(String name,
                int priority)
Create a new category with the given name and priority.

Parameters:
name - name of the category
priority - a value between 0 and 100 (inclusive)

Category

public Category(String name)
Create a new category with the default priority (50).

Parameters:
name - name of the category
Method Detail

getName

public String getName()

getPriority

public int getPriority()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2005-2007 Daniel Naber