de.folt.rpc.messages
Class RepetitionAnalysis

java.lang.Object
  extended by de.folt.rpc.messages.RepetitionAnalysis
All Implemented Interfaces:
RPCMessage

public class RepetitionAnalysis
extends java.lang.Object
implements RPCMessage

Author:
Klemens Waldhör

Constructor Summary
RepetitionAnalysis()
           
 
Method Summary
 java.util.Vector execute(java.util.Hashtable message)
          RepetitionAnalysis runs a repetition analysis on a xliff file.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepetitionAnalysis

public RepetitionAnalysis()
Method Detail

execute

public java.util.Vector execute(java.util.Hashtable message)
RepetitionAnalysis runs a repetition analysis on a xliff file. Parameters are provided through a hash table. The hashtable contains the following keys:

xliffDocument - the xliff document to be analysed
It returns:

retVec = com.araya.OpenTMS.Interface.RepetitionAnalysis(message); - the result generated by this interface method
or

vec.add(de.folt.constants.OpenTMSConstants.OpenTMS_ID_FAILURE +"");
vec.add(ex.getMessage());

Specified by:
execute in interface RPCMessage
Parameters:
message - a hash table containing the message specific parameters
Returns:
a Vector containing the results of executing the method.
See Also:
RPCMessage.execute(java.util.Hashtable), com.araya.OpenTMS.Interface.RepetitionAnalysis(java.util.Vector)