org.kuali.common.jdbc
Class DefaultSqlReader

java.lang.Object
  extended by org.kuali.common.jdbc.DefaultSqlReader
All Implemented Interfaces:
SqlReader
Direct Known Subclasses:
MySQLDumpReader

Deprecated.

@Deprecated
public class DefaultSqlReader
extends Object
implements SqlReader


Field Summary
static List<String> DEFAULT_COMMENT_TOKENS
          Deprecated.  
static String DEFAULT_DELIMITER
          Deprecated.  
static DelimiterMode DEFAULT_DELIMITER_MODE
          Deprecated.  
static boolean DEFAULT_IS_IGNORE_COMMENTS
          Deprecated.  
static boolean DEFAULT_IS_TRIM
          Deprecated.  
static LineSeparator DEFAULT_LINE_SEPARATOR
          Deprecated.  
 
Constructor Summary
DefaultSqlReader()
          Deprecated.  
 
Method Summary
 List<String> getCommentTokens()
          Deprecated.  
 String getDelimiter()
          Deprecated.  
 DelimiterMode getDelimiterMode()
          Deprecated.  
 LineSeparator getLineSeparator()
          Deprecated.  
 SqlMetaData getMetaData(BufferedReader reader)
          Deprecated.  
protected  String getReturnValue(String sql, boolean trim, LineSeparator lineSeparator)
          Deprecated.  
 List<String> getSql(BufferedReader reader)
          Deprecated.  
protected  boolean ignore(boolean ignoreComments, StringBuilder sql, String trimmedLine, List<String> commentTokens)
          Deprecated.  
protected  boolean isEndOfSqlStatement(String trimmedLine, String delimiter, DelimiterMode delimiterMode)
          Deprecated.  
 boolean isIgnoreComments()
          Deprecated.  
protected  boolean isSqlComment(String trimmedLine, List<String> commentTokens)
          Deprecated.  
 boolean isTrim()
          Deprecated.  
protected  boolean proceed(String line, String trimmedLine, String delimiter, DelimiterMode delimiterMode)
          Deprecated.  
 void setCommentTokens(List<String> commentTokens)
          Deprecated.  
 void setDelimiter(String delimiter)
          Deprecated.  
 void setDelimiterMode(DelimiterMode delimiterMode)
          Deprecated.  
 void setIgnoreComments(boolean ignoreComments)
          Deprecated.  
 void setLineSeparator(LineSeparator lineSeparator)
          Deprecated.  
 void setTrim(boolean trim)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_DELIMITER

public static final String DEFAULT_DELIMITER
Deprecated. 
See Also:
Constant Field Values

DEFAULT_DELIMITER_MODE

public static final DelimiterMode DEFAULT_DELIMITER_MODE
Deprecated. 

DEFAULT_LINE_SEPARATOR

public static final LineSeparator DEFAULT_LINE_SEPARATOR
Deprecated. 

DEFAULT_COMMENT_TOKENS

public static final List<String> DEFAULT_COMMENT_TOKENS
Deprecated. 

DEFAULT_IS_TRIM

public static final boolean DEFAULT_IS_TRIM
Deprecated. 
See Also:
Constant Field Values

DEFAULT_IS_IGNORE_COMMENTS

public static final boolean DEFAULT_IS_IGNORE_COMMENTS
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

DefaultSqlReader

public DefaultSqlReader()
Deprecated. 
Method Detail

getMetaData

public SqlMetaData getMetaData(BufferedReader reader)
                        throws IOException
Deprecated. 
Specified by:
getMetaData in interface SqlReader
Throws:
IOException

getSql

public List<String> getSql(BufferedReader reader)
                    throws IOException
Deprecated. 
Specified by:
getSql in interface SqlReader
Throws:
IOException

getReturnValue

protected String getReturnValue(String sql,
                                boolean trim,
                                LineSeparator lineSeparator)
Deprecated. 

isEndOfSqlStatement

protected boolean isEndOfSqlStatement(String trimmedLine,
                                      String delimiter,
                                      DelimiterMode delimiterMode)
Deprecated. 

proceed

protected boolean proceed(String line,
                          String trimmedLine,
                          String delimiter,
                          DelimiterMode delimiterMode)
Deprecated. 

ignore

protected boolean ignore(boolean ignoreComments,
                         StringBuilder sql,
                         String trimmedLine,
                         List<String> commentTokens)
Deprecated. 

isSqlComment

protected boolean isSqlComment(String trimmedLine,
                               List<String> commentTokens)
Deprecated. 

getDelimiter

public String getDelimiter()
Deprecated. 

setDelimiter

public void setDelimiter(String delimiter)
Deprecated. 

isTrim

public boolean isTrim()
Deprecated. 

setTrim

public void setTrim(boolean trim)
Deprecated. 

isIgnoreComments

public boolean isIgnoreComments()
Deprecated. 

setIgnoreComments

public void setIgnoreComments(boolean ignoreComments)
Deprecated. 

getLineSeparator

public LineSeparator getLineSeparator()
Deprecated. 

setLineSeparator

public void setLineSeparator(LineSeparator lineSeparator)
Deprecated. 

getDelimiterMode

public DelimiterMode getDelimiterMode()
Deprecated. 

setDelimiterMode

public void setDelimiterMode(DelimiterMode delimiterMode)
Deprecated. 

getCommentTokens

public List<String> getCommentTokens()
Deprecated. 

setCommentTokens

public void setCommentTokens(List<String> commentTokens)
Deprecated. 


Copyright © 2010-2013 The Kuali Foundation. All Rights Reserved.