Skip to content

Commit

Permalink
fixed #55
Browse files Browse the repository at this point in the history
  • Loading branch information
mgeipel committed Apr 2, 2013
1 parent 29354c7 commit 0e55473
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/java/org/culturegraph/mf/stream/pipe/Splitter.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
*/
package org.culturegraph.mf.stream.pipe;

import java.io.Reader;
import java.util.HashMap;
import java.util.Map;

Expand Down Expand Up @@ -47,6 +48,11 @@ public Splitter(final String morphDef) {
metamorph.setReceiver(singleValue);
}

public Splitter(final Reader morphDef) {
metamorph = new Metamorph(morphDef);
metamorph.setReceiver(singleValue);
}

public Splitter(final Metamorph metamorph) {
this.metamorph = metamorph;
metamorph.setReceiver(singleValue);
Expand Down

0 comments on commit 0e55473

Please sign in to comment.