1 package org.kuali.common.util.ignore; 2 3 import org.apache.commons.lang3.StringUtils; 4 5 public class StartsWithIgnorer implements Ignore { 6 7 String prefix; 8 9 public StartsWithIgnorer(String prefix) { 10 super(); 11 this.prefix = prefix; 12 } 13 14 @Override 15 public boolean ignore(String line) { 16 return StringUtils.startsWith(line, prefix); 17 } 18 19 public String getPrefix() { 20 return prefix; 21 } 22 23 public void setPrefix(String prefix) { 24 this.prefix = prefix; 25 } 26 27 }