org.axiondb.tools

Class BaseReport

public class BaseReport extends Object

Author: Girish Patil Utility class for Console and Batch command runner to format the output.

Constructor Summary
BaseReport(PrintWriter pw)
Method Summary
voidprintBoundary(char boundaryChar, int[] colWidths)
voidprintCentered(String value, int length)
voidprintRight(String value, int length)
voidreportException(Exception e)
voidreportResultSet(ResultSet rset)
voidreportUpdateCount(int count)

Constructor Detail

BaseReport

public BaseReport(PrintWriter pw)

Method Detail

printBoundary

public void printBoundary(char boundaryChar, int[] colWidths)

printCentered

public void printCentered(String value, int length)

printRight

public void printRight(String value, int length)

reportException

public void reportException(Exception e)

reportResultSet

public void reportResultSet(ResultSet rset)

reportUpdateCount

public void reportUpdateCount(int count)