Exemple #1
0
 public static Splitter CreateSplitter(SplitType type, Filter filter)
 {
     switch (type)
     {
     case SplitType.Character:
         return new CharacterSplitter(filter);
     case SplitType.Line:
         return new LineSplitter(filter);
     }
     return null;
 }
Exemple #2
0
 public LineSplitter(Filter filter)
     : base(filter)
 {
 }
Exemple #3
0
 public Splitter(Filter filter)
 {
     _filter = filter;
 }
 public CharacterSplitter(Filter filter)
     : base(filter)
 {
 }