Created
April 29, 2010 04:17
-
-
Save bensonk/383131 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.someplace.projname.Ingester; | |
import org.someplace.projname.Processor; | |
import org.someplace.projname.OutputCleaner; | |
import org.someplace.projname.Formatter; | |
public class Test { | |
public static void main(String[] args){ | |
MifPipeline pipeline = new MifPipeline(); | |
pipeline.addMifModule(Ingester.class.getname(), "stdio://stdin", "vm://one"); | |
pipeline.addMifModule(Processor.class.getname(), "vm://one", "vm://two"); | |
pipeline.addMifModule(OutputCleaner.class.getname(), "vm://two", "vm://three"); | |
pipeline.addMifModule(Formatter.class.getname(), "vm://three", "stdio://stdout"); | |
pipeline.start(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment