plugins
Class JavaRolePlugin

java.lang.Object
  |
  +--plugins.JavaRolePlugin

public class JavaRolePlugin
extends java.lang.Object


Constructor Summary
JavaRolePlugin()
           
 
Method Summary
 sharpster.common.ResponseCollection extractParts(sharpster.common.SharedFile originalFile, java.lang.String role)
          Extract the shared parts from a file collection.
 java.lang.String getPluginDescription()
          Retrns a description of this plug-in.
 java.lang.String getPluginName()
          Returns the name of the plug-in which has created this data.
 sharpster.common.ResponseCollection mergeParts(sharpster.common.SharedFile originalFile, sharpster.common.SharedFile partsFile, java.lang.String role)
          Merge the shared parts with the entire files.
 sharpster.common.PluginData parseArguments(java.util.LinkedList args)
          Parse a commandline argument and convert it to a specific plugin data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaRolePlugin

public JavaRolePlugin()
Method Detail

getPluginName

public java.lang.String getPluginName()
Returns the name of the plug-in which has created this data.


getPluginDescription

public java.lang.String getPluginDescription()
Retrns a description of this plug-in.


parseArguments

public sharpster.common.PluginData parseArguments(java.util.LinkedList args)
Parse a commandline argument and convert it to a specific plugin data.


extractParts

public sharpster.common.ResponseCollection extractParts(sharpster.common.SharedFile originalFile,
                                                        java.lang.String role)
Extract the shared parts from a file collection.


mergeParts

public sharpster.common.ResponseCollection mergeParts(sharpster.common.SharedFile originalFile,
                                                      sharpster.common.SharedFile partsFile,
                                                      java.lang.String role)
Merge the shared parts with the entire files.