=====使用例=====
import java.io.StringReaderString[[R]]eader;
import java.util.Scanner;
import java.util.regex.Pattern;
public class RegexTest2 [[R]]egexTest2 {
public static void main(String[] args) {
RegexTest2 [[R]]egexTest2 me = new RegexTest2[[R]]egexTest2();
me.testScanner();
}
fs[1] = this.new MailAddrScanner();
for (AbstractFieldScanner sc : fs) {
sc.scan(new StringReaderString[[R]]eader(buf.toString()));
}
}
private abstract class AbstractFieldScanner {
public abstract Pattern getFiledPattern();
public void scan(Readable [[R]]eadable source) {
Scanner scan = new Scanner(source);
scan.useDelimiter(","); // デフォルトのデリミタを変更(1)