package hiro.yoshioka.ast.sql.util;

import hiro.yoshioka.sql.resource.DBRoot;

import java.io.File;
import java.io.FileNotFoundException;

public class WolfNotesProposalParserFactory extends ProposalParserFactory {

	@Override
	public IProposalableParserUtil createParserUtil(String statement, DBRoot root) {
		return new WolfNotesProposalParserUtil(statement, root);
	}

	@Override
	public IProposalableParserUtil createParserUtil(File file, DBRoot root) {
		try {
			return new WolfNotesProposalParserUtil(file, root);
		} catch (FileNotFoundException e) {
			e.printStackTrace();
		}
		return null;
	}

}
