Gephi Toolkit Javadoc

org.gephi.io.processor.plugin
Class AppendProcessor

java.lang.Object
  extended by org.gephi.io.processor.plugin.AbstractProcessor
      extended by org.gephi.io.processor.plugin.AppendProcessor
All Implemented Interfaces:
Processor

public class AppendProcessor
extends AbstractProcessor
implements Processor

Processor 'Append graph' that tries to find in the current workspace nodes and edges in the container to only append new elements. It uses elements' id and label to do the matching.

The attibutes are not merged and values are from the latest element imported.

Author:
Mathieu Bastian

Field Summary
 
Fields inherited from class org.gephi.io.processor.plugin.AbstractProcessor
attributeModel, container, workspace
 
Constructor Summary
AppendProcessor()
           
 
Method Summary
 java.lang.String getDisplayName()
          Returns the processor name.
 void process()
          Process data from the container to the workspace.
 
Methods inherited from class org.gephi.io.processor.plugin.AbstractProcessor
flushToEdge, flushToEdgeAttributes, flushToNode, flushToNodeAttributes, setContainer, setWorkspace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.gephi.io.processor.spi.Processor
setContainer, setWorkspace
 

Constructor Detail

AppendProcessor

public AppendProcessor()
Method Detail

getDisplayName

public java.lang.String getDisplayName()
Description copied from interface: Processor
Returns the processor name.

Specified by:
getDisplayName in interface Processor
Returns:
the processor display name

process

public void process()
Description copied from interface: Processor
Process data from the container to the workspace. This task is done after an importer pushed data to the container.

Specified by:
process in interface Processor
See Also:
Importer

Gephi Toolkit Javadoc