fr.etai.xat2v2.util
Class ClassificationUtil

java.lang.Object
  extended by fr.etai.xat2v2.util.ClassificationUtil

public final class ClassificationUtil
extends Object


Method Summary
static boolean matchDictionaryReference(Classification classification, String dictionary, String ref)
          Checks if the classification's dictionary and ref are the same than those given.
static boolean matchSource(Classification classification, String source)
          Checks if the classification's source is equals to the source given
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

matchSource

public static boolean matchSource(Classification classification,
                                  String source)
Checks if the classification's source is equals to the source given

Parameters:
classification -
source -
Returns:

matchDictionaryReference

public static boolean matchDictionaryReference(Classification classification,
                                               String dictionary,
                                               String ref)
Checks if the classification's dictionary and ref are the same than those given.

Parameters:
classification -
dictionary -
ref -
Returns:


Copyright © 2012. All Rights Reserved.