예제 #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;
 }
예제 #2
0
 public LineSplitter(Filter filter)
     : base(filter)
 {
 }
예제 #3
0
 public Splitter(Filter filter)
 {
     _filter = filter;
 }
예제 #4
0
 public CharacterSplitter(Filter filter)
     : base(filter)
 {
 }