com.jpattern.orm.script
Interface Parser

All Known Implementing Classes:
StreamParser

public interface Parser

Author:
Francesco Cina 01/lug/2011

Method Summary
 void parse(ParserCallback parserCallback)
          Parse the script using the default symbol ";" to identify the sql statements
 void parse(ParserCallback parserCallback, String spearatorSymbol)
          Parse the script using a custom symbol to identify the sql statements
 

Method Detail

parse

void parse(ParserCallback parserCallback)
           throws IOException
Parse the script using the default symbol ";" to identify the sql statements

Parameters:
parserCallback -
Throws:
IOException

parse

void parse(ParserCallback parserCallback,
           String spearatorSymbol)
           throws IOException
Parse the script using a custom symbol to identify the sql statements

Parameters:
parserCallback -
spearatorSymbol - a custom separator symbol
Throws:
IOException


Copyright © 2013. All Rights Reserved.