pl.edu.agh.cast.importer.base.util
Class TokenizerInfo

java.lang.Object
  extended by pl.edu.agh.cast.importer.base.util.TokenizerInfo
All Implemented Interfaces:
Comparable<TokenizerInfo>

public class TokenizerInfo
extends Object
implements Comparable<TokenizerInfo>

Holds and maintains the information about a specific tokenizer.

Author:
AGH CAST Team

Constructor Summary
TokenizerInfo(String tokenizerId, IImportTokenizer tokenizer, String name)
          The constructor.
TokenizerInfo(String tokenizerId, IImportTokenizer tokenizer, String name, String description)
          The default constructor.
 
Method Summary
 int compareTo(TokenizerInfo that)
          
 String getDescription()
           
 String getName()
           
 IImportTokenizer getTokenizer()
           
 String getTokenizerId()
           
 void setDescription(String description)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TokenizerInfo

public TokenizerInfo(String tokenizerId,
                     IImportTokenizer tokenizer,
                     String name,
                     String description)
The default constructor.

Parameters:
tokenizerId - the tokenizer identifier
tokenizer - tokenizer instance
name - the tokenizer name
description - the tokenizer description

TokenizerInfo

public TokenizerInfo(String tokenizerId,
                     IImportTokenizer tokenizer,
                     String name)
The constructor.

Parameters:
tokenizerId - the tokenizer identifier
tokenizer - tokenizer instance
name - the tokenizer name
Method Detail

compareTo

public int compareTo(TokenizerInfo that)

Specified by:
compareTo in interface Comparable<TokenizerInfo>
See Also:
Comparable.compareTo(java.lang.Object)

getName

public String getName()

getTokenizerId

public String getTokenizerId()

getTokenizer

public IImportTokenizer getTokenizer()

getDescription

public String getDescription()

setDescription

public void setDescription(String description)


Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.