pl.edu.agh.cast.importer.base.tokenizer
Class TokenizerOption

java.lang.Object
  extended by pl.edu.agh.cast.importer.base.tokenizer.TokenizerOption
All Implemented Interfaces:
ITokenizerOption

public class TokenizerOption
extends Object
implements ITokenizerOption

Basic implementation of ITokenizerOption.

Author:
AGH CAST Team

Constructor Summary
TokenizerOption(String optionName, String optionValue)
          The default constructor.
 
Method Summary
 boolean equals(Object obj)
          
 String getName()
          Retrieves the tokenizer option name.
 String getValue()
          Retrieves the tokenizer option value.
 int hashCode()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TokenizerOption

public TokenizerOption(String optionName,
                       String optionValue)
The default constructor.

Parameters:
optionName - the option name
optionValue - the option value
Method Detail

getName

public String getName()
Retrieves the tokenizer option name.

Specified by:
getName in interface ITokenizerOption
Returns:
the option name
See Also:
ITokenizerOption.getName()

getValue

public String getValue()
Retrieves the tokenizer option value.

Specified by:
getValue in interface ITokenizerOption
Returns:
the option value
See Also:
ITokenizerOption.getValue()

equals

public boolean equals(Object obj)

Overrides:
equals in class Object
See Also:
Object.equals(java.lang.Object)

hashCode

public int hashCode()

Overrides:
hashCode in class Object
See Also:
Object.hashCode()


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