1 21 22 package org.dbunit.dataset.csv.handlers; 23 24 import org.dbunit.dataset.csv.IllegalInputCharacterException; 25 26 public class NoHandler extends AbstractPipelineComponent { 27 28 private NoHandler() {} 29 30 public static final PipelineComponent IGNORE () { 31 return createPipelineComponent(new NoHandler(), new ACCEPT()); 32 } 33 34 public boolean canHandle(char c) throws IllegalInputCharacterException { 35 throw new IllegalInputCharacterException("No character can be handled. Seen: '" + c + "'"); 36 } 37 } 38 | Popular Tags |