Package jimm.datavision.source.charsep

Examples of jimm.datavision.source.charsep.CharSepSource


*/
protected void charSepSource(Attributes attributes) {
    if (getReport().hasDataSource())
  return;

    CharSepSource charSepSource = new CharSepSource(getReport());
    String charString = attributes.getValue("sep-char");
    if (charString != null)
  charSepSource.setSepChar(charString.charAt(0));

    getReport().setDataSource(charSepSource);
}
View Full Code Here


void designReport(Getopts g, File reportXMLFile) throws FileNotFoundException {
    DesignWin win = new DesignWin(reportXMLFile, dbPassword);
    Report report = win.getReport();

    if (charSepFile != null) { // Must come after file read
  CharSepSource src = (CharSepSource)report.getDataSource();
  src.setSepChar(sepChar);
  src.setInput(charSepFile);
    }

    if (g.hasOption('q'))
  report.setCaseSensitiveDatabaseNames(false);
}
View Full Code Here

    if (paramXMLFile != null) // Must come after file read
  report.setParameterXMLInput(new File(paramXMLFile));

    if (charSepFile != null) { // Must come after file read
  CharSepSource src = (CharSepSource)report.getDataSource();
  src.setSepChar(sepChar);
  src.setInput(charSepFile);
    }

    if (g.hasOption('q'))
  report.setCaseSensitiveDatabaseNames(false);
View Full Code Here

TOP

Related Classes of jimm.datavision.source.charsep.CharSepSource

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.