public class Config extends Object
| Constructor and Description |
|---|
Config()
Constructor for Config.
|
| Modifier and Type | Method and Description |
|---|---|
AskFilter |
getAskFilter()
Getter for the field
askFilter. |
String |
getCommand()
Getter for the field
command. |
Integer |
getCopies()
Getter for the field
copies. |
String |
getCsvCharset()
Getter for the field
csvCharset. |
String[] |
getCsvColumns()
Getter for the field
csvColumns. |
char |
getCsvFieldDel()
Getter for the field
csvFieldDel. |
boolean |
getCsvFirstRow()
Getter for the field
csvFirstRow. |
String |
getCsvRecordDel()
Getter for the field
csvRecordDel. |
File |
getDataFile()
Getter for the field
dataFile. |
InputStream |
getDataFileInputStream()
Get InputStream corresponding to the configured dataFile.
|
String |
getDataFileName()
Get name of the configured dataFile.
|
String |
getDbDriver()
Getter for the field
dbDriver. |
String |
getDbHost()
Getter for the field
dbHost. |
String |
getDbName()
Getter for the field
dbName. |
String |
getDbPasswd()
Getter for the field
dbPasswd. |
Integer |
getDbPort()
Getter for the field
dbPort. |
String |
getDbSid()
Getter for the field
dbSid. |
DsType |
getDbType()
Getter for the field
dbType. |
String |
getDbUrl()
Getter for the field
dbUrl. |
String |
getDbUser()
Getter for the field
dbUser. |
String |
getInput()
Getter for the field
input. |
File |
getJdbcDir()
Getter for the field
jdbcDir. |
String |
getJsonQLQuery()
Getter for the field
jsonQLQuery. |
String |
getJsonQuery()
Getter for the field
jsonQuery. |
Locale |
getLocale()
Getter for the field
locale. |
String |
getOutCharset()
Getter for the field
outCharset. |
String |
getOutFieldDel()
Getter for the field
outFieldDel. |
String |
getOutput()
Getter for the field
output. |
List<OutputFormat> |
getOutputFormats()
Getter for the field
outputFormats. |
List<String> |
getParams()
Getter for the field
params. |
String |
getPrinterName()
Getter for the field
printerName. |
String |
getReportName()
Getter for the field
reportName. |
String |
getResource()
Getter for the field
resource. |
String |
getVersionString()
Getter for the field
versionString. |
String |
getXmlXpath()
Getter for the field
xmlXpath. |
boolean |
hasAskFilter()
hasAskFilter.
|
boolean |
hasCopies()
hasCopies.
|
boolean |
hasDbType()
hasDbType.
|
boolean |
hasJdbcDir()
hasJdbcDir.
|
boolean |
hasLocale()
hasLocale.
|
boolean |
hasOutput()
hasOutput.
|
boolean |
hasParams()
hasParams.
|
boolean |
hasPrinterName()
hasPrinterName.
|
boolean |
hasReportName()
hasReportName.
|
boolean |
hasResource()
hasResource.
|
boolean |
isVerbose()
isVerbose.
|
boolean |
isWithPrintDialog()
isWithPrintDialog.
|
boolean |
isWriteJasper()
isWriteJasper.
|
void |
setAskFilter(AskFilter value)
Setter for the field
askFilter. |
void |
setCommand(String value)
Setter for the field
command. |
void |
setCopies(Integer value)
Setter for the field
copies. |
void |
setCsvCharset(String value)
Setter for the field
csvCharset. |
void |
setCsvColumns(String value)
Setter for the field
csvColumns. |
void |
setCsvFieldDel(String value)
Setter for the field
csvFieldDel. |
void |
setCsvFirstRow(boolean value)
Setter for the field
csvFirstRow. |
void |
setCsvRecordDel(String value)
Setter for the field
csvRecordDel. |
void |
setDataFile(File value)
Setter for the field
dataFile. |
void |
setDbDriver(String value)
Setter for the field
dbDriver. |
void |
setDbHost(String value)
Setter for the field
dbHost. |
void |
setDbName(String value)
Setter for the field
dbName. |
void |
setDbPasswd(String value)
Setter for the field
dbPasswd. |
void |
setDbPort(Integer value)
Setter for the field
dbPort. |
void |
setDbSid(String value)
Setter for the field
dbSid. |
void |
setDbType(DsType value)
Setter for the field
dbType. |
void |
setDbUrl(String value)
Setter for the field
dbUrl. |
void |
setDbUser(String value)
Setter for the field
dbUser. |
void |
setInput(String value)
Setter for the field
input. |
void |
setJdbcDir(File value)
Setter for the field
jdbcDir. |
void |
setJsonQLQuery(String value)
Setter for the field
jsonQLQuery. |
void |
setJsonQuery(String value)
Setter for the field
jsonQuery. |
void |
setLocale(String value)
Setter for the field
locale. |
void |
setOutCharset(String value)
Setter for the field
outCharset. |
void |
setOutFieldDel(String value)
Setter for the field
outFieldDel. |
void |
setOutput(String value)
Setter for the field
output. |
void |
setOutputFormats(List<OutputFormat> value)
Setter for the field
outputFormats. |
void |
setParams(List<String> value)
Setter for the field
params. |
void |
setPrinterName(String value)
Setter for the field
printerName. |
void |
setReportName(String value)
Setter for the field
reportName. |
void |
setResource(String value)
Setter for the field
resource. |
void |
setVerbose(boolean value)
Setter for the field
verbose. |
void |
setWithPrintDialog(boolean value)
Setter for the field
withPrintDialog. |
void |
setWriteJasper(boolean value)
Setter for the field
writeJasper. |
void |
setXmlXpath(String value)
Setter for the field
xmlXpath. |
public String getVersionString()
Getter for the field versionString.
public AskFilter getAskFilter()
Getter for the field askFilter.
AskFilter object.public void setAskFilter(AskFilter value)
Setter for the field askFilter.
value - a AskFilter object.public boolean hasAskFilter()
hasAskFilter.
public void setCommand(String value)
Setter for the field command.
value - a String object.public void setDbDriver(String value)
Setter for the field dbDriver.
value - a String object.public void setDbHost(String value)
Setter for the field dbHost.
value - a String object.public void setDbName(String value)
Setter for the field dbName.
value - a String object.public void setDbPasswd(String value)
Setter for the field dbPasswd.
value - a String object.public void setDbPort(Integer value)
Setter for the field dbPort.
value - a Integer object.public void setDbSid(String value)
Setter for the field dbSid.
value - a String object.public void setDbType(DsType value)
Setter for the field dbType. This setting determines what
other configuration options may apply. For example, if dbType
is DsType.jsonql, then setJsonQLQuery(String)
may be used to set the query string.
value - a DsType object.public boolean hasDbType()
hasDbType.
public void setDbUrl(String value)
Setter for the field dbUrl.
value - a String object.public void setDbUser(String value)
Setter for the field dbUser.
value - a String object.public boolean isVerbose()
isVerbose.
public void setVerbose(boolean value)
Setter for the field verbose.
value - a boolean.public void setInput(String value)
Setter for the field input.
value - a String object.public void setJdbcDir(File value)
Setter for the field jdbcDir.
value - a File object.public boolean hasJdbcDir()
hasJdbcDir.
public void setDataFile(File value)
Setter for the field dataFile.
value - a File object.public InputStream getDataFileInputStream() throws net.sf.jasperreports.engine.JRException
InputStream object.net.sf.jasperreports.engine.JRException - if any.public String getDataFileName()
String object.public boolean getCsvFirstRow()
Getter for the field csvFirstRow.
public void setCsvFirstRow(boolean value)
Setter for the field csvFirstRow.
value - a boolean.public String[] getCsvColumns()
Getter for the field csvColumns.
String objects.public void setCsvColumns(String value)
Setter for the field csvColumns.
value - a String object.public String getCsvRecordDel()
Getter for the field csvRecordDel.
String object.public void setCsvRecordDel(String value)
Setter for the field csvRecordDel.
value - a String object.public char getCsvFieldDel()
Getter for the field csvFieldDel.
public void setCsvFieldDel(String value)
Setter for the field csvFieldDel.
value - a String object.public String getCsvCharset()
Getter for the field csvCharset.
String object.public void setCsvCharset(String value)
Setter for the field csvCharset.
value - a String object.public void setXmlXpath(String value)
Setter for the field xmlXpath.
value - a String object.public void setJsonQuery(String value)
Setter for the field jsonQuery.
value - a String object.public String getJsonQLQuery()
Getter for the field jsonQLQuery.
String object.public void setJsonQLQuery(String value)
Setter for the field jsonQLQuery.
value - a String object.public void setLocale(String value)
Setter for the field locale.
value - a String object.public boolean hasLocale()
hasLocale.
public void setOutput(String value)
Setter for the field output.
value - a String object.public boolean hasOutput()
hasOutput.
public List<OutputFormat> getOutputFormats()
Getter for the field outputFormats.
List object.public void setOutputFormats(List<OutputFormat> value)
Setter for the field outputFormats.
value - a List object.public void setParams(List<String> value)
Setter for the field params. Each entry in the list is
a String of the form:
name=value
where name is the name of a parameter defined in the .jrxml and value is the Java representation (e.g. boolean truth is "true" or "false").
value - a List object.public boolean hasParams()
hasParams.
public String getPrinterName()
Getter for the field printerName.
String object.public void setPrinterName(String value)
Setter for the field printerName.
value - a String object.public boolean hasPrinterName()
hasPrinterName.
public String getReportName()
Getter for the field reportName.
String object.public void setReportName(String value)
Setter for the field reportName.
value - a String object.public boolean hasReportName()
hasReportName.
public void setResource(String value)
Setter for the field resource.
value - a String object.public boolean hasResource()
hasResource.
public boolean isWithPrintDialog()
isWithPrintDialog.
public void setWithPrintDialog(boolean value)
Setter for the field withPrintDialog.
value - a boolean.public boolean isWriteJasper()
isWriteJasper.
public void setWriteJasper(boolean value)
Setter for the field writeJasper.
value - a boolean.public void setCopies(Integer value)
Setter for the field copies.
value - a Integer object.public boolean hasCopies()
hasCopies.
public String getOutFieldDel()
Getter for the field outFieldDel.
String object.public void setOutFieldDel(String value)
Setter for the field outFieldDel.
value - a String object.public String getOutCharset()
Getter for the field outCharset.
String object.Copyright © 2012–2018 Cenote GmbH. All rights reserved.