|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjet.client.api.JRClient
public class JRClient
Class JRClient represents a client of JReport Enterprise
Server. It provides some methods to run reports, view result versions and
create/edit schedules etc.
The report URL parameters of these methods:
A report URL string is an URL address of a report in a report server. For
example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.cls It
includes three parts: the report server URL :
http://server:8888/servlet/jrservlet the catalog of the report :
/SampleReports/SampleReports.cat the report name : CustomerAnalysis.cls To make a report URL
include these three parts, use the static method makeReportURL(String
jrsvrURL, String cat, String rpt) of the class APIUtil. For example: String
reportURL = APIUtil.makeReportURL("http://server:8888/servlet/jrservlet",
"/SampleReports/SampleReports.cat", "CustomerAnalysis.cls"); Hashtable params =
JRClient.getParamValues(null, reportURL);
The detailed steps to run and view a report: 1. Calls JRClient.getParamValues(...) to get parameters of the report. 2. Calls JRClient.sendCmdRunAndView(...) to get the temporary result filename. 3. Calls JRClient.makeViewTempResultURL(...) to get the URL for viewing the temporary result. 4. Calls JRClientGUI.createViewResultThread(rstURL, title) to create the viewer thread. 5. Calls the method start() of the viewer thread to view the result. 6. Calls the method waitFrameOpen() of the viewer thread to wait for the viewer frame open and get the frame.
The methods on connection: public static void setShowInfoLevel(int level) public static boolean setLogFile(String fileName) public static boolean getKeepAlive() public static void setKeepAlive(boolean isKeepAlive) public static void useGetAsDefaultMethod() public static void usePostAsDefaultMethod() public static boolean ifUsePostAsDefaultMethod() public static void login(Frame frame, String jrsvrURL) public static void login(Frame frame, String jrsvrURL, String user, String password) public static void logout(String jrsvrURL) public static String getUser() public static void setUser(String user) public static void setPassword(String password) public static void setProxyUser(String user) public static void setProxyPassword(String password) public static void changePassword(Frame frame, String jrsvrURL, String user, String pswd, String pswdNew, String pswdNewConfirm) public static void setProxy(String proxyHost, String proxyPort) public static String getProxyHost() public static String getProxyPort() public static void setSocketTimeout(int socketTimeout) public static int getSocketTimeout() public static URLConnection openConnection(Frame frame, String strURL) public static URLConnection openConnection(Frame frame, URL url) public static URLConnection openConnection(Frame frame, URLConnection uc) public static URLConnection openConnection(Frame frame, URLConnection uc, boolean retryOldCredential) public static URLConnection getConnection(URL url) public static void close(URLConnection uc)
The methods on new result of a report: public static String makeViewTempResultURL(String rptURL, String rst) public static Hashtable getParamValues(Frame frame, String rptURL) public static Hashtable getParamValues(Frame frame, String rptURL, Locale locale) public static Vector getParamVector(Frame frame, String rptURL) public static Vector getParamVector(Frame frame, String rptURL, Locale locale) public static Vector getParamVector(Frame frame, String rptURL, String paramValues) public static Vector getParamVector(Frame frame, String rptURL, String paramValues, Locale locale) public static Vector[] getParamDescAndGrpCols(Frame frame, String rptURL) public static Vector getParamDescVct(Frame frame, String rptURL) public static InputStream getParamDescStream(Frame frame, String rptURL) public static Vector getAvailableLanguages(Frame frame, String rptURL) public static Vector getAvailableLanguages(Frame frame, String rptURL, String user) public static Vector getStyleGroupDisplayNames(Frame frame, String rptURL, String user) public static String sendCmdRunAndView(Frame frame, String rptURL, Hashtable paramValues) public static String sendCmdRunAndView(Frame frame, String rptURL, Hashtable paramValues, String wherePortion, String namedWherePortion) public static String sendCmdRunAndView(Frame frame, String rptURL, Hashtable paramValues, String wherePortion, String namedWherePortion, String dbUser, String dbPassword) public static String sendCmdRunAndView(Frame frame, String rptURL, Hashtable paramValues, String wherePortion, String namedWherePortion, String whereClause, String dbUser, String dbPassword) public static String sendCmdRunAndView(Frame frame, String rptURL, Hashtable paramValues, String wherePortion, String namedWherePortion, String whereClause, String dbUser, String dbPassword, String rptLanguage, String rptEncoding) public static String sendCmdRunAndView(Frame frame, String rptURL, Hashtable paramValues, String wherePortion, String namedWherePortion, String whereClause, String dbUser, String dbPassword, String jdbcUrl, String jdbcDriver, String rptLanguage, String rptEncoding) public static String sendCmdRunAndView(Frame frame, String rptURL, Hashtable paramValues, String wherePortion, String namedWherePortion, String whereClause, String dbUser, String dbPassword, String jdbcUrl, String jdbcDriver, boolean jdbcGetSupportInfo, String rptLanguage, String rptEncoding) public static String sendCmdRunAndView(Frame frame, String rptURL, Hashtable paramValues, String wherePortion, String namedWherePortion, String whereClause, String dbUser, String dbPassword, String jdbcUrl, String jdbcDriver, boolean jdbcGetSupportInfo, String rptLanguage, String rptEncoding, String taskListenerClass) public static String sendCmdRunAndView(Frame frame, String rptURL, Hashtable paramValues, String wherePortion, String namedWherePortion, String whereClause, String dbUser, String dbPassword, String jdbcUrl, String jdbcDriver, boolean jdbcGetSupportInfo, String rptLanguage, String rptCountry, String rptEncoding, String taskListenerClass) public static String sendCmdRunAndView(Frame frame, String rptURL, Hashtable paramValues, String wherePortion, String namedWherePortion, String whereClause, String dbUser, String dbPassword, String jdbcUrl, String jdbcDriver, boolean jdbcGetSupportInfo, String rptLanguage, String rptCountry, String rptEncoding, String rptStyle, String taskListenerClass) public static String sendCmdRunAndView(Frame frame, String rptURL, String paramValues, String wherePortion, String namedWherePortion, String whereClause, String dbUser, String dbPassword) public static String sendCmdRunAndView(Frame frame, String rptURL, String paramValues, String wherePortion, String namedWherePortion, String whereClause, String dbUser, String dbPassword, String rptLanguage, String rptEncoding) public static String sendCmdRunAndView(Frame frame, String rptURL, String paramValues, String wherePortion, String namedWherePortion, String whereClause, String dbUser, String dbPassword, String jdbcUrl, String jdbcDriver, String rptLanguage, String rptEncoding) public static String sendCmdRunAndView(Frame frame, String rptURL, String paramValues, String wherePortion, String namedWherePortion, String whereClause, String dbUser, String dbPassword, String jdbcUrl, String jdbcDriver, boolean jdbcGetSupportInfo, String rptLanguage, String rptEncoding) public static String sendCmdRunAndView(Frame frame, String rptURL, String paramValues, String wherePortion, String namedWherePortion, String whereClause, String dbUser, String dbPassword, String jdbcUrl, String jdbcDriver, boolean jdbcGetSupportInfo, String rptLanguage, String rptEncoding, String taskListenerClass) public static String sendCmdRunAndView(Frame frame, String rptURL, String paramValues, String wherePortion, String namedWherePortion, String whereClause, String dbUser, String dbPassword, String jdbcUrl, String jdbcDriver, boolean jdbcGetSupportInfo, String rptLanguage, String rptCountry, String rptEncoding, String taskListenerClass) public static String sendCmdRunAndView(Frame frame, String rptURL, String paramValues, String wherePortion, String namedWherePortion, String whereClause, String dbUser, String dbPassword, String jdbcUrl, String jdbcDriver, boolean jdbcGetSupportInfo, String rptLanguage, String rptCountry, String rptEncoding, String rptStyle, String taskListenerClass) public static String sendCmdRunAndViewEx(Frame frame, String rptURL, Hashtable taskProps); public static void deleteTempResult(Frame frame, String rptUrl, String rst) public static boolean isTempResultReady(Frame frame, String rptURL, String tempResult) public static void waitTempResultReady(Frame frame, String rptURL, String tempResult) public static void waitTempResultReady(Frame frame, String rptURL, String tempResult, int timeout) public static InputStream getTempResultInputStream(Frame frame, String rptURL, String tempResult) public static InputStream getTempResultInputStream(Frame frame, String rptURL, String tempResult, int timeout) public static boolean[] exportTempResult(String rptURL, String tempResult, String rstFile, String htmlFile, String pdfFile, String txtFile, String excelFile, String psFile, boolean isNormalText, boolean isRepeat, char delimiter, boolean isMultiFiles, boolean isChartApplet, boolean hasHyperlink, boolean hasPageNumber) public static boolean[] exportTempResult(String rptURL, String tempResult, String rstFile, String htmlFile, String pdfFile, String txtFile, String excelFile, String psFile, String rtfFile, boolean isNormalText, boolean isRepeat, char delimiter, boolean isMultiFiles, boolean isChartApplet, boolean hasHyperlink, boolean hasPageNumber, boolean useTable, boolean relFontSize, int webBrowser, boolean drilldown) public static boolean[] exportTempResult(String rptURL, String tempResult, String rstFile, String htmlFile, String pdfFile, String txtFile, String excelFile, String psFile, String rtfFile, boolean isNormalText, boolean isRepeat, char delimiter, boolean isMultiFiles, boolean isChartApplet, boolean hasHyperlink, boolean hasPageNumber, boolean useTable, boolean relFontSize, int webBrowser, boolean drilldown, boolean noMarginHtml, int charWidth, int charHeight, boolean noMarginPdf, boolean noMarginPs, boolean noMarginRtf) public static boolean[] exportTempResult(String rptURL, String tempResult, String rstFile, String htmlFile, String pdfFile, String txtFile, String excelFile, String psFile, String rtfFile, boolean isNormalText, boolean isRepeat, char delimiter, boolean isMultiFiles, boolean isChartApplet, boolean hasHyperlink, boolean hasPageNumber, boolean useTable, boolean relFontSize, int webBrowser, boolean drilldown, boolean noMarginHtml, int charWidth, int charHeight, boolean noMarginPdf, boolean noMarginPs, boolean noMarginRtf, boolean isSimPrintMode,int isCompressImage) public static boolean[] exportTempResult(String rptURL, String tempResult, String rstFile, String htmlFile, String pdfFile, String txtFile, String excelFile, String psFile, String rtfFile, String xmlFile, boolean isNormalText, boolean isRepeat, char delimiter, boolean isMultiFiles, boolean isChartApplet, boolean hasHyperlink, boolean hasPageNumber, boolean useTable, boolean relFontSize, int webBrowser, boolean drilldown, boolean noMarginHtml, int charWidth, int charHeight, boolean noMarginPdf, boolean noMarginPs, boolean noMarginRtf, boolean isXMLMultiFiles, boolean isOnlyData) public static boolean[] exportTempResult(String rptURL, String tempResult, String rstFile, String htmlFile, String pdfFile, String txtFile, String excelFile, String psFile, String rtfFile, String xmlFile, boolean isNormalText, boolean isRepeat, char delimiter, boolean isMultiFiles, boolean isChartApplet, boolean hasHyperlink, boolean hasPageNumber, boolean useTable, boolean relFontSize, int webBrowser, boolean drilldown, boolean noMarginHtml, int charWidth, int charHeight, boolean noMarginPdf, boolean noMarginPs, boolean noMarginRtf, boolean isOnlyData) public static boolean[] exportTempResult(String rptURL, String tempResult, String rstFile, String htmlFile, String pdfFile, String txtFile, String excelFile, String psFile, String rtfFile, String xmlFile, boolean isNormalText, boolean isRepeat, char delimiter, boolean isMultiFiles, boolean isChartApplet, boolean hasHyperlink, boolean hasPageNumber, boolean useTable, boolean relFontSize, int webBrowser, boolean drilldown, boolean noMarginHtml, int charWidth, int charHeight, boolean noMarginPdf, boolean noMarginPs, boolean noMarginRtf, boolean isXMLMultiFiles, boolean isOnlyData, boolean isQuoteMark, boolean hasHeadFoot) public static boolean[] exportTempResult(String rptURL, String tempResult, String rstFile, String htmlFile, String pdfFile, String txtFile, String excelFile, String psFile, String rtfFile, String xmlFile, boolean isNormalText, boolean isRepeat, char delimiter, boolean isMultiFiles, boolean isChartApplet, boolean hasHyperlink, boolean hasPageNumber, boolean useTable, boolean relFontSize, int webBrowser, boolean drilldown, boolean noMarginHtml, int charWidth, int charHeight, boolean noMarginPdf, boolean noMarginPs, boolean noMarginRtf, boolean isSimPrintMode,int isCompressImage, boolean isOnlyData, boolean isQuoteMark, boolean hasHeadFoot) public static boolean[] exportTempResult(String rptURL, String tempResult, String rstFile, String htmlFile, String pdfFile, String txtFile, String excelFile, String psFile, String rtfFile, String xmlFile, boolean isNormalText, boolean isRepeat, char delimiter, boolean isMultiFiles, boolean isChartApplet, boolean hasHyperlink, boolean hasPageNumber, boolean useTable, boolean relFontSize, int webBrowser, boolean drilldown, boolean noMarginHtml, int charWidth, int charHeight, boolean noMarginPdf, boolean noMarginPs, boolean noMarginRtf, boolean isSimPrintMode,int isCompressImage, boolean isXMLMultiFiles, boolean isOnlyData, boolean isQuoteMark, boolean hasHeadFoot, boolean isGifTrans) public static boolean[] exportTempResult(String rptURL, String tempResult, String rstFile, String htmlFile, String pdfFile, String txtFile, String excelFile, String psFile, String rtfFile, String xmlFile, boolean isNormalText, boolean isRepeat, char delimiter, boolean isMultiFiles, boolean isChartApplet, boolean hasHyperlink, boolean hasPageNumber, boolean useTable, boolean relFontSize, int webBrowser, boolean drilldown, boolean noMarginHtml, boolean isDhtml, int charWidth, int charHeight, boolean noMarginPdf, boolean noMarginPs, boolean noMarginRtf,, boolean isSimPrintMode,int isCompressImage, boolean isXMLMultiFiles, boolean isOnlyData, boolean isQuoteMark, boolean hasHeadFoot, boolean isGifTrans, boolean bTxtCompress) public static boolean[] exportTempResult(String rptURL, String tempResult, String rstFile, String htmlFile, String pdfFile, String txtFile, String excelFile, String psFile, String rtfFile, String xmlFile, boolean isNormalText, boolean isRepeat, char delimiter, boolean isMultiFiles, boolean isChartApplet, boolean hasHyperlink, boolean hasPageNumber, boolean useTable, boolean relFontSize, int webBrowser, boolean drilldown, boolean noMarginHtml, boolean isDhtml, int charWidth, int charHeight, boolean noMarginPdf, boolean noMarginPs, boolean noMarginRtf,, boolean isSimPrintMode,int isCompressImage, boolean isOnlyData, boolean isQuoteMark, boolean hasHeadFoot, boolean isGifTrans, boolean bTxtCompress) public static boolean[] exportTempResult(String rptURL, String tempResult, String rstFile, String htmlFile, String pdfFile, String txtFile, String excelFile, String psFile, String rtfFile, String xmlFile, boolean isNormalText, boolean isRepeat, char delimiter, boolean isMultiFiles, boolean isChartApplet, boolean hasHyperlink, boolean hasPageNumber, boolean useTable, boolean relFontSize, int webBrowser, boolean drilldown, boolean noMarginHtml, boolean isDhtml, int charWidth, int charHeight, boolean noMarginPdf, boolean noMarginPs, boolean noMarginRtf, boolean isSimPrintMode,int isCompressImage, boolean isXMLMultiFiles, boolean isOnlyData, boolean isQuoteMark, boolean hasHeadFoot, boolean isGifTrans, boolean bTxtCompress, boolean bExportLocal,int WordWrapExcel, String xsdFileName, boolean excel2000) public static boolean[] exportTempResult(String rptURL, String tempResult, String rstFile, String htmlFile, String pdfFile, String txtFile, String excelFile, String psFile, String rtfFile, String xmlFile, boolean isNormalText, boolean isRepeat, char delimiter, boolean isMultiFiles, boolean isChartApplet, boolean hasHyperlink, boolean hasPageNumber, boolean useTable, boolean relFontSize, int webBrowser, boolean drilldown, boolean noMarginHtml, boolean isDhtml, int charWidth, int charHeight, boolean noMarginPdf, boolean noMarginPs, boolean noMarginRtf, boolean isSimPrintMode,int isCompressImage, boolean isXMLMultiFiles, boolean isOnlyData, boolean isQuoteMark, boolean hasHeadFoot, boolean isGifTrans, boolean bTxtCompress, boolean bExportLocal,int WordWrapExcel, String xsdFileName, boolean excel2000, boolean isToc, boolean isDrilldown, int htmlResolution) public static boolean[] exportTempResult(String rptURL, String tempResult, String rstFile, String htmlFile, String pdfFile, String txtFile, String excelFile, String psFile, String rtfFile, String xmlFile, boolean isNormalText, boolean isRepeat, char delimiter, boolean isMultiFiles, boolean isChartApplet, boolean hasHyperlink, boolean hasPageNumber, boolean useTable, boolean relFontSize, int webBrowser, boolean drilldown, boolean noMarginHtml, boolean isDhtml, int charWidth, int charHeight, boolean noMarginPdf, boolean noMarginPs, boolean noMarginRtf, boolean isSimPrintMode,int isCompressImage, boolean isXMLMultiFiles, boolean isOnlyData, boolean isQuoteMark, boolean hasHeadFoot, boolean isGifTrans, boolean bTxtCompress, boolean bExportLocal,int WordWrapExcel, String xsdFileName, boolean excel2000, boolean isToc, boolean isDrilldown, int htmlResolution, boolean forWindows, int overflow, boolean hasShapes, boolean isCsv, boolean isTab) public static boolean[] exportTempResultEx(String rptURL, String tempResult, Hashtable exportProps);
The methods on result versions of a report: public static String makeViewVersionURL(String rptUrl, String versionResult) public static Vector getResultVersions(Frame frame, String reportURL) public static Vector getResultVersions(Frame frame, String reportURL, String rpt) public static Vector getReportVersions(Frame frame, String reportURL, String rpt) public static Vector getResultDocVersions(Frame frame, String reportURL, String rst) public static Vector getCatalogVersions(Frame frame, String reportURL, String cat) public static void deleteVersion(Frame frame, String rptUrl, String versionID) public static void deleteRstVersion(Frame frame, String rptUrl, String versionID, String rpt) public static void deleteRptVersion(Frame frame, String rptUrl, String versionID, String rpt) public static void deleteRstDocVersion(Frame frame, String rptUrl, String versionID, String rst) public static void deleteCatVersion(Frame frame, String rptUrl, String versionID, String cat) public static boolean[] exportVersionResult(String rptURL, String versionResult, String rstFile, String htmlFile, String pdfFile, String txtFile, String excelFile, String psFile, boolean isNormalText, boolean isRepeat, char delimiter, boolean isMultiFiles, boolean isChartApplet, boolean hasHyperlink, boolean hasPageNumber) public static boolean[] exportVersionResult(String rptURL, String versionResult, String rstFile, String htmlFile, String pdfFile, String txtFile, String excelFile, String psFile, String rtfFile, boolean isNormalText, boolean isRepeat, char delimiter, boolean isMultiFiles, boolean isChartApplet, boolean hasHyperlink, boolean hasPageNumber, boolean useTable, boolean relFontSize, int webBrowser, boolean drilldown) public static boolean[] exportVersionResult(String rptURL, String versionResult, String rstFile, String htmlFile, String pdfFile, String txtFile, String excelFile, String psFile, String rtfFile, boolean isNormalText, boolean isRepeat, char delimiter, boolean isMultiFiles, boolean isChartApplet, boolean hasHyperlink, boolean hasPageNumber, boolean useTable, boolean relFontSize, int webBrowser, boolean drilldown, boolean noMarginHtml, int charWidth, int charHeight, boolean noMarginPdf, boolean noMarginPs, boolean noMarginRtf) public static boolean[] exportVersionResult(String rptURL, String versionResult, String rstFile, String htmlFile, String pdfFile, String txtFile, String excelFile, String psFile, String rtfFile, boolean isNormalText, boolean isRepeat, char delimiter, boolean isMultiFiles, boolean isChartApplet, boolean hasHyperlink, boolean hasPageNumber, boolean useTable, boolean relFontSize, int webBrowser, boolean drilldown, boolean noMarginHtml, int charWidth, int charHeight, boolean noMarginPdf, boolean noMarginPs, boolean noMarginRtf,boolean isSimPrintMode, int isCompressImage) public static boolean[] exportVersionResult(String rptURL, String versionResult, String rstFile, String htmlFile, String pdfFile, String txtFile, String excelFile, String psFile, String rtfFile, String xmlFile, boolean isNormalText, boolean isRepeat, char delimiter, boolean isMultiFiles, boolean isChartApplet, boolean hasHyperlink, boolean hasPageNumber, boolean useTable, boolean relFontSize, int webBrowser, boolean drilldown, boolean noMarginHtml, int charWidth, int charHeight, boolean noMarginPdf, boolean noMarginPs, boolean noMarginRtf, boolean isXMLMultiFiles, boolean isOnlyData) public static boolean[] exportVersionResult(String rptURL, String versionResult, String rstFile, String htmlFile, String pdfFile, String txtFile, String excelFile, String psFile, String rtfFile, String xmlFile, boolean isNormalText, boolean isRepeat, char delimiter, boolean isMultiFiles, boolean isChartApplet, boolean hasHyperlink, boolean hasPageNumber, boolean useTable, boolean relFontSize, int webBrowser, boolean drilldown, boolean noMarginHtml, int charWidth, int charHeight, boolean noMarginPdf, boolean noMarginPs, boolean noMarginRtf, boolean isOnlyData) public static boolean[] exportVersionResult(String rptURL, String versionResult, String rstFile, String htmlFile, String pdfFile, String txtFile, String excelFile, String psFile, String rtfFile, String xmlFile, boolean isNormalText, boolean isRepeat, char delimiter, boolean isMultiFiles, boolean isChartApplet, boolean hasHyperlink, boolean hasPageNumber, boolean useTable, boolean relFontSize, int webBrowser, boolean drilldown, boolean noMarginHtml, int charWidth, int charHeight, boolean noMarginPdf, boolean noMarginPs, boolean noMarginRtf,boolean isSimPrintMode, int isCompressImage, boolean isXMLMultiFiles, boolean isOnlyData, boolean isQuoteMark, boolean hasHeadFoot) public static boolean[] exportVersionResult(String rptURL, String versionResult, String rstFile, String htmlFile, String pdfFile, String txtFile, String excelFile, String psFile, String rtfFile, String xmlFile, boolean isNormalText, boolean isRepeat, char delimiter, boolean isMultiFiles, boolean isChartApplet, boolean hasHyperlink, boolean hasPageNumber, boolean useTable, boolean relFontSize, int webBrowser, boolean drilldown, boolean noMarginHtml, int charWidth, int charHeight, boolean noMarginPdf, boolean noMarginPs, boolean noMarginRtf,boolean isSimPrintMode, int isCompressImage, boolean isOnlyData, boolean isQuoteMark, boolean hasHeadFoot) public static boolean[] exportVersionResult(String rptURL, String versionResult, String rstFile, String htmlFile, String pdfFile, String txtFile, String excelFile, String psFile, String rtfFile, String xmlFile, boolean isNormalText, boolean isRepeat, char delimiter, boolean isMultiFiles, boolean isChartApplet, boolean hasHyperlink, boolean hasPageNumber, boolean useTable, boolean relFontSize, int webBrowser, boolean drilldown, boolean noMarginHtml, int charWidth, int charHeight, boolean noMarginPdf, boolean noMarginPs, boolean noMarginRtf,boolean isSimPrintMode, int isCompressImage, boolean isXMLMultiFiles, boolean isOnlyData, boolean isQuoteMark, boolean hasHeadFoot, boolean isGifTrans) public static boolean[] exportVersionResult(String rptURL, String versionResult, String rstFile, String htmlFile, String pdfFile, String txtFile, String excelFile, String psFile, String rtfFile, String xmlFile, boolean isNormalText, boolean isRepeat, char delimiter, boolean isMultiFiles, boolean isChartApplet, boolean hasHyperlink, boolean hasPageNumber, boolean useTable, boolean relFontSize, int webBrowser, boolean drilldown, boolean noMarginHtml, boolean isDhtml, int charWidth, int charHeight, boolean noMarginPdf, boolean noMarginPs, boolean noMarginRtf,boolean isSimPrintMode, int isCompressImage, boolean isXMLMultiFiles, boolean isOnlyData, boolean isQuoteMark, boolean hasHeadFoot, boolean isGifTrans, boolean bTxtCompress) public static boolean[] exportVersionResult(String rptURL, String versionResult, String rstFile, String htmlFile, String pdfFile, String txtFile, String excelFile, String psFile, String rtfFile, String xmlFile, boolean isNormalText, boolean isRepeat, char delimiter, boolean isMultiFiles, boolean isChartApplet, boolean hasHyperlink, boolean hasPageNumber, boolean useTable, boolean relFontSize, int webBrowser, boolean drilldown, boolean noMarginHtml, boolean isDhtml, int charWidth, int charHeight, boolean noMarginPdf, boolean noMarginPs, boolean noMarginRtf,boolean isSimPrintMode, int isCompressImage, boolean isOnlyData, boolean isQuoteMark, boolean hasHeadFoot, boolean isGifTrans, boolean bTxtCompress) public static boolean[] exportVersionResult(String rptURL, String versionResult, String rstFile, String htmlFile, String pdfFile, String txtFile, String excelFile, String psFile, String rtfFile, String xmlFile, boolean isNormalText, boolean isRepeat, char delimiter, boolean isMultiFiles, boolean isChartApplet, boolean hasHyperlink, boolean hasPageNumber, boolean useTable, boolean relFontSize, int webBrowser, boolean drilldown, boolean noMarginHtml, boolean isDhtml, int charWidth, int charHeight, boolean noMarginPdf, boolean noMarginPs, boolean noMarginRtf,boolean isSimPrintMode, int isCompressImage, boolean isXMLMultiFiles, boolean isOnlyData, boolean isQuoteMark, boolean hasHeadFoot, boolean isGifTrans, boolean bTxtCompress,boolean bExportLocal,boolean isWordWrapExec, String xsdFileName, boolean excel2000) public static boolean[] exportVersionResult(String rptURL, String versionResult, String rstFile, String htmlFile, String pdfFile, String txtFile, String excelFile, String psFile, String rtfFile, String xmlFile, boolean isNormalText, boolean isRepeat, char delimiter, boolean isMultiFiles, boolean isChartApplet, boolean hasHyperlink, boolean hasPageNumber, boolean useTable, boolean relFontSize, int webBrowser, boolean drilldown, boolean noMarginHtml, boolean isDhtml, int charWidth, int charHeight, boolean noMarginPdf, boolean noMarginPs, boolean noMarginRtf,boolean isSimPrintMode, int isCompressImage, boolean isXMLMultiFiles, boolean isOnlyData, boolean isQuoteMark, boolean hasHeadFoot, boolean isGifTrans, boolean bTxtCompress,boolean bExportLocal,boolean isWordWrapExec, String xsdFileName, boolean excel2000, boolean isToc, boolean isDrilldown, int htmlResolution) public static boolean[] exportVersionResult(String rptURL, String versionResult, String rstFile, String htmlFile, String pdfFile, String txtFile, String excelFile, String psFile, String rtfFile, String xmlFile, boolean isNormalText, boolean isRepeat, char delimiter, boolean isMultiFiles, boolean isChartApplet, boolean hasHyperlink, boolean hasPageNumber, boolean useTable, boolean relFontSize, int webBrowser, boolean drilldown, boolean noMarginHtml, boolean isDhtml, int charWidth, int charHeight, boolean noMarginPdf, boolean noMarginPs, boolean noMarginRtf,boolean isSimPrintMode, int isCompressImage, boolean isXMLMultiFiles, boolean isOnlyData, boolean isQuoteMark, boolean hasHeadFoot, boolean isGifTrans, boolean bTxtCompress,boolean bExportLocal,boolean isWordWrapExec, String xsdFileName, boolean excel2000, boolean isToc, boolean isDrilldown, int htmlResolution, boolean forWindows, int overflow, boolean hasShapes, boolean isCsv, boolean isTab) public static boolean[] exportVersionResultEx(String rptURL, String versionResult, Hashtable exportProps);
The methods on resources in a report server: public static Vector getSubNodesInfo(Frame frame, String jrsvrURL, String path) public static Vector getSubFileDirInfo(Frame frame, String jrsvrURL, String path) public static NodeInfo getNodeInfo(Frame frame, String parentUrl, String nodeName) public static NodeInfo getNodeReferInfo(Frame frame, String parentUrl, String nodeName) public static Vector getReports(Frame frame, String jrsvrURL, String cat) public static boolean isCatalogExits(Frame frame, String jrsvrURL, String cat) public static String getCatalogOfReport(Frame frame, String rptUrl) public static String getServletPath(Frame frame, String url) public static ResourcePathInfo getResourcePathInfo(Frame frame, String url) public static void removeResource(Frame frame, String rptURL, String name)
The methods on scheduled tasks: public static Vector getScheduled(Frame frame, String jrsvrURL) public static void deleteScheduled(Frame frame, String jrsvrURL, String taskID) public static void enableScheduled(Frame frame, String jrsvrURL, String taskID) public static void disableScheduled(Frame frame, String jrsvrURL, String taskID) public static Vector getActive(Frame frame, String jrsvrURL) public static void stopActive(Frame frame, String jrsvrURL, String taskID) public static Vector getCompleted(Frame frame, String jrsvrURL) public static void deleteCompleted(Frame frame, String jrsvrURL, String completedID) public static void deleteAllCompleted(Frame frame, String jrsvrURL) public static String submitTask(Frame frame, String jrsvrURL, Hashtable theTask) public static String runTask(Frame frame, String jrsvrURL, Hashtable theTask) public static String getBooleanNames(Frame frame, String rptURL) public static Vector getPrintersOfServer(Frame frame, String jrsvrURL)
The other methods: public static String[] getSupportedEncodingNames();
| Field Summary | |
|---|---|
static int |
vDebug
Indicates to open the debug. |
static int |
vError
Indicates to open the error. |
static int |
vOff
Indicates to close the debug. |
| Constructor Summary | |
|---|---|
JRClient()
|
|
| Method Summary | |
|---|---|
static void |
advancedDeploy(java.awt.Frame frame,
java.lang.String url,
java.util.Hashtable prop)
The method is used to do advanced deploy. |
static boolean |
canExportDhtmlResult(java.awt.Frame frame,
java.lang.String url,
java.util.Hashtable prop)
Judge whether the report supports being exported to DHTML result. |
static void |
changePassword(java.awt.Frame frame,
java.lang.String jrsvrURL,
java.lang.String user,
java.lang.String pswd,
java.lang.String pswdNew,
java.lang.String pswdNewConfirm)
Changes the password of an user. |
static boolean |
checkPermission(java.awt.Frame frame,
java.lang.String url,
java.lang.String user,
java.lang.String path,
java.lang.String permission)
|
static boolean |
checkPrivilege(java.awt.Frame frame,
java.lang.String url,
java.lang.String user,
java.lang.String privilege)
|
static int |
checkValidation(java.awt.Frame frm,
java.lang.String sURL,
java.lang.String qry)
Connect to the server and check the validation of passed parameters based on special rules. |
static void |
close(java.net.URLConnection uc)
Close a URLConnection. |
static void |
connect(java.awt.Frame frame,
java.lang.String host,
int port,
java.lang.String servletPath,
boolean enableSSL,
java.lang.String userName,
java.lang.String password)
connect to the JReport Enterprise Server, user can get these parameters from jet.client.api.gui.ConnectionDialog |
static void |
createConditionTrigger(java.awt.Frame frame,
java.lang.String serverUrl,
java.lang.String name,
java.lang.String description)
Creates a new EXTERN trigger with specified trigger name and description in the inner collection if it is not already present. |
static boolean |
currentRptIsBursting(java.awt.Frame frame,
java.lang.String url,
java.lang.String user,
java.lang.String catalog,
java.lang.String rptName)
|
static void |
deleteAllCompleted(java.awt.Frame frame,
java.lang.String jrsvrURL)
|
static void |
deleteCatVersion(java.awt.Frame frame,
java.lang.String rptUrl,
java.lang.String versionID,
java.lang.String cat,
java.util.Properties ht)
Deletes a catalog version. |
static void |
deleteCompleted(java.awt.Frame frame,
java.lang.String jrsvrURL,
java.lang.String completedID)
Deletes a completed task by the completed ID from a report server. |
static void |
deleteRptVersion(java.awt.Frame frame,
java.lang.String rptUrl,
java.lang.String versionID,
java.lang.String rpt)
Deletes a report version. |
static void |
deleteRptVersion(java.awt.Frame frame,
java.lang.String rptUrl,
java.lang.String versionID,
java.lang.String rpt,
java.util.Properties ht)
|
static void |
deleteRstDocVersion(java.awt.Frame frame,
java.lang.String rptUrl,
java.lang.String versionID,
java.lang.String rst)
Deletes a result doc version. |
static void |
deleteRstVersion(java.awt.Frame frame,
java.lang.String rptUrl,
java.lang.String versionID,
java.lang.String rpt,
java.util.Properties ht)
Deletes a report result version. |
static void |
deleteScheduled(java.awt.Frame frame,
java.lang.String jrsvrURL,
java.lang.String taskID)
Deletes a scheduled task by the task ID from a report server. |
static void |
deleteTempResult(java.awt.Frame frame,
java.lang.String rptUrl,
java.lang.String rst)
Deletes a report result. |
static void |
deleteVersion(java.awt.Frame frame,
java.lang.String rptUrl,
java.lang.String versionID,
java.util.Properties ht)
Deprecated. As of JREntViewer version 6.0, |
static void |
deploy(java.awt.Frame frame,
java.lang.String url,
java.util.Hashtable prop)
The method is used to do simple deploy. |
static void |
disableScheduled(java.awt.Frame frame,
java.lang.String jrsvrURL,
java.lang.String taskID)
Disables a scheduled task by the task ID from a report server. |
static java.lang.String |
downloadResultFiles(java.awt.Frame frame,
java.lang.String svrURL,
java.lang.String rptPath,
java.lang.String versionNum,
java.lang.String suffix,
java.lang.String restorePath)
Gets the all of result files. |
static java.lang.String |
downloadResultFiles(java.awt.Frame frame,
java.lang.String svrURL,
java.lang.String rptPath,
java.lang.String versionNum,
java.lang.String suffix,
java.lang.String restorePath,
java.lang.String sheet)
Gets the all of result files. |
static void |
enableScheduled(java.awt.Frame frame,
java.lang.String jrsvrURL,
java.lang.String taskID)
Enables a scheduled task by the task ID from a report server. |
static void |
exportTasks(java.lang.String jrsvrURL,
java.lang.String fileName,
java.lang.String tasks)
Deprecated. |
static boolean[] |
exportTempResult(java.lang.String rptURL,
java.lang.String tempResult,
java.lang.String rstFile,
java.lang.String htmlFile,
java.lang.String pdfFile,
java.lang.String txtFile,
java.lang.String excelFile,
java.lang.String psFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber)
Deprecated. As of JREntViewer version 3.0, replaced by exportTempResult(String rptURL,
String tempResult,
String rstFile,
String htmlFile,
String pdfFile,
String txtFile,
String excelFile,
String psFile,
String rtfFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown). |
static boolean[] |
exportTempResult(java.lang.String rptURL,
java.lang.String tempResult,
java.lang.String rstFile,
java.lang.String htmlFile,
java.lang.String pdfFile,
java.lang.String txtFile,
java.lang.String excelFile,
java.lang.String psFile,
java.lang.String rtfFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown)
Deprecated. As of version 6, replaced by exportTempResultEx(String, String, Hashtable, boolean). |
static boolean[] |
exportTempResult(java.lang.String rptURL,
java.lang.String tempResult,
java.lang.String rstFile,
java.lang.String htmlFile,
java.lang.String pdfFile,
java.lang.String txtFile,
java.lang.String excelFile,
java.lang.String psFile,
java.lang.String rtfFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown,
boolean noMarginHtml,
int charWidth,
int charHeight,
boolean noMarginPdf,
boolean noMarginPs,
boolean noMarginRtf)
Deprecated. As of version 6, replaced by exportTempResultEx(String, String, Hashtable, boolean). |
static boolean[] |
exportTempResult(java.lang.String rptURL,
java.lang.String tempResult,
java.lang.String rstFile,
java.lang.String htmlFile,
java.lang.String pdfFile,
java.lang.String txtFile,
java.lang.String excelFile,
java.lang.String psFile,
java.lang.String rtfFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown,
boolean noMarginHtml,
int charWidth,
int charHeight,
boolean noMarginPdf,
boolean noMarginPs,
boolean noMarginRtf,
boolean isSimPrintMode,
int isCompressImage)
Deprecated. As of version 6, replaced by exportTempResultEx(String, String, Hashtable, boolean). |
static boolean[] |
exportTempResult(java.lang.String rptURL,
java.lang.String tempResult,
java.lang.String rstFile,
java.lang.String htmlFile,
java.lang.String pdfFile,
java.lang.String txtFile,
java.lang.String excelFile,
java.lang.String psFile,
java.lang.String rtfFile,
java.lang.String xmlFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown,
boolean noMarginHtml,
boolean isDhtml,
int charWidth,
int charHeight,
boolean noMarginPdf,
boolean noMarginPs,
boolean noMarginRtf,
boolean isSimPrintMode,
int isCompressImage,
boolean isOnlyData,
boolean isQuoteMark,
boolean hasHeadFoot,
boolean isGifTrans,
boolean bTxtCompress)
Deprecated. As of version 6, replaced by exportTempResultEx(String, String, Hashtable, boolean). |
static boolean[] |
exportTempResult(java.lang.String rptURL,
java.lang.String tempResult,
java.lang.String rstFile,
java.lang.String htmlFile,
java.lang.String pdfFile,
java.lang.String txtFile,
java.lang.String excelFile,
java.lang.String psFile,
java.lang.String rtfFile,
java.lang.String xmlFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown,
boolean noMarginHtml,
boolean isDhtml,
int charWidth,
int charHeight,
boolean noMarginPdf,
boolean noMarginPs,
boolean noMarginRtf,
boolean isSimPrintMode,
int isCompressImage,
boolean isXMLMultiFiles,
boolean isOnlyData,
boolean isQuoteMark,
boolean hasHeadFoot,
boolean isGifTrans,
boolean bTxtCompress)
Deprecated. As of JREntViewer version 5.0, replaced by exportTempResult(String rptURL,
String tempResult,
String rstFile,
String htmlFile,
String pdfFile,
String txtFile,
String excelFile,
String psFile,
String rtfFile,
String xmlFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown,
boolean noMarginHtml,
boolean isDhtml,
int charWidth,
int charHeight,
boolean noMarginPdf,
boolean noMarginPs,
boolean noMarginRtf,
boolean isSimPrintMode,
int isCompressImage,
boolean isOnlyData,
boolean isQuoteMark,
boolean hasHeadFoot,
boolean isGifTrans,
boolean bTxtCompress). |
static boolean[] |
exportTempResult(java.lang.String rptURL,
java.lang.String tempResult,
java.lang.String rstFile,
java.lang.String htmlFile,
java.lang.String pdfFile,
java.lang.String txtFile,
java.lang.String excelFile,
java.lang.String psFile,
java.lang.String rtfFile,
java.lang.String xmlFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown,
boolean noMarginHtml,
boolean isDhtml,
int charWidth,
int charHeight,
boolean noMarginPdf,
boolean noMarginPs,
boolean noMarginRtf,
boolean isSimPrintMode,
int isCompressImage,
boolean isXMLMultiFiles,
boolean isOnlyData,
boolean isQuoteMark,
boolean hasHeadFoot,
boolean isGifTrans,
boolean bTxtCompress,
boolean bExportLocal,
int WordWrapExcel,
java.lang.String xsdFileName,
boolean excel2000)
Deprecated. As of version 6, replaced by exportTempResultEx(String, String, Hashtable, boolean). |
static boolean[] |
exportTempResult(java.lang.String rptURL,
java.lang.String tempResult,
java.lang.String rstFile,
java.lang.String htmlFile,
java.lang.String pdfFile,
java.lang.String txtFile,
java.lang.String excelFile,
java.lang.String psFile,
java.lang.String rtfFile,
java.lang.String xmlFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown,
boolean noMarginHtml,
boolean isDhtml,
int charWidth,
int charHeight,
boolean noMarginPdf,
boolean noMarginPs,
boolean noMarginRtf,
boolean isSimPrintMode,
int isCompressImage,
boolean isXMLMultiFiles,
boolean isOnlyData,
boolean isQuoteMark,
boolean hasHeadFoot,
boolean isGifTrans,
boolean bTxtCompress,
boolean bExportLocal,
int WordWrapExcel,
java.lang.String xsdFileName,
boolean excel2000,
boolean isToc,
boolean isDrilldown,
int htmlResolution)
Deprecated. As of version 6, replaced by exportTempResultEx(String, String, Hashtable, boolean). |
static boolean[] |
exportTempResult(java.lang.String rptURL,
java.lang.String tempResult,
java.lang.String rstFile,
java.lang.String htmlFile,
java.lang.String pdfFile,
java.lang.String txtFile,
java.lang.String excelFile,
java.lang.String psFile,
java.lang.String rtfFile,
java.lang.String xmlFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown,
boolean noMarginHtml,
boolean isDhtml,
int charWidth,
int charHeight,
boolean noMarginPdf,
boolean noMarginPs,
boolean noMarginRtf,
boolean isSimPrintMode,
int isCompressImage,
boolean isXMLMultiFiles,
boolean isOnlyData,
boolean isQuoteMark,
boolean hasHeadFoot,
boolean isGifTrans,
boolean bTxtCompress,
boolean bExportLocal,
int WordWrapExcel,
java.lang.String xsdFileName,
boolean excel2000,
boolean isToc,
boolean isDrilldown,
int htmlResolution,
boolean forWindows,
int overflow,
boolean hasShapes,
boolean isCsv,
boolean isTab)
Deprecated. As of version 6, replaced by exportTempResultEx(String, String, Hashtable, boolean). |
static boolean[] |
exportTempResult(java.lang.String rptURL,
java.lang.String tempResult,
java.lang.String rstFile,
java.lang.String htmlFile,
java.lang.String pdfFile,
java.lang.String txtFile,
java.lang.String excelFile,
java.lang.String psFile,
java.lang.String rtfFile,
java.lang.String xmlFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown,
boolean noMarginHtml,
int charWidth,
int charHeight,
boolean noMarginPdf,
boolean noMarginPs,
boolean noMarginRtf,
boolean isOnlyData)
Deprecated. As of version 6, replaced by exportTempResultEx(String, String, Hashtable, boolean). |
static boolean[] |
exportTempResult(java.lang.String rptURL,
java.lang.String tempResult,
java.lang.String rstFile,
java.lang.String htmlFile,
java.lang.String pdfFile,
java.lang.String txtFile,
java.lang.String excelFile,
java.lang.String psFile,
java.lang.String rtfFile,
java.lang.String xmlFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown,
boolean noMarginHtml,
int charWidth,
int charHeight,
boolean noMarginPdf,
boolean noMarginPs,
boolean noMarginRtf,
boolean isXMLMultiFiles,
boolean isOnlyData)
Deprecated. As of JREntViewer version 5.0, replaced by exportTempResult(String rptURL,
String tempResult,
String rstFile,
String htmlFile,
String pdfFile,
String txtFile,
String excelFile,
String psFile,
String rtfFile,
String xmlFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown,
boolean noMarginHtml,
int charWidth,
int charHeight,
boolean noMarginPdf,
boolean noMarginPs,
boolean noMarginRtf,
boolean isOnlyData). |
static boolean[] |
exportTempResult(java.lang.String rptURL,
java.lang.String tempResult,
java.lang.String rstFile,
java.lang.String htmlFile,
java.lang.String pdfFile,
java.lang.String txtFile,
java.lang.String excelFile,
java.lang.String psFile,
java.lang.String rtfFile,
java.lang.String xmlFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown,
boolean noMarginHtml,
int charWidth,
int charHeight,
boolean noMarginPdf,
boolean noMarginPs,
boolean noMarginRtf,
boolean isSimPrintMode,
int isCompressImage,
boolean isOnlyData,
boolean isQuoteMark,
boolean hasHeadFoot)
Deprecated. As of version 6, replaced by exportTempResultEx(String, String, Hashtable, boolean). |
static boolean[] |
exportTempResult(java.lang.String rptURL,
java.lang.String tempResult,
java.lang.String rstFile,
java.lang.String htmlFile,
java.lang.String pdfFile,
java.lang.String txtFile,
java.lang.String excelFile,
java.lang.String psFile,
java.lang.String rtfFile,
java.lang.String xmlFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown,
boolean noMarginHtml,
int charWidth,
int charHeight,
boolean noMarginPdf,
boolean noMarginPs,
boolean noMarginRtf,
boolean isSimPrintMode,
int isCompressImage,
boolean isXMLMultiFiles,
boolean isOnlyData,
boolean isQuoteMark,
boolean hasHeadFoot)
Deprecated. As of JREntViewer version 5.0, replaced by exportTempResult(String rptURL,
String tempResult,
String rstFile,
String htmlFile,
String pdfFile,
String txtFile,
String excelFile,
String psFile,
String rtfFile,
String xmlFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown,
boolean noMarginHtml,
int charWidth,
int charHeight,
boolean noMarginPdf,
boolean noMarginPs,
boolean noMarginRtf,
boolean isSimPrintMode,
int isCompressImage,
boolean isOnlyData,
boolean isQuoteMark,
boolean hasHeadFoot). |
static boolean[] |
exportTempResult(java.lang.String rptURL,
java.lang.String tempResult,
java.lang.String rstFile,
java.lang.String htmlFile,
java.lang.String pdfFile,
java.lang.String txtFile,
java.lang.String excelFile,
java.lang.String psFile,
java.lang.String rtfFile,
java.lang.String xmlFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown,
boolean noMarginHtml,
int charWidth,
int charHeight,
boolean noMarginPdf,
boolean noMarginPs,
boolean noMarginRtf,
boolean isSimPrintMode,
int isCompressImage,
boolean isXMLMultiFiles,
boolean isOnlyData,
boolean isQuoteMark,
boolean hasHeadFoot,
boolean isGifTrans)
Deprecated. As of JREntViewer version 5.0, |
static boolean[] |
exportTempResultEx(java.lang.String rptURL,
java.lang.String tempResult,
java.util.Hashtable exportProps,
boolean bExportLocal)
Exporting a temporary result to JReport result, HTML, PDF, TEXT, Excel, PostScript, RTF and XML. |
static boolean[] |
exportVersionResult(java.lang.String rptURL,
java.lang.String versionResult,
java.lang.String rstFile,
java.lang.String htmlFile,
java.lang.String pdfFile,
java.lang.String txtFile,
java.lang.String excelFile,
java.lang.String psFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber)
Deprecated. As of JREntViewer version 3.0, replaced by exportVersionResult(String rptURL,
String versionResult,
String rstFile,
String htmlFile,
String pdfFile,
String txtFile,
String excelFile,
String psFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser). |
static boolean[] |
exportVersionResult(java.lang.String rptURL,
java.lang.String versionResult,
java.lang.String rstFile,
java.lang.String htmlFile,
java.lang.String pdfFile,
java.lang.String txtFile,
java.lang.String excelFile,
java.lang.String psFile,
java.lang.String rtfFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown)
Deprecated. As of version 6, replaced by exportVersionResultEx(String, String, Hashtable, boolean). |
static boolean[] |
exportVersionResult(java.lang.String rptURL,
java.lang.String versionResult,
java.lang.String rstFile,
java.lang.String htmlFile,
java.lang.String pdfFile,
java.lang.String txtFile,
java.lang.String excelFile,
java.lang.String psFile,
java.lang.String rtfFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown,
boolean noMarginHtml,
int charWidth,
int charHeight,
boolean noMarginPdf,
boolean noMarginPs,
boolean noMarginRtf)
Deprecated. As of version 6, replaced by exportVersionResultEx(String, String, Hashtable, boolean). |
static boolean[] |
exportVersionResult(java.lang.String rptURL,
java.lang.String versionResult,
java.lang.String rstFile,
java.lang.String htmlFile,
java.lang.String pdfFile,
java.lang.String txtFile,
java.lang.String excelFile,
java.lang.String psFile,
java.lang.String rtfFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown,
boolean noMarginHtml,
int charWidth,
int charHeight,
boolean noMarginPdf,
boolean noMarginPs,
boolean noMarginRtf,
boolean isSimPrintMode,
int isCompressImage)
Deprecated. As of version 6, replaced by exportVersionResultEx(String, String, Hashtable, boolean). |
static boolean[] |
exportVersionResult(java.lang.String rptURL,
java.lang.String versionResult,
java.lang.String rstFile,
java.lang.String htmlFile,
java.lang.String pdfFile,
java.lang.String txtFile,
java.lang.String excelFile,
java.lang.String psFile,
java.lang.String rtfFile,
java.lang.String xmlFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown,
boolean noMarginHtml,
boolean isDhtml,
int charWidth,
int charHeight,
boolean noMarginPdf,
boolean noMarginPs,
boolean noMarginRtf,
boolean isSimPrintMode,
int isCompressImage,
boolean isOnlyData,
boolean isQuoteMark,
boolean hasHeadFoot,
boolean isGifTrans,
boolean bTxtCompress)
Deprecated. As of version 6, replaced by exportVersionResultEx(String, String, Hashtable, boolean). |
static boolean[] |
exportVersionResult(java.lang.String rptURL,
java.lang.String versionResult,
java.lang.String rstFile,
java.lang.String htmlFile,
java.lang.String pdfFile,
java.lang.String txtFile,
java.lang.String excelFile,
java.lang.String psFile,
java.lang.String rtfFile,
java.lang.String xmlFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown,
boolean noMarginHtml,
boolean isDhtml,
int charWidth,
int charHeight,
boolean noMarginPdf,
boolean noMarginPs,
boolean noMarginRtf,
boolean isSimPrintMode,
int isCompressImage,
boolean isXMLMultiFiles,
boolean isOnlyData,
boolean isQuoteMark,
boolean hasHeadFoot,
boolean isGifTrans,
boolean bTxtCompress)
Deprecated. As of JREntViewer version 5.0, replaced by exportVersionResult(String rptURL,
String versionResult,
String rstFile,
String htmlFile,
String pdfFile,
String txtFile,
String excelFile,
String psFile,
String rtfFile,
String xmlFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown,
boolean noMarginHtml,
boolean isDhtml,
int charWidth,
int charHeight,
boolean noMarginPdf,
boolean noMarginPs,
boolean noMarginRtf,
boolean isSimPrintMode,
int isCompressImage,
boolean isOnlyData,
boolean isQuoteMark,
boolean hasHeadFoot,
boolean isGifTrans,
boolean bTxtCompress). |
static boolean[] |
exportVersionResult(java.lang.String rptURL,
java.lang.String versionResult,
java.lang.String rstFile,
java.lang.String htmlFile,
java.lang.String pdfFile,
java.lang.String txtFile,
java.lang.String excelFile,
java.lang.String psFile,
java.lang.String rtfFile,
java.lang.String xmlFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown,
boolean noMarginHtml,
boolean isDhtml,
int charWidth,
int charHeight,
boolean noMarginPdf,
boolean noMarginPs,
boolean noMarginRtf,
boolean isSimPrintMode,
int isCompressImage,
boolean isXMLMultiFiles,
boolean isOnlyData,
boolean isQuoteMark,
boolean hasHeadFoot,
boolean isGifTrans,
boolean bTxtCompress,
boolean bExportLocal,
int WordWrapExecl,
java.lang.String xsdFileName,
boolean excel2000)
Deprecated. As of version 6, replaced by exportVersionResultEx(String, String, Hashtable, boolean). |
static boolean[] |
exportVersionResult(java.lang.String rptURL,
java.lang.String versionResult,
java.lang.String rstFile,
java.lang.String htmlFile,
java.lang.String pdfFile,
java.lang.String txtFile,
java.lang.String excelFile,
java.lang.String psFile,
java.lang.String rtfFile,
java.lang.String xmlFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown,
boolean noMarginHtml,
boolean isDhtml,
int charWidth,
int charHeight,
boolean noMarginPdf,
boolean noMarginPs,
boolean noMarginRtf,
boolean isSimPrintMode,
int isCompressImage,
boolean isXMLMultiFiles,
boolean isOnlyData,
boolean isQuoteMark,
boolean hasHeadFoot,
boolean isGifTrans,
boolean bTxtCompress,
boolean bExportLocal,
int WordWrapExecl,
java.lang.String xsdFileName,
boolean excel2000,
boolean isToc,
boolean isDrilldown,
int htmlResolution)
Deprecated. As of version 6, replaced by exportVersionResultEx(String, String, Hashtable, boolean). |
static boolean[] |
exportVersionResult(java.lang.String rptURL,
java.lang.String versionResult,
java.lang.String rstFile,
java.lang.String htmlFile,
java.lang.String pdfFile,
java.lang.String txtFile,
java.lang.String excelFile,
java.lang.String psFile,
java.lang.String rtfFile,
java.lang.String xmlFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown,
boolean noMarginHtml,
boolean isDhtml,
int charWidth,
int charHeight,
boolean noMarginPdf,
boolean noMarginPs,
boolean noMarginRtf,
boolean isSimPrintMode,
int isCompressImage,
boolean isXMLMultiFiles,
boolean isOnlyData,
boolean isQuoteMark,
boolean hasHeadFoot,
boolean isGifTrans,
boolean bTxtCompress,
boolean bExportLocal,
int WordWrapExecl,
java.lang.String xsdFileName,
boolean excel2000,
boolean isToc,
boolean isDrilldown,
int htmlResolution,
boolean forWindows,
int overflow,
boolean hasShapes,
boolean isCsv,
boolean isTab)
Deprecated. As of version 6, replaced by exportVersionResultEx(String, String, Hashtable, boolean). |
static boolean[] |
exportVersionResult(java.lang.String rptURL,
java.lang.String versionResult,
java.lang.String rstFile,
java.lang.String htmlFile,
java.lang.String pdfFile,
java.lang.String txtFile,
java.lang.String excelFile,
java.lang.String psFile,
java.lang.String rtfFile,
java.lang.String xmlFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown,
boolean noMarginHtml,
int charWidth,
int charHeight,
boolean noMarginPdf,
boolean noMarginPs,
boolean noMarginRtf,
boolean isOnlyData)
Deprecated. As of version 6, replaced by exportVersionResultEx(String, String, Hashtable, boolean). |
static boolean[] |
exportVersionResult(java.lang.String rptURL,
java.lang.String versionResult,
java.lang.String rstFile,
java.lang.String htmlFile,
java.lang.String pdfFile,
java.lang.String txtFile,
java.lang.String excelFile,
java.lang.String psFile,
java.lang.String rtfFile,
java.lang.String xmlFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown,
boolean noMarginHtml,
int charWidth,
int charHeight,
boolean noMarginPdf,
boolean noMarginPs,
boolean noMarginRtf,
boolean isXMLMultiFiles,
boolean isOnlyData)
Deprecated. As of JREntViewer version 5.0, replaced by exportVersionResult(String rptURL,
String versionResult,
String rstFile,
String htmlFile,
String pdfFile,
String txtFile,
String excelFile,
String psFile,
String rtfFile,
String xmlFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown,
boolean noMarginHtml,
int charWidth,
int charHeight,
boolean noMarginPdf,
boolean noMarginPs,
boolean noMarginRtf,
boolean isOnlyData). |
static boolean[] |
exportVersionResult(java.lang.String rptURL,
java.lang.String versionResult,
java.lang.String rstFile,
java.lang.String htmlFile,
java.lang.String pdfFile,
java.lang.String txtFile,
java.lang.String excelFile,
java.lang.String psFile,
java.lang.String rtfFile,
java.lang.String xmlFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown,
boolean noMarginHtml,
int charWidth,
int charHeight,
boolean noMarginPdf,
boolean noMarginPs,
boolean noMarginRtf,
boolean isSimPrintMode,
int isCompressImage,
boolean isOnlyData,
boolean isQuoteMark,
boolean hasHeadFoot)
Deprecated. As of version 6, replaced by exportVersionResultEx(String, String, Hashtable, boolean). |
static boolean[] |
exportVersionResult(java.lang.String rptURL,
java.lang.String versionResult,
java.lang.String rstFile,
java.lang.String htmlFile,
java.lang.String pdfFile,
java.lang.String txtFile,
java.lang.String excelFile,
java.lang.String psFile,
java.lang.String rtfFile,
java.lang.String xmlFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown,
boolean noMarginHtml,
int charWidth,
int charHeight,
boolean noMarginPdf,
boolean noMarginPs,
boolean noMarginRtf,
boolean isSimPrintMode,
int isCompressImage,
boolean isXMLMultiFiles,
boolean isOnlyData,
boolean isQuoteMark,
boolean hasHeadFoot)
Deprecated. As of JREntViewer version 5.0, replaced by exportVersionResult(String rptURL,
String versionResult,
String rstFile,
String htmlFile,
String pdfFile,
String txtFile,
String excelFile,
String psFile,
String rtfFile,
String xmlFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown,
boolean noMarginHtml,
int charWidth,
int charHeight,
boolean noMarginPdf,
boolean noMarginPs,
boolean noMarginRtf,
boolean isSimPrintMode,
int isCompressImage,
boolean isOnlyData,
boolean isQuoteMark,
boolean hasHeadFoot). |
static boolean[] |
exportVersionResult(java.lang.String rptURL,
java.lang.String versionResult,
java.lang.String rstFile,
java.lang.String htmlFile,
java.lang.String pdfFile,
java.lang.String txtFile,
java.lang.String excelFile,
java.lang.String psFile,
java.lang.String rtfFile,
java.lang.String xmlFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown,
boolean noMarginHtml,
int charWidth,
int charHeight,
boolean noMarginPdf,
boolean noMarginPs,
boolean noMarginRtf,
boolean isSimPrintMode,
int isCompressImage,
boolean isXMLMultiFiles,
boolean isOnlyData,
boolean isQuoteMark,
boolean hasHeadFoot,
boolean isGifTrans)
Deprecated. As of JREntViewer version 5.0, |
static boolean[] |
exportVersionResultEx(java.lang.String rptURL,
java.lang.String versionResult,
java.util.Hashtable exportProps,
boolean bExportLocal)
Exporting a version result to JReport result, HTML, PDF, TEXT, Excel, PostScript, RTF and XML. |
static boolean[] |
getActionEditPermissions(java.awt.Frame frame,
java.lang.String rptURL)
Get an array, indicating which Permissions can be edit on SecurityWebAdaptor. |
static java.util.Vector |
getActive(java.awt.Frame frame,
java.lang.String jrsvrURL)
Returns the active task from a report server. |
static java.lang.String[] |
getAllCoditionTrggersName(java.awt.Frame frame,
java.lang.String rptURL)
Get all triggers' name |
static java.util.Vector |
getAllRoles(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String user)
Return all roles. |
static java.util.Vector |
getAllUsers(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String user)
Return all users. |
static java.util.Vector |
getAvailableLanguages(java.awt.Frame frame,
java.lang.String rptURL)
Returns the available languages of the report from the report server. |
static java.util.Vector |
getAvailableLanguages(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String user)
Returns the available languages of the report from the report server. |
static java.util.Vector |
getAvailableLanguages(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String user,
java.util.Hashtable rptProp)
Returns the available languages of the report from the report server. |
static java.util.Vector |
getBooleanNames(java.awt.Frame frame,
java.lang.String rptURL)
Returns the mapping names that have boolean value of a report. |
static java.util.Vector |
getBooleanNames(java.awt.Frame frame,
java.lang.String rptURL,
java.util.Hashtable rptProp)
Returns the mapping names that have boolean value of a report. |
static java.lang.String |
getCatalogOfReport(java.awt.Frame frame,
java.lang.String rptUrl)
Returns the catalog of a report. |
static java.util.Vector |
getCatalogVersions(java.awt.Frame frame,
java.lang.String reportURL,
java.lang.String cat)
Returns the catalog versions of a catalog in a report server. |
static java.util.Vector |
getCompleted(java.awt.Frame frame,
java.lang.String jrsvrURL)
Returns the completed tasks from a report server. |
static java.util.Hashtable |
getCompletedPublishRecords(java.awt.Frame frame,
java.lang.String jrsvrURL,
java.lang.String recordID)
Returns the completed publish records from a report server. |
static java.net.URLConnection |
getConnection(java.net.URL url)
Returns an unconnected URLConnection object by a
java.net.URL object. |
static java.lang.String |
getCurrentUser(java.awt.Frame frame,
java.lang.String jrsvrURL)
Returns the current user ID of the session at server side. |
static boolean[] |
getEnableDisplayPermissions(java.awt.Frame frame,
java.lang.String rptURL)
Get an array, indicating which Permissions can be displayed on sever resource. |
static java.lang.String |
getExportScripts(java.awt.Frame frame,
java.lang.String jrsvrURL,
java.lang.String[] taskIds)
Get an string, indicating the generate script of the specified tasks. |
static java.io.InputStream |
getFoldersInputStream(java.awt.Frame frame,
java.lang.String svrURL)
Gets the InputStream of folder resource list. |
static java.util.Hashtable[] |
getInheritedPermissions(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String path,
int verNumber)
Return get permissions hash table of the parent resource. |
static java.lang.String |
getJDKVersionOfServer(java.awt.Frame frame,
java.lang.String rptURL)
Returns JDK version of the server. |
static boolean |
getKeepAlive()
If set the request header "Connection" to "Keep-Alive" or "Close" for all of HTTP requests. |
static int |
getLatestVersionNumber(java.awt.Frame frame,
java.lang.String url,
java.lang.String path)
Get the latest version number of specific resource. |
static int |
getMaxVersionLimit(java.awt.Frame frame,
java.lang.String reportURL,
java.lang.String user)
Deprecated. As of version 6, replaced by getResultVersionLimit() |
static java.util.Hashtable |
getMediaTray(java.awt.Frame frame,
java.lang.String rptURL)
Returns a hashtable of media tray. |
static NodeInfo |
getNodeInfo(java.awt.Frame frame,
java.lang.String parentUrl,
java.lang.String nodeName)
Returns information of a resource node from a report server to test if the node is a catalog. |
static NodeProp |
getNodeProperties(java.awt.Frame frame,
java.lang.String reportURL,
java.lang.String name)
Returns the catalog versions of a catalog in a report server. |
static NodeInfo |
getNodeReferInfo(java.awt.Frame frame,
java.lang.String parentUrl,
java.lang.String nodeName)
Deprecated. As of version 6, replaced by getNodeInfo(); |
static java.lang.String[] |
getPaperList(java.awt.Frame frame,
java.lang.String rptURL)
Get all print size paper list. |
static java.util.Vector[] |
getParamDescAndGrpCols(java.awt.Frame frame,
java.lang.String rptURL)
Returns the parameters description, the grouped columns of the report and order of parameter names from report server. |
static java.util.Vector[] |
getParamDescAndGrpCols(java.awt.Frame frame,
java.lang.String rptURL,
java.util.Hashtable rptProp)
Returns the parameters description, the grouped columns of the report and order of parameter names from report server. |
static java.io.InputStream |
getParamDescStream(java.awt.Frame frame,
java.lang.String rptURL)
Returns the input stream of the parameters description of a report from the report server. |
static java.io.InputStream |
getParamDescStream(java.awt.Frame frame,
java.lang.String rptURL,
java.util.Hashtable rptProp)
Returns the input stream of the parameters description of a report from the report server. |
static java.util.Vector |
getParamDescVct(java.awt.Frame frame,
java.lang.String rptURL)
Returns the parameters description of the report from the report server. |
static java.util.Vector |
getParamDescVct(java.awt.Frame frame,
java.lang.String rptURL,
java.util.Hashtable rptProp)
Returns the parameters description of the report from the report server. |
static java.util.Hashtable |
getParamValues(java.awt.Frame frame,
java.lang.String rptURL)
Returns the parameter values by bringing up a parameter dialog box if the report has parameters. |
static java.util.Hashtable |
getParamValues(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String paramValues)
Deprecated. As of JREntViewer version 3.0, |
static java.util.Hashtable |
getParamValues(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String paramValues,
java.util.Locale locale)
Deprecated. As of JREntViewer version 3.0, |
static java.util.Hashtable |
getParamValues(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String paramValues,
java.util.Locale locale,
java.util.Hashtable rptProp)
Returns the parameter values by a string of parameter values. |
static java.util.Vector |
getParamVector(java.awt.Frame frame,
java.lang.String rptURL)
Returns the Vector of jet.cs.Param objects by bringing up
a parameter dialog box if the report has parameters. |
static java.util.Vector |
getParamVector(java.awt.Frame frame,
java.lang.String rptURL,
java.util.Locale locale)
Returns the Vector of jet.cs.Param objects by bringing up
a parameter dialog box if the report has parameters. |
static java.util.Vector |
getParamVector(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String paramValues)
Deprecated. As of JREntViewer version 3.0, replaced by getParamVector(Frame frame, String rptURL). |
static java.util.Vector |
getParamVector(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String paramValues,
java.util.Locale locale)
Deprecated. As of JREntViewer version 3.0, replaced by getParamVector(Frame frame, String rptURL). |
static java.util.Vector |
getParamVector(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String paramValues,
java.util.Locale locale,
java.util.Hashtable rptProp)
Returns the Vector of jet.cs.Param objects by a string of
parameter values. |
static java.util.Properties[] |
getParseScrips(java.awt.Frame frame,
java.lang.String jrsvrURL,
java.lang.String scripts)
Get an array, indicating the result with parse scripts. |
static java.lang.String |
getPassword()
Returns the user password. |
static java.util.Hashtable[] |
getPermissions(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String path,
int verNumber)
Get defined permissions of users that attached to specific path |
static java.util.Vector |
getPrintersOfServer(java.awt.Frame frame,
java.lang.String rptURL)
Returns printer names of the server. |
static java.lang.String |
getProxyHost()
Returns the proxy host. |
static java.lang.String |
getProxyPort()
Returns the proxy port. |
static java.lang.String |
getRealPath(java.awt.Frame frame,
java.lang.String url,
java.lang.String resName,
int resVersion,
int resType)
|
static java.util.Vector |
getReferGroups(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String user)
Return refer groups. |
static java.util.Vector |
getReferRoles(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String user)
Return refer roles. |
static java.util.Vector |
getReferUsers(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String user)
Return refer users. |
static java.util.Vector |
getReports(java.awt.Frame frame,
java.lang.String jrsvrURL,
java.lang.String cat)
Returns the name of reports of a catalog from a report server. |
static java.util.Vector |
getReportSheets(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String user,
java.util.Hashtable rptProp)
Returns report sheet info of the report from the report server. |
static java.util.Vector |
getReportSheetsFromRst(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String rst,
java.lang.String user)
Returns report sheet info of the rst from the report server. |
static java.util.Vector |
getReportVersions(java.awt.Frame frame,
java.lang.String reportURL,
java.lang.String rpt)
Returns the report versions of a report in a report server. |
static ResourcePathInfo |
getResourcePathInfo(java.awt.Frame frame,
java.lang.String url)
Returns the path information of a resource in a report server. |
static java.util.Vector |
getResultDocVersions(java.awt.Frame frame,
java.lang.String reportURL,
java.lang.String rst)
Returns the result doc versions of a result in a report server. |
static int |
getResultMaxVersionLimit(java.awt.Frame frame,
java.lang.String reportURL,
java.lang.String user)
Returns the max result version limit of a report of a catalog from a report server. |
static int |
getResultMaxVersionLimit(java.awt.Frame frame,
java.lang.String reportURL,
java.lang.String user,
java.util.Hashtable ht)
Returns the max result version limit of a report of a catalog from a report server. |
static java.util.Vector |
getResultVersions(java.awt.Frame frame,
java.lang.String reportURL)
Deprecated. As of version 6, replaced by getResultVersions(Frame frame, String url, String report) |
static java.util.Vector |
getResultVersions(java.awt.Frame frame,
java.lang.String reportURL,
java.lang.String rpt)
Returns the result versions of a report in a report server. |
static java.util.Vector |
getScheduled(java.awt.Frame frame,
java.lang.String jrsvrURL)
Returns the scheduled tasks from a report server. |
static java.util.Vector |
getScheduleFiles(java.awt.Frame frame,
java.lang.String jrsvrURL)
Deprecated. |
static java.io.InputStream |
getSelectedFolderComment(java.awt.Frame frame,
java.lang.String svrURL)
Gets the InputStream of the folder's files list. |
static java.lang.String |
getServletPath(java.awt.Frame frame,
java.lang.String url)
Returns the servlet path of a JRServlet. |
static int |
getSocketTimeout()
returns the socket timeout in seconds. |
static boolean |
getSSL()
Gets current SSL status |
static java.util.Vector |
getStyleGroupDisplayNames(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String user)
Returns the available style groups of the report from the report server. |
static java.util.Vector |
getStyleGroupDisplayNames(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String user,
java.util.Hashtable rptProp)
Returns the available style groups of the report from the report server. |
static java.util.Vector |
getSubFileDirInfo(java.awt.Frame frame,
java.lang.String jrsvrURL,
java.lang.String path)
Deprecated. As of version 6, replaced by getSubNodesInfo(); |
static java.util.Vector |
getSubNodesInfo(java.awt.Frame frame,
java.lang.String jrsvrURL,
java.lang.String path)
Gets the child nodes information of a resource node from a report server. |
static java.lang.String[] |
getSupportedEncodingNames()
Gets supported encoding names(same to java ecodings). |
static java.io.InputStream |
getTempResultInputStream(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String tempResult)
Gets the InputStream of temporary result. |
static java.io.InputStream |
getTempResultInputStream(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String tempResult,
int timeout)
Gets the InputStream of temporary result. |
static java.lang.String |
getUser()
Returns the user ID of the report server at this client end. |
static java.util.Hashtable |
getVersionProperties(java.awt.Frame frame,
java.lang.String url,
java.util.Hashtable ht)
Gets the Hashtable of version properties. |
static boolean |
hasPageSecurity(java.awt.Frame frame,
java.lang.String rptUrl)
Checks if the report has page level security. |
static boolean |
hasPageSecurity(java.awt.Frame frame,
java.lang.String rptUrl,
java.lang.String rptName,
java.lang.String catName)
Checks if the report has page level security. |
static boolean |
hasPermissionOk(java.awt.Frame frame,
java.lang.String rptUrl,
java.lang.String catName,
java.lang.String repName)
Test if the user has the permission of the action for the resource in the server. |
static boolean |
hasResultFiles(java.awt.Frame frame,
java.lang.String svrURL,
java.lang.String rptPath,
java.lang.String versionNum,
java.lang.String suffix,
java.lang.String restorePath)
|
static boolean |
ifUsePostAsDefaultMethod()
If use the "POST" as the default HTTP method to connect servers. |
static java.lang.String |
importScriptTask(java.io.File fileStr,
java.lang.String jrsvrURL)
submit a report or a batch of reports by import a file |
static void |
importTasks(java.lang.String jrsvrURL,
java.lang.String fileName)
Deprecated. |
static boolean |
isAdminUser(java.awt.Frame frame,
java.lang.String url,
java.lang.String user)
Gets a boolean value. |
static boolean |
isCatalogExits(java.awt.Frame frame,
java.lang.String jrsvrURL,
java.lang.String cat)
Tests if a catalog exists in a report server. |
static boolean |
isEnableDuration(java.awt.Frame frame,
java.lang.String url)
Gets a boolean value. |
static boolean |
IsEnableDynamicResource(java.awt.Frame frame,
java.lang.String rptURL)
Tell whether resource from real path is enabled |
static boolean |
isNoBurstRpt(java.awt.Frame frame,
java.lang.String url,
java.lang.String user,
java.util.Hashtable rptProp)
|
static boolean |
isNoLoginDialog()
Test if the login dialog pops up when the user is unauthorized to access the server. |
static boolean |
isOnlyContainBurstRpt(java.awt.Frame frame,
java.lang.String url,
java.lang.String user,
java.lang.String catalog,
java.lang.String rptName)
|
static boolean |
isPromptTaskQueueFull(java.awt.Frame frame,
java.lang.String jrsvrURL)
return whether enable prompt message when task queue is full. |
static boolean |
isSplitPDF(java.awt.Frame frame,
java.lang.String jrsvrURL)
Judge if the "Split PDF" option is applied in scheduling a report set result to e-mail in PDF file attachment. |
static boolean |
isTaskQueueFull(java.awt.Frame frame,
java.lang.String jrsvrURL)
use default ondemand task priority to check whether task queue is full |
static boolean |
isTempResultReady(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String tempResult)
Tests if the temporary result on the server side is ready. |
static boolean |
isWaitUser(java.lang.String jrsvrURL)
Deprecated. |
static void |
login(java.awt.Frame frame,
java.lang.String jrsvrURL)
Login to the report server jrsvrURL. |
static void |
login(java.awt.Frame frame,
java.lang.String jrsvrURL,
java.lang.String user,
java.lang.String password)
Directly login to the report server jrsvrURL using the user ID and the password. |
static void |
logout(java.lang.String jrsvrURL)
Logout from the report server jrsvrURL. |
static java.lang.String |
makeViewTempResultURL(java.lang.String rptURL,
java.lang.String rst)
Makes a URL string to view a temp result of a report. |
static java.lang.String |
makeViewTempResultURL(java.lang.String rptURL,
java.lang.String sheet,
java.lang.String rst)
Makes a URL string to view a temp result of a report. |
static java.lang.String |
makeViewVersionURL(java.lang.String rptUrl,
java.lang.String versionResult)
Makes a URL string to view a result version of a report. |
static java.lang.String |
makeViewVersionURL(java.lang.String rptUrl,
java.lang.String versionResult,
java.lang.String sheet)
Makes a URL string to view a result version of a report. |
static java.net.URLConnection |
openConnection(java.awt.Frame frame,
java.lang.String strURL)
Returns a connected URLConnection object that represents a
connection to the remote report server referred to the URL string. |
static java.net.URLConnection |
openConnection(java.awt.Frame frame,
java.net.URL url)
Returns a connected URLConnection object that represents a
connection to the remote report server referred to the URL. |
static java.net.URLConnection |
openConnection(java.awt.Frame frame,
java.net.URLConnection uc)
Returns a connected URLConnection object that represents a
connection to the remote report server referred to the unconnected
URLConnection object. |
static java.net.URLConnection |
openConnection(java.awt.Frame frame,
java.net.URLConnection uc,
boolean retryOldCredential)
Returns a connected URLConnection object that represents a
connection to the remote report server referred to the unconnected
URLConnection object. |
static void |
removeResource(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String name)
Remove specified resource in a report server. |
static java.lang.String |
runTask(java.awt.Frame frame,
java.lang.String jrsvrURL,
java.util.Hashtable theTask)
Run a task immediately and return the completed task ID. |
static void |
saveResourceProp(java.awt.Frame frame,
java.lang.String rptURL,
java.util.Hashtable resProp)
Save the properties of the resource. |
static void |
saveVersionProperties(java.awt.Frame frame,
java.lang.String url,
java.util.Hashtable ht)
for saving the properties of the version. |
static java.lang.String |
sendCmdRunAndView(java.awt.Frame frame,
java.lang.String rptURL,
java.util.Hashtable paramValues)
Deprecated. As of version 6, replaced by sendCmdRunAndViewEx(Frame, String, Hashtable). |
static java.lang.String |
sendCmdRunAndView(java.awt.Frame frame,
java.lang.String rptURL,
java.util.Hashtable paramValues,
java.lang.String wherePortion,
java.lang.String namedWherePortion)
Deprecated. As of version 6, replaced by sendCmdRunAndViewEx(Frame, String, Hashtable). |
static java.lang.String |
sendCmdRunAndView(java.awt.Frame frame,
java.lang.String rptURL,
java.util.Hashtable paramValues,
java.lang.String wherePortion,
java.lang.String namedWherePortion,
java.lang.String dbUser,
java.lang.String dbPassword)
Deprecated. As of version 6, replaced by sendCmdRunAndViewEx(Frame, String, Hashtable). |
static java.lang.String |
sendCmdRunAndView(java.awt.Frame frame,
java.lang.String rptURL,
java.util.Hashtable paramValues,
java.lang.String wherePortion,
java.lang.String namedWherePortion,
java.lang.String whereClause,
java.lang.String dbUser,
java.lang.String dbPassword)
Deprecated. As of version 6, replaced by sendCmdRunAndViewEx(Frame, String, Hashtable). |
static java.lang.String |
sendCmdRunAndView(java.awt.Frame frame,
java.lang.String rptURL,
java.util.Hashtable paramValues,
java.lang.String wherePortion,
java.lang.String namedWherePortion,
java.lang.String whereClause,
java.lang.String dbUser,
java.lang.String dbPassword,
java.lang.String rptLanguage,
java.lang.String rptEncoding)
Deprecated. As of version 6, replaced by sendCmdRunAndViewEx(Frame, String, Hashtable). |
static java.lang.String |
sendCmdRunAndView(java.awt.Frame frame,
java.lang.String rptURL,
java.util.Hashtable paramValues,
java.lang.String wherePortion,
java.lang.String namedWherePortion,
java.lang.String whereClause,
java.lang.String dbUser,
java.lang.String dbPassword,
java.lang.String jdbcUrl,
java.lang.String jdbcDriver,
boolean jdbcGetSupportInfo,
java.lang.String rptLanguage,
java.lang.String rptEncoding)
Deprecated. As of version 6, replaced by sendCmdRunAndViewEx(Frame, String, Hashtable). |
static java.lang.String |
sendCmdRunAndView(java.awt.Frame frame,
java.lang.String rptURL,
java.util.Hashtable paramValues,
java.lang.String wherePortion,
java.lang.String namedWherePortion,
java.lang.String whereClause,
java.lang.String dbUser,
java.lang.String dbPassword,
java.lang.String jdbcUrl,
java.lang.String jdbcDriver,
boolean jdbcGetSupportInfo,
java.lang.String rptLanguage,
java.lang.String rptEncoding,
java.lang.String taskListenerClass)
Deprecated. As of version 6, replaced by sendCmdRunAndViewEx(Frame, String, Hashtable). |
static java.lang.String |
sendCmdRunAndView(java.awt.Frame frame,
java.lang.String rptURL,
java.util.Hashtable paramValues,
java.lang.String wherePortion,
java.lang.String namedWherePortion,
java.lang.String whereClause,
java.lang.String dbUser,
java.lang.String dbPassword,
java.lang.String jdbcUrl,
java.lang.String jdbcDriver,
boolean jdbcGetSupportInfo,
java.lang.String rptLanguage,
java.lang.String rptCountry,
java.lang.String rptEncoding,
java.lang.String taskListenerClass)
Deprecated. As of version 6, replaced by sendCmdRunAndViewEx(Frame, String, Hashtable). |
static java.lang.String |
sendCmdRunAndView(java.awt.Frame frame,
java.lang.String rptURL,
java.util.Hashtable paramValues,
java.lang.String wherePortion,
java.lang.String namedWherePortion,
java.lang.String whereClause,
java.lang.String dbUser,
java.lang.String dbPassword,
java.lang.String jdbcUrl,
java.lang.String jdbcDriver,
boolean jdbcGetSupportInfo,
java.lang.String rptLanguage,
java.lang.String rptCountry,
java.lang.String rptEncoding,
java.lang.String rptStyle,
java.lang.String taskListenerClass)
Deprecated. As of version 6, replaced by sendCmdRunAndViewEx(Frame, String, Hashtable). |
static java.lang.String |
sendCmdRunAndView(java.awt.Frame frame,
java.lang.String rptURL,
java.util.Hashtable paramValues,
java.lang.String wherePortion,
java.lang.String namedWherePortion,
java.lang.String whereClause,
java.lang.String dbUser,
java.lang.String dbPassword,
java.lang.String jdbcUrl,
java.lang.String jdbcDriver,
java.lang.String rptLanguage,
java.lang.String rptEncoding)
Deprecated. As of version 6, replaced by sendCmdRunAndViewEx(Frame, String, Hashtable). |
static java.lang.String |
sendCmdRunAndView(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String paramValues,
java.lang.String wherePortion,
java.lang.String namedWherePortion,
java.lang.String whereClause,
java.lang.String dbUser,
java.lang.String dbPassword)
Deprecated. As of version 6, replaced by sendCmdRunAndViewEx(Frame, String, Hashtable). |
static java.lang.String |
sendCmdRunAndView(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String paramValues,
java.lang.String wherePortion,
java.lang.String namedWherePortion,
java.lang.String whereClause,
java.lang.String dbUser,
java.lang.String dbPassword,
java.lang.String rptLanguage,
java.lang.String rptEncoding)
Deprecated. As of version 6, replaced by sendCmdRunAndViewEx(Frame, String, Hashtable). |
static java.lang.String |
sendCmdRunAndView(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String paramValues,
java.lang.String wherePortion,
java.lang.String namedWherePortion,
java.lang.String whereClause,
java.lang.String dbUser,
java.lang.String dbPassword,
java.lang.String jdbcUrl,
java.lang.String jdbcDriver,
boolean jdbcGetSupportInfo,
java.lang.String rptLanguage,
java.lang.String rptEncoding)
Deprecated. As of version 6, replaced by sendCmdRunAndViewEx(Frame, String, Hashtable). |
static java.lang.String |
sendCmdRunAndView(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String paramValues,
java.lang.String wherePortion,
java.lang.String namedWherePortion,
java.lang.String whereClause,
java.lang.String dbUser,
java.lang.String dbPassword,
java.lang.String jdbcUrl,
java.lang.String jdbcDriver,
boolean jdbcGetSupportInfo,
java.lang.String rptLanguage,
java.lang.String rptEncoding,
java.lang.String taskListenerClass)
Deprecated. As of version 6, replaced by sendCmdRunAndViewEx(Frame, String, Hashtable). |
static java.lang.String |
sendCmdRunAndView(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String paramValues,
java.lang.String wherePortion,
java.lang.String namedWherePortion,
java.lang.String whereClause,
java.lang.String dbUser,
java.lang.String dbPassword,
java.lang.String jdbcUrl,
java.lang.String jdbcDriver,
boolean jdbcGetSupportInfo,
java.lang.String rptLanguage,
java.lang.String rptCountry,
java.lang.String rptEncoding,
java.lang.String taskListenerClass)
Deprecated. As of version 6, replaced by sendCmdRunAndViewEx(Frame, String, Hashtable). |
static java.lang.String |
sendCmdRunAndView(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String paramValues,
java.lang.String wherePortion,
java.lang.String namedWherePortion,
java.lang.String whereClause,
java.lang.String dbUser,
java.lang.String dbPassword,
java.lang.String jdbcUrl,
java.lang.String jdbcDriver,
boolean jdbcGetSupportInfo,
java.lang.String rptLanguage,
java.lang.String rptCountry,
java.lang.String rptEncoding,
java.lang.String rptStyle,
java.lang.String taskListenerClass)
Deprecated. As of version 6, replaced by sendCmdRunAndViewEx(Frame, String, Hashtable). |
static java.lang.String |
sendCmdRunAndView(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String paramValues,
java.lang.String wherePortion,
java.lang.String namedWherePortion,
java.lang.String whereClause,
java.lang.String dbUser,
java.lang.String dbPassword,
java.lang.String jdbcUrl,
java.lang.String jdbcDriver,
java.lang.String rptLanguage,
java.lang.String rptEncoding)
Deprecated. As of version 6, replaced by sendCmdRunAndViewEx(Frame, String, Hashtable). |
static java.lang.String |
sendCmdRunAndViewEx(java.awt.Frame frame,
java.lang.String rptURL,
java.util.Hashtable taskProps)
Sends the command "Run and View Report" to the report server and returns the temporary result name. |
static void |
setJDBCConnection(java.awt.Frame frame,
java.lang.String catURL,
java.lang.String jdbcURL,
java.lang.String dbUser,
java.lang.String dbPassword,
java.lang.String jdbcDriver)
Deprecated. Replaced by properties jrs.jdbc_url and jrs.jdbc_driver in sendCmdRunAndView(...). |
static void |
setKeepAlive(boolean isKeepAlive)
Sets the request header "Connection" to "Keep-Alive" or "Close" for all of HTTP requests. |
static boolean |
setLogFile(java.lang.String fileName)
Set the log file. |
static void |
setMaxVersionLimit(java.awt.Frame frame,
java.lang.String reportURL,
boolean needAmount,
int amount)
Deprecated. As of version 6, replaced by setResultMaxVersionLimit() |
static void |
setNoLoginDialog(boolean isNoLoginDialog)
Set whether to pop up the login dialog when the user is unauthorized to access the server. |
static void |
setPassword(java.lang.String password)
Sets the user password. |
static void |
setProxy(java.lang.String proxyHost,
java.lang.String proxyPort)
sets proxy for this client. |
static void |
setProxyPassword(java.lang.String password)
Sets the user password for a proxy server. |
static void |
setProxyUser(java.lang.String user)
Sets the user ID for a proxy server. |
static void |
setResultMaxVersionLimit(java.awt.Frame frame,
java.lang.String reportURL,
boolean needAmount,
int amount)
Submit the max result version limit of a report of a catalog to a report server. |
static void |
setResultMaxVersionLimit(java.awt.Frame frame,
java.lang.String reportURL,
boolean needAmount,
int amount,
java.util.Hashtable ht)
Submit the max result version limit of a report of a catalog to a report server. |
static void |
setShowInfoLevel(int level)
Enable/disable outputing the error and debug message. |
static void |
setSocketTimeout(int socketTimeout)
sets the socket timeout in seconds. |
static boolean |
setSSL(boolean SSL)
Set whether use SSL on current connection |
static void |
setUser(java.lang.String user)
Sets the user ID of the report server at this client end. |
static void |
stopActive(java.awt.Frame frame,
java.lang.String jrsvrURL,
java.lang.String taskID)
Stops an active task by the task ID from a report server. |
static java.lang.String |
submitTask(java.awt.Frame frame,
java.lang.String jrsvrURL,
java.util.Hashtable theTask)
Submits a scheduled task to a report server and returns the task ID. |
static java.lang.String[] |
submitTasks(java.awt.Frame frame,
java.lang.String jrsvrURL,
java.util.Properties[] tasks)
Get an array, indicating the submitted tasks. |
static void |
useGetAsDefaultMethod()
Use the "GET" as the default HTTP method to connect servers. |
static void |
usePostAsDefaultMethod()
Use the "POST" as the default HTTP method to connect servers. |
static void |
waitTempResultReady(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String tempResult)
Waits the temporary result on the server side ready. |
static void |
waitTempResultReady(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String tempResult,
int timeout)
Waits the temporary result on the server side ready. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int vOff
public static final int vDebug
public static final int vError
| Constructor Detail |
|---|
public JRClient()
| Method Detail |
|---|
public static void setShowInfoLevel(int level)
level - sets the debug level. For example: JRClient.vDebug |
JRClient.vError | JRClient.vOffpublic static boolean setLogFile(java.lang.String fileName)
fileName - sets the log file name
LogFileName specifies where the debug, error and other information will go. LogFileName contains both the path and the file name. If no path is specified, the current path is used. If no file name is specified, the file jreport.log is used.
public static boolean getKeepAlive()
public static void setKeepAlive(boolean isKeepAlive)
isKeepAlive - if set the request header "Connection" to "Keep-Alive" or
"Close" for all of HTTP requests.public static boolean ifUsePostAsDefaultMethod()
public static void useGetAsDefaultMethod()
public static void usePostAsDefaultMethod()
public static void close(java.net.URLConnection uc)
URLConnection. This method supports Keep-Alive
connections.
uc - the URLConnection object.
public static java.net.URLConnection openConnection(java.awt.Frame frame,
java.lang.String strURL)
throws java.net.MalformedURLException,
java.io.IOException
URLConnection object that represents a
connection to the remote report server referred to the URL string.
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).strURL - the URL string.
URLConnection to the URL string.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.URLConnection,
openConnection(java.awt.Frame, java.net.URL)
public static java.net.URLConnection openConnection(java.awt.Frame frame,
java.net.URL url)
throws java.io.IOException
URLConnection object that represents a
connection to the remote report server referred to the URL.
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).url - the URL.
URLConnection to the URL.
java.io.IOException - if an I/O exception occurs.URLConnection,
openConnection(java.awt.Frame, java.net.URLConnection)
public static java.net.URLConnection openConnection(java.awt.Frame frame,
java.net.URLConnection uc)
throws java.io.IOException
URLConnection object that represents a
connection to the remote report server referred to the unconnected
URLConnection object. This method calls
openConnection(Frame frame, URLConnection urlCon, boolean
retryOldCredential) with the parameter retryOldCredential is true.
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).uc - the unconnected URLConnection object. It is
created by the method openConnection() of java.net.URL.
URLConnection.
java.io.IOException - if an I/O exception occurs.URLConnection
public static java.net.URLConnection openConnection(java.awt.Frame frame,
java.net.URLConnection uc,
boolean retryOldCredential)
throws java.io.IOException
URLConnection object that represents a
connection to the remote report server referred to the unconnected
URLConnection object.
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).uc - the unconnected URLConnection object. It is
created by the method openConnection() of java.net.URL.retryOldCredential - if retrying the old credential at first when a Unauthorized
response is received.
URLConnection.
java.io.IOException - if an I/O exception occurs.URLConnection
public static java.lang.String getCurrentUser(java.awt.Frame frame,
java.lang.String jrsvrURL)
jrsvrURL - the URL string of the JRServlet. For examples:
http://jrserver:8888/ or http://server:8888/servlet/jrservlet/
public static java.lang.String getUser()
public static void setUser(java.lang.String user)
the - user ID of the report server at this client end.public static void setPassword(java.lang.String password)
the - user password.public static java.lang.String getPassword()
public static void setProxyUser(java.lang.String user)
the - user ID for a proxy server.public static void setProxyPassword(java.lang.String password)
the - user password for a proxy server.public static void setSocketTimeout(int socketTimeout)
socketTimeout - the socket timeout in seconds. Default is 0. 0 implies that
the option is disabled (i.e., timeout of infinity).public static int getSocketTimeout()
public static void setProxy(java.lang.String proxyHost,
java.lang.String proxyPort)
throws java.lang.Exception
proxyHost - the proxy host name or IP address. If it is null or an empty
string, it means that no proxy would be used.proxyPort - the proxy port.
java.lang.Exception - if an exception occurs.public static java.lang.String getProxyHost()
public static java.lang.String getProxyPort()
public static java.net.URLConnection getConnection(java.net.URL url)
throws java.io.IOException
URLConnection object by a
java.net.URL object. and the User-Agent header field has to be set in
this URLConnection object. This method is similar to
java.net.URL#openConnection().
url - the URL.
URLConnection to the URL.
java.io.IOException - if an I/O exception occurs.
public static void login(java.awt.Frame frame,
java.lang.String jrsvrURL)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).jrsvrURL - the URL string of the JRServlet. For examples:
http://jrserver:8888/ or http://server:8888/servlet/jrservlet/
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static void login(java.awt.Frame frame,
java.lang.String jrsvrURL,
java.lang.String user,
java.lang.String password)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).jrsvrURL - the URL string of the JRServlet. For example:
http://jrserver:8888/ or http://server:8888/servlet/jrservlet/user - the user ID of the report server at this client end.password - the user password.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static void logout(java.lang.String jrsvrURL)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
jrsvrURL - the URL string of the JRServlet. For example:
http://jrserver:8888/ or http://server:8888/servlet/jrservlet/
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static boolean isWaitUser(java.lang.String jrsvrURL)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
jrsvrURL - the URL string of the JRServlet. For example:
http://jrserver:8888/ or http://server:8888/servlet/jrservlet/
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException
JRResponseException
public static boolean isSplitPDF(java.awt.Frame frame,
java.lang.String jrsvrURL)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
jrsvrURL - the URL string of the JRServlet. For example:
http://jrserver:8888/ or http://server:8888/servlet/jrservlet/
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException
JRResponseException
public static java.util.Vector getScheduleFiles(java.awt.Frame frame,
java.lang.String jrsvrURL)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).jrsvrURL - the URL string of the JRServlet. For example:
http://jrserver:8888/ or http://server:8888/servlet/jrservlet/
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException
JRResponseException
public static void exportTasks(java.lang.String jrsvrURL,
java.lang.String fileName,
java.lang.String tasks)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
jrsvrURL - the URL string of the JRServlet. For example:
http://jrserver:8888/ or http://server:8888/servlet/jrservlet/fileName - the name which will save the scheduled tasks. the ext name is
schtasks - the taskid list which separated by ";"
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException
JRResponseException
public static void importTasks(java.lang.String jrsvrURL,
java.lang.String fileName)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
jrsvrURL - the URL string of the JRServlet. For example:
http://jrserver:8888/ or http://server:8888/servlet/jrservlet/fileName - the file name
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException
JRResponseException
public static java.lang.String importScriptTask(java.io.File fileStr,
java.lang.String jrsvrURL)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
fileStr - the file is imported . The file include all parameters for
submit tasks.jrsvrURL - the URL string of the JRServlet. For examples:
http://jrserver:8888/ or http://server:8888/servlet/jrservlet/
java.net.MalformedURLException
java.io.IOException
JRResponseException
public static boolean hasPermissionOk(java.awt.Frame frame,
java.lang.String rptUrl,
java.lang.String catName,
java.lang.String repName)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptUrl - the URL string of the JRServlet. For examples:
http://jrserver:8888/ or http://server:8888/servlet/jrservlet/catName - the catalog name. For example:/SampleReports/SampleReports.cat.repName - the report name. For example:
/SampleReports/SampleReports.cat/CustomerAnalysis.cls.
java.net.MalformedURLException
java.io.IOException
JRResponseException
public static void changePassword(java.awt.Frame frame,
java.lang.String jrsvrURL,
java.lang.String user,
java.lang.String pswd,
java.lang.String pswdNew,
java.lang.String pswdNewConfirm)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).jrsvrURL - the URL string of the JRServlet. For examples:
http://jrserver:8888/ or http://server:8888/servlet/jrservlet/user - the user ID whose password will be changed.pswd - the current password of the user.pswdNew - the new password of the user.pswdNewConfirm - the new password of the user to confirm. It should be the same
as the pswdNew.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static void deleteVersion(java.awt.Frame frame,
java.lang.String rptUrl,
java.lang.String versionID,
java.util.Properties ht)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
rptURL - the url string of the report in a report server. For example:
http://jrserver:8888/SampleReports/SampleReports.cat/CustomerAnalysis.clsversionID - the result version ID can be got from getVersionID() of
VersionRecord. The VersionRecord list of a report can be got
from the method getVersionList(...) of this class.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static void deleteRstVersion(java.awt.Frame frame,
java.lang.String rptUrl,
java.lang.String versionID,
java.lang.String rpt,
java.util.Properties ht)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
rptURL - the url string in a report server. For example:
http://jrserver:8888/versionID - the result version ID can be got from getVersionID() of
VersionRecord.rpt - the report name.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static void deleteRptVersion(java.awt.Frame frame,
java.lang.String rptUrl,
java.lang.String versionID,
java.lang.String rpt)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
rptURL - the url string in a report server. For example:
http://jrserver:8888/versionID - the result version ID can be got from getVersionID() of
VersionRecord.rpt - the report name.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static void deleteRptVersion(java.awt.Frame frame,
java.lang.String rptUrl,
java.lang.String versionID,
java.lang.String rpt,
java.util.Properties ht)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
java.net.MalformedURLException
java.io.IOException
JRResponseException
public static void deleteRstDocVersion(java.awt.Frame frame,
java.lang.String rptUrl,
java.lang.String versionID,
java.lang.String rst)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
rptURL - the url string in a report server. For example:
http://jrserver:8888/versionID - the result version ID can be got from getVersionID() of
VersionRecord.rst - the result name.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static void deleteCatVersion(java.awt.Frame frame,
java.lang.String rptUrl,
java.lang.String versionID,
java.lang.String cat,
java.util.Properties ht)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
rptURL - the url string in a report server. For example:
http://jrserver:8888/versionID - the result version ID can be got from getVersionID() of
VersionRecord.cat - the catalog name.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static void deleteTempResult(java.awt.Frame frame,
java.lang.String rptUrl,
java.lang.String rst)
rptURL - the url string of the report in a report server. For example:
http://jrserver:8888/SampleReports/SampleReports.cat/CustomerAnalysis.clsrst - the report result name in a report server. The result name is
returned by calling sendCmdRunAndView(...).
public static java.lang.String getCatalogOfReport(java.awt.Frame frame,
java.lang.String rptUrl)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.cls
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static java.lang.String getServletPath(java.awt.Frame frame,
java.lang.String url)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
url - the url string of an URL path to a report server. For example:
http://server:8888/servlet/jrservlet/ or
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.cls
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static ResourcePathInfo getResourcePathInfo(java.awt.Frame frame,
java.lang.String url)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
url - the url string of an URL path of resource in a report server.
It can be a report, catalog, directory or file etc. For
example: http://server:8888/servlet/jrservlet/ ,
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat
or
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.cls
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static void removeResource(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String name)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
rptURL - the url string in a report server. For example:
http://jrserver:8888/name - the resource name.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static java.util.Vector getAllUsers(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String user)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
rptURL - the url string in a report server. For example:
http://jrserver:8888/user - the user
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static java.util.Vector getReferRoles(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String user)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
rptURL - the url string in a report server. For example:
http://jrserver:8888/user - the user
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static java.util.Vector getReferGroups(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String user)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
rptURL - the url string in a report server. For example:
http://jrserver:8888/user - the user
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static java.util.Vector getReferUsers(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String user)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
rptURL - the url string in a report server. For example:
http://jrserver:8888/user - the user
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static java.util.Vector getAllRoles(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String user)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
rptURL - the url string in a report server. For example:
http://jrserver:8888/user - the user
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static void saveResourceProp(java.awt.Frame frame,
java.lang.String rptURL,
java.util.Hashtable resProp)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
rptURL - the url string in a report server. For example:
http://jrserver:8888/user - the userresProp - the properties of the resource.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static java.lang.String sendCmdRunAndView(java.awt.Frame frame,
java.lang.String rptURL,
java.util.Hashtable paramValues)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clsparamValues - the Hashtable that contains the parameter values of the
report. For each item in the Hashtable, the key is jrs.param$ +
PARAMETER_NAME, the value is the value of the paramter.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static java.lang.String sendCmdRunAndView(java.awt.Frame frame,
java.lang.String rptURL,
java.util.Hashtable paramValues,
java.lang.String wherePortion,
java.lang.String namedWherePortion)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clsparamValues - the Hashtable that contains the parameter values of the
report. For each item in the Hashtable, the key is jrs.param$ +
PARAMETER_NAME, the value is the value of the paramter.wherePortion - the WHERE Portion. The null value or empty string means that
no WHERE portion be used..namedWherePortion - the named WHERE Portion. The null value or empty string means
that no named WHERE portion be used.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static java.lang.String sendCmdRunAndView(java.awt.Frame frame,
java.lang.String rptURL,
java.util.Hashtable paramValues,
java.lang.String wherePortion,
java.lang.String namedWherePortion,
java.lang.String dbUser,
java.lang.String dbPassword)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clsparamValues - the Hashtable that contains the parameter values of the
report. For each item in the Hashtable, the key is jrs.param$ +
PARAMETER_NAME, the value is the value of the paramter.wherePortion - the WHERE Portion. The null value or empty string means that
no WHERE portion be used..namedWherePortion - the named WHERE Portion. The null value or empty string means
that no named WHERE portion be used.dbUser - the database user ID for running the report.dbPassword - the database passowrd for running the report.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static java.lang.String sendCmdRunAndView(java.awt.Frame frame,
java.lang.String rptURL,
java.util.Hashtable paramValues,
java.lang.String wherePortion,
java.lang.String namedWherePortion,
java.lang.String whereClause,
java.lang.String dbUser,
java.lang.String dbPassword)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clsparamValues - the Hashtable that contains the parameter values of the
report. For each item in the Hashtable, the key is jrs.param$ +
PARAMETER_NAME, the value is the value of the paramter.wherePortion - the WHERE Portion. The null value or empty string means that
no WHERE portion be used..namedWherePortion - the named WHERE Portion. The null value or empty string means
that no named WHERE portion be used.whereClause - the WHERE clause. Note: This parameter is not available at
present.dbUser - the database user ID for running the report.dbPassword - the database passowrd for running the report.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static java.lang.String sendCmdRunAndView(java.awt.Frame frame,
java.lang.String rptURL,
java.util.Hashtable paramValues,
java.lang.String wherePortion,
java.lang.String namedWherePortion,
java.lang.String whereClause,
java.lang.String dbUser,
java.lang.String dbPassword,
java.lang.String rptLanguage,
java.lang.String rptEncoding)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clsparamValues - the Hashtable that contains the parameter values of the
report. For each item in the Hashtable, the key is jrs.param$ +
PARAMETER_NAME, the value is the value of the paramter.wherePortion - the WHERE Portion. The null value or empty string means that
no WHERE portion be used..namedWherePortion - the named WHERE Portion. The null value or empty string means
that no named WHERE portion be used.whereClause - the WHERE clause. Note: This parameter is not available at
present.dbUser - the database user ID for running the report.dbPassword - the database passowrd for running the report.rptLanguage - the language for generating the report. Can use the method
JRCient.getAvailableLanguages(...) to get the available
languages of the report.rptEncoding - the encoding for generating the report. Can use the method
JRCient.getSupportedEncodingNames(...) to get the supported
encoding names(same to java ecodings).
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.getAvailableLanguages(Frame, String)
public static java.lang.String sendCmdRunAndView(java.awt.Frame frame,
java.lang.String rptURL,
java.util.Hashtable paramValues,
java.lang.String wherePortion,
java.lang.String namedWherePortion,
java.lang.String whereClause,
java.lang.String dbUser,
java.lang.String dbPassword,
java.lang.String jdbcUrl,
java.lang.String jdbcDriver,
java.lang.String rptLanguage,
java.lang.String rptEncoding)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clsparamValues - the Hashtable that contains the parameter values of the
report. For each item in the Hashtable, the key is jrs.param$ +
PARAMETER_NAME, the value is the value of the paramter.wherePortion - the WHERE Portion. The null value or empty string means that
no WHERE portion be used..namedWherePortion - the named WHERE Portion. The null value or empty string means
that no named WHERE portion be used.whereClause - the WHERE clause. Note: This parameter is not available at
present.dbUser - the database user ID for running the report.dbPassword - the database passowrd for running the report.jdbcUrl - the JDBC URL for running the report.jdbcDriver - the JDBC driver for running the report.rptLanguage - the language for generating the report. Can use the method
JRCient.getAvailableLanguages(...) to get the available
languages of the report.rptEncoding - the encoding for generating the report. Can use the method
JRCient.getSupportedEncodingNames(...) to get the supported
encoding names(same to java ecodings).
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.getAvailableLanguages(Frame, String)
public static java.lang.String sendCmdRunAndView(java.awt.Frame frame,
java.lang.String rptURL,
java.util.Hashtable paramValues,
java.lang.String wherePortion,
java.lang.String namedWherePortion,
java.lang.String whereClause,
java.lang.String dbUser,
java.lang.String dbPassword,
java.lang.String jdbcUrl,
java.lang.String jdbcDriver,
boolean jdbcGetSupportInfo,
java.lang.String rptLanguage,
java.lang.String rptEncoding)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clsparamValues - the Hashtable that contains the parameter values of the
report. For each item in the Hashtable, the key is jrs.param$ +
PARAMETER_NAME, the value is the value of the paramter.wherePortion - the WHERE Portion. The null value or empty string means that
no WHERE portion be used..namedWherePortion - the named WHERE Portion. The null value or empty string means
that no named WHERE portion be used.whereClause - the WHERE clause. Note: This parameter is not available at
present.dbUser - the database user ID for running the report.dbPassword - the database passowrd for running the report.jdbcUrl - the JDBC URL for running the report.jdbcDriver - the JDBC driver for running the report.jdbcGetSupportInfo - whether re-get the JDBC support info for the new JDBC setting.
Default value is "false".rptLanguage - the language for generating the report. Can use the method
JRCient.getAvailableLanguages(...) to get the available
languages of the report.rptEncoding - the encoding for generating the report. Can use the method
JRCient.getSupportedEncodingNames(...) to get the supported
encoding names(same to java ecodings).
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.getAvailableLanguages(Frame, String)
public static java.lang.String sendCmdRunAndView(java.awt.Frame frame,
java.lang.String rptURL,
java.util.Hashtable paramValues,
java.lang.String wherePortion,
java.lang.String namedWherePortion,
java.lang.String whereClause,
java.lang.String dbUser,
java.lang.String dbPassword,
java.lang.String jdbcUrl,
java.lang.String jdbcDriver,
boolean jdbcGetSupportInfo,
java.lang.String rptLanguage,
java.lang.String rptEncoding,
java.lang.String taskListenerClass)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clsparamValues - the Hashtable that contains the parameter values of the
report. For each item in the Hashtable, the key is jrs.param$ +
PARAMETER_NAME, the value is the value of the paramter.wherePortion - the WHERE Portion. The null value or empty string means that
no WHERE portion be used..namedWherePortion - the named WHERE Portion. The null value or empty string means
that no named WHERE portion be used.whereClause - the WHERE clause. Note: This parameter is not available at
present.dbUser - the database user ID for running the report.dbPassword - the database passowrd for running the report.jdbcUrl - the JDBC URL for running the report.jdbcDriver - the JDBC driver for running the report.jdbcGetSupportInfo - whether re-get the JDBC support info for the new JDBC setting.
Default value is "false".rptLanguage - the language for generating the report. Can use the method
JRCient.getAvailableLanguages(...) to get the available
languages of the report.rptEncoding - the encoding for generating the report. Can use the method
JRCient.getSupportedEncodingNames(...) to get the supported
encoding names(same to java ecodings).taskListenerClass - indicate the java class name that implements API TaskListener.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.getAvailableLanguages(Frame, String)
public static java.lang.String sendCmdRunAndView(java.awt.Frame frame,
java.lang.String rptURL,
java.util.Hashtable paramValues,
java.lang.String wherePortion,
java.lang.String namedWherePortion,
java.lang.String whereClause,
java.lang.String dbUser,
java.lang.String dbPassword,
java.lang.String jdbcUrl,
java.lang.String jdbcDriver,
boolean jdbcGetSupportInfo,
java.lang.String rptLanguage,
java.lang.String rptCountry,
java.lang.String rptEncoding,
java.lang.String taskListenerClass)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clsparamValues - the Hashtable that contains the parameter values of the
report. For each item in the Hashtable, the key is jrs.param$ +
PARAMETER_NAME, the value is the value of the paramter.wherePortion - the WHERE Portion. The null value or empty string means that
no WHERE portion be used..namedWherePortion - the named WHERE Portion. The null value or empty string means
that no named WHERE portion be used.whereClause - the WHERE clause. Note: This parameter is not available at
present.dbUser - the database user ID for running the report.dbPassword - the database passowrd for running the report.jdbcUrl - the JDBC URL for running the report.jdbcDriver - the JDBC driver for running the report.jdbcGetSupportInfo - whether re-get the JDBC support info for the new JDBC setting.
Default value is "false".rptLanguage - the language for generating the report. Can use the method
JRCient.getAvailableLanguages(...) to get the available
languages of the report.rptCountry - the country for generating the report. Can use the method
JRCient.getAvailableLanguages(...) to get the available
languages of the report.rptEncoding - the encoding for generating the report. Can use the method
JRCient.getSupportedEncodingNames(...) to get the supported
encoding names(same to java ecodings).taskListenerClass - indicate the java class name that implements API TaskListener.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.getAvailableLanguages(Frame, String)
public static java.lang.String sendCmdRunAndView(java.awt.Frame frame,
java.lang.String rptURL,
java.util.Hashtable paramValues,
java.lang.String wherePortion,
java.lang.String namedWherePortion,
java.lang.String whereClause,
java.lang.String dbUser,
java.lang.String dbPassword,
java.lang.String jdbcUrl,
java.lang.String jdbcDriver,
boolean jdbcGetSupportInfo,
java.lang.String rptLanguage,
java.lang.String rptCountry,
java.lang.String rptEncoding,
java.lang.String rptStyle,
java.lang.String taskListenerClass)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clsparamValues - the Hashtable that contains the parameter values of the
report. For each item in the Hashtable, the key is jrs.param$ +
PARAMETER_NAME, the value is the value of the paramter.wherePortion - the WHERE Portion. The null value or empty string means that
no WHERE portion be used..namedWherePortion - the named WHERE Portion. The null value or empty string means
that no named WHERE portion be used.whereClause - the WHERE clause. Note: This parameter is not available at
present.dbUser - the database user ID for running the report.dbPassword - the database passowrd for running the report.jdbcUrl - the JDBC URL for running the report.jdbcDriver - the JDBC driver for running the report.jdbcGetSupportInfo - whether re-get the JDBC support info for the new JDBC setting.
Default value is "false".rptLanguage - the language for generating the report. Can use the method
JRCient.getAvailableLanguages(...) to get the available
languages of the report.rptCountry - the country for generating the report. Can use the method
JRCient.getAvailableLanguages(...) to get the available
languages of the report.rptEncoding - the encoding for generating the report. Can use the method
JRCient.getSupportedEncodingNames(...) to get the supported
encoding names(same to java ecodings).rptStyle - the style for generating the report. Can use the method
JRCient.getStyleGroupDisplayNames(...) to get the supported
style group.taskListenerClass - indicate the java class name that implements API TaskListener.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.getAvailableLanguages(Frame, String)
public static java.lang.String sendCmdRunAndView(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String paramValues,
java.lang.String wherePortion,
java.lang.String namedWherePortion,
java.lang.String whereClause,
java.lang.String dbUser,
java.lang.String dbPassword)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clsparamValues - the escaped string of the parameter values of the report.
Format: PARAMTER_NAME=VALUE,PARAMTER_NAME=VALUE,... Examples:
"STARTDATE=1998-05-10,ENDDATE=1998-07-10" "PTODAY=May 21\,
1998,TERMSDAYS=30"wherePortion - the WHERE Portion. The null value or empty string means that
no WHERE portion be used..namedWherePortion - the named WHERE Portion. The null value or empty string means
that no named WHERE portion be used.whereClause - the WHERE clause. Note: This parameter is not available at
present.dbUser - the database user ID for running the report.dbPassword - the database passowrd for running the report.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static java.lang.String sendCmdRunAndView(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String paramValues,
java.lang.String wherePortion,
java.lang.String namedWherePortion,
java.lang.String whereClause,
java.lang.String dbUser,
java.lang.String dbPassword,
java.lang.String rptLanguage,
java.lang.String rptEncoding)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clsparamValues - the escaped string of the parameter values of the report.
Format: PARAMTER_NAME=VALUE,PARAMTER_NAME=VALUE,... Examples:
"STARTDATE=1998-05-10,ENDDATE=1998-07-10" "PTODAY=May 21\,
1998,TERMSDAYS=30"wherePortion - the WHERE Portion. The null value or empty string means that
no WHERE portion be used..namedWherePortion - the named WHERE Portion. The null value or empty string means
that no named WHERE portion be used.whereClause - the WHERE clause. Note: This parameter is not available at
present.dbUser - the database user ID for running the report.dbPassword - the database passowrd for running the report.rptLanguage - the the language for generating the report. Can use the method
JRCient.getAvailableLanguages(...) to get the available
languages of the report.rptEncoding - the encoding for generating the report. Can use the method
JRCient.getSupportedEncodingNames(...) to get the supported
encoding names(same to java ecodings).
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.getAvailableLanguages(Frame, String)
public static java.lang.String sendCmdRunAndView(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String paramValues,
java.lang.String wherePortion,
java.lang.String namedWherePortion,
java.lang.String whereClause,
java.lang.String dbUser,
java.lang.String dbPassword,
java.lang.String jdbcUrl,
java.lang.String jdbcDriver,
java.lang.String rptLanguage,
java.lang.String rptEncoding)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clsparamValues - the escaped string of the parameter values of the report.
Format: PARAMTER_NAME=VALUE,PARAMTER_NAME=VALUE,... Examples:
"STARTDATE=1998-05-10,ENDDATE=1998-07-10" "PTODAY=May 21\,
1998,TERMSDAYS=30"wherePortion - the WHERE Portion. The null value or empty string means that
no WHERE portion be used..namedWherePortion - the named WHERE Portion. The null value or empty string means
that no named WHERE portion be used.whereClause - the WHERE clause. Note: This parameter is not available at
present.dbUser - the database user ID for running the report.dbPassword - the database passowrd for running the report.jdbcUrl - the JDBC URL for running the report.jdbcDriver - the JDBC driver for running the report.rptLanguage - the the language for generating the report. Can use the method
JRCient.getAvailableLanguages(...) to get the available
languages of the report.rptEncoding - the encoding for generating the report. Can use the method
JRCient.getSupportedEncodingNames(...) to get the supported
encoding names(same to java ecodings).
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.getAvailableLanguages(Frame, String)
public static java.lang.String sendCmdRunAndView(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String paramValues,
java.lang.String wherePortion,
java.lang.String namedWherePortion,
java.lang.String whereClause,
java.lang.String dbUser,
java.lang.String dbPassword,
java.lang.String jdbcUrl,
java.lang.String jdbcDriver,
boolean jdbcGetSupportInfo,
java.lang.String rptLanguage,
java.lang.String rptEncoding)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clsparamValues - the escaped string of the parameter values of the report.
Format: PARAMTER_NAME=VALUE,PARAMTER_NAME=VALUE,... Examples:
"STARTDATE=1998-05-10,ENDDATE=1998-07-10" "PTODAY=May 21\,
1998,TERMSDAYS=30"wherePortion - the WHERE Portion. The null value or empty string means that
no WHERE portion be used..namedWherePortion - the named WHERE Portion. The null value or empty string means
that no named WHERE portion be used.whereClause - the WHERE clause. Note: This parameter is not available at
present.dbUser - the database user ID for running the report.dbPassword - the database passowrd for running the report.jdbcUrl - the JDBC URL for running the report.jdbcDriver - the JDBC driver for running the report.jdbcGetSupportInfo - whether re-get the JDBC support info for the new JDBC setting.
Default value is "false".rptLanguage - the the language for generating the report. Can use the method
JRCient.getAvailableLanguages(...) to get the available
languages of the report.rptEncoding - the encoding for generating the report. Can use the method
JRCient.getSupportedEncodingNames(...) to get the supported
encoding names(same to java ecodings).
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.getAvailableLanguages(Frame, String)
public static java.lang.String sendCmdRunAndView(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String paramValues,
java.lang.String wherePortion,
java.lang.String namedWherePortion,
java.lang.String whereClause,
java.lang.String dbUser,
java.lang.String dbPassword,
java.lang.String jdbcUrl,
java.lang.String jdbcDriver,
boolean jdbcGetSupportInfo,
java.lang.String rptLanguage,
java.lang.String rptEncoding,
java.lang.String taskListenerClass)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clsparamValues - the escaped string of the parameter values of the report.
Format: PARAMTER_NAME=VALUE,PARAMTER_NAME=VALUE,... Examples:
"STARTDATE=1998-05-10,ENDDATE=1998-07-10" "PTODAY=May 21\,
1998,TERMSDAYS=30"wherePortion - the WHERE Portion. The null value or empty string means that
no WHERE portion be used..namedWherePortion - the named WHERE Portion. The null value or empty string means
that no named WHERE portion be used.whereClause - the WHERE clause. Note: This parameter is not available at
present.dbUser - the database user ID for running the report.dbPassword - the database passowrd for running the report.jdbcUrl - the JDBC URL for running the report.jdbcDriver - the JDBC driver for running the report.jdbcGetSupportInfo - whether re-get the JDBC support info for the new JDBC setting.
Default value is "false".rptLanguage - the the language for generating the report. Can use the method
JRCient.getAvailableLanguages(...) to get the available
languages of the report.rptEncoding - the encoding for generating the report. Can use the method
JRCient.getSupportedEncodingNames(...) to get the supported
encoding names(same to java ecodings).taskListenerClass - indicate the java class name that implements API TaskListener.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.getAvailableLanguages(Frame, String)
public static java.lang.String sendCmdRunAndView(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String paramValues,
java.lang.String wherePortion,
java.lang.String namedWherePortion,
java.lang.String whereClause,
java.lang.String dbUser,
java.lang.String dbPassword,
java.lang.String jdbcUrl,
java.lang.String jdbcDriver,
boolean jdbcGetSupportInfo,
java.lang.String rptLanguage,
java.lang.String rptCountry,
java.lang.String rptEncoding,
java.lang.String taskListenerClass)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clsparamValues - the escaped string of the parameter values of the report.
Format: PARAMTER_NAME=VALUE,PARAMTER_NAME=VALUE,... Examples:
"STARTDATE=1998-05-10,ENDDATE=1998-07-10" "PTODAY=May 21\,
1998,TERMSDAYS=30"wherePortion - the WHERE Portion. The null value or empty string means that
no WHERE portion be used..namedWherePortion - the named WHERE Portion. The null value or empty string means
that no named WHERE portion be used.whereClause - the WHERE clause. Note: This parameter is not available at
present.dbUser - the database user ID for running the report.dbPassword - the database passowrd for running the report.jdbcUrl - the JDBC URL for running the report.jdbcDriver - the JDBC driver for running the report.jdbcGetSupportInfo - whether re-get the JDBC support info for the new JDBC setting.
Default value is "false".rptLanguage - the the language for generating the report. Can use the method
JRCient.getAvailableLanguages(...) to get the available
languages of the report.rptCountry - the the country for generating the report. Can use the method
JRCient.getAvailableLanguages(...) to get the available
languages of the report.rptEncoding - the encoding for generating the report. Can use the method
JRCient.getSupportedEncodingNames(...) to get the supported
encoding names(same to java ecodings).taskListenerClass - indicate the java class name that implements API TaskListener.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.getAvailableLanguages(Frame, String)
public static java.lang.String sendCmdRunAndView(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String paramValues,
java.lang.String wherePortion,
java.lang.String namedWherePortion,
java.lang.String whereClause,
java.lang.String dbUser,
java.lang.String dbPassword,
java.lang.String jdbcUrl,
java.lang.String jdbcDriver,
boolean jdbcGetSupportInfo,
java.lang.String rptLanguage,
java.lang.String rptCountry,
java.lang.String rptEncoding,
java.lang.String rptStyle,
java.lang.String taskListenerClass)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clsparamValues - the escaped string of the parameter values of the report.
Format: PARAMTER_NAME=VALUE,PARAMTER_NAME=VALUE,... Examples:
"STARTDATE=1998-05-10,ENDDATE=1998-07-10" "PTODAY=May 21\,
1998,TERMSDAYS=30"wherePortion - the WHERE Portion. The null value or empty string means that
no WHERE portion be used..namedWherePortion - the named WHERE Portion. The null value or empty string means
that no named WHERE portion be used.whereClause - the WHERE clause. Note: This parameter is not available at
present.dbUser - the database user ID for running the report.dbPassword - the database passowrd for running the report.jdbcUrl - the JDBC URL for running the report.jdbcDriver - the JDBC driver for running the report.jdbcGetSupportInfo - whether re-get the JDBC support info for the new JDBC setting.
Default value is "false".rptLanguage - the the language for generating the report. Can use the method
JRCient.getAvailableLanguages(...) to get the available
languages of the report.rptCountry - the the country for generating the report. Can use the method
JRCient.getAvailableLanguages(...) to get the available
languages of the report.rptEncoding - the encoding for generating the report. Can use the method
JRCient.getSupportedEncodingNames(...) to get the supported
encoding names(same to java ecodings).rptStyle - the style for generating the report. Can use the method
JRCient.getStyleGroupDisplayNames(...) to get the supported
style group.taskListenerClass - indicate the java class name that implements API TaskListener.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.getAvailableLanguages(Frame, String)
public static java.lang.String sendCmdRunAndViewEx(java.awt.Frame frame,
java.lang.String rptURL,
java.util.Hashtable taskProps)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clstaskProps - a Hashtable which contains properties to run report. the
properties can include values for following keys: | Key | Description of Associated Value |
|---|---|
APIConst.TAG_PARAM_VALUES |
the escaped string of the parameter values of the report.
Format: PARAMTER_NAME=VALUE,PARAMTER_NAME=VALUE,... Examples: "STARTDATE=1998-05-10,ENDDATE=1998-07-10" "PTODAY=May 21\, 1998,TERMSDAYS=30" |
APIConst.TAG_PARAM_FILE |
if associated value is "true", the Hashtable
taskProps contains the parameter values of the
report.For each item in the taskProps, the key
is jrs.param$ + PARAMETER_NAME, the value is the value of the
paramter. |
APIConst.TAG_WHERE_PORTION |
the WHERE Portion. The null value or empty string means that no WHERE portion be used.. |
APIConst.TAG_NAMED_WHERE_PORTION |
the named WHERE Portion. The null value or empty string means that no named WHERE portion be used. |
APIConst.TAG_WHERE_CLAUSE |
the WHERE clause. Note: This parameter is not available at present. |
APIConst.TAG_DB_USER |
the database user ID for running the report. |
APIConst.TAG_DB_PSWD |
the database passowrd for running the report. |
APIConst.TAG_JDBC_URL |
the JDBC URL for running the report. |
APIConst.TAG_JDBC_DRIVER |
the JDBC driver for running the report. |
APIConst.TAG_JDBC_GET_SUPPORT_INFO |
whether re-get the JDBC support info for the new JDBC setting. Default value is "false". |
APIConst.TAG_REPORT_LANGUAGE |
the the language for generating the report. Can use the method JRCient.getAvailableLanguages(...) to get the available languages of the report. |
APIConst.TAG_REPORT_COUNTRY |
the the country for generating the report. Can use the method JRCient.getAvailableLanguages(...) to get the available languages of the report. |
APIConst.TAG_REPORT_ENCODING |
the encoding for generating the report. Can use the method JRCient.getSupportedEncodingNames(...) to get the supported encoding names(same to java ecodings). |
APIConst.TAG_STYLE_GROUP |
the style for generating the report. Can use the method JRCient.getStyleGroupDisplayNames(...) to get the supported style group. |
APIConst.TAG_HAS_TASK_LISTENER |
indicate whether apply the TaskListener. |
APIConst.TAG_TASK_LISTENER_CLASS |
indicate the java class name that implements API TaskListener. |
APIConst.TAG_REPORT |
the report name |
APIConst.TAG_CATALOG |
the catalog name |
APIConst.TAG_RPT_VERSION |
the report version number |
APIConst.TAG_CAT_VERSION |
the catalog version number |
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static java.lang.String submitTask(java.awt.Frame frame,
java.lang.String jrsvrURL,
java.util.Hashtable theTask)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clstheTask - properties of the task. For more detail, please see the
document
"INSTALL_ROOT/help/server/en/userguide/HTML/appendix/apdx_sch.htm".
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static java.lang.String runTask(java.awt.Frame frame,
java.lang.String jrsvrURL,
java.util.Hashtable theTask)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clstheTask - properties of the task. For more detail, please see the
document
"INSTALL_ROOT/help/server/en/userguide/HTML/appendix/apdx_sch.htm".
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static java.util.Vector[] getParamDescAndGrpCols(java.awt.Frame frame,
java.lang.String rptURL)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.cls
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.Param
public static java.util.Vector[] getParamDescAndGrpCols(java.awt.Frame frame,
java.lang.String rptURL,
java.util.Hashtable rptProp)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clsrptProp - a Hashtable contains report name, catalog name, report
version, catalog version.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.Param
public static java.util.Vector getParamDescVct(java.awt.Frame frame,
java.lang.String rptURL)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.cls
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.Param
public static java.util.Vector getParamDescVct(java.awt.Frame frame,
java.lang.String rptURL,
java.util.Hashtable rptProp)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clsrptProp - a Hashtable contains report name, catalog name, report
version, catalog version.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.Param
public static java.util.Hashtable getParamValues(java.awt.Frame frame,
java.lang.String rptURL)
throws ParseParamValuesException,
ParamCanceledException,
java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.cls
ParseParamValuesException - if a ParseParamValuesException occurs.
ParamCanceledException - if canceled in the parameters dialog box.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.Param
public static java.util.Hashtable getParamValues(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String paramValues)
throws ParseParamValuesException,
ParamCanceledException,
java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clsparamValues - the string of parameter values. If it is null, a parameter
dialog box would be popped up if the report has parameters.
Format: PARAMTER_NAME=VALUE,PARAMTER_NAME=VALUE,... Examples:
"STARTDATE=1998-05-10,ENDDATE=1998-07-10" "PTODAY=May 21\,
1998,TERMSDAYS=30"
ParseParamValuesException - if a ParseParamValuesException occurs.
ParamCanceledException - if canceled in the parameters dialog box.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static java.util.Hashtable getParamValues(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String paramValues,
java.util.Locale locale)
throws ParseParamValuesException,
ParamCanceledException,
java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clsparamValues - the string of parameter values. If it is null, a parameter
dialog box would be popped up if the report has parameters.
Format: PARAMTER_NAME=VALUE,PARAMTER_NAME=VALUE,... Examples:
"STARTDATE=1998-05-10,ENDDATE=1998-07-10" "PTODAY=May 21\,
1998,TERMSDAYS=30"locale - the locale to check parameter format in the parameter dialog
box.
ParseParamValuesException - if a ParseParamValuesException occurs.
ParamCanceledException - if canceled in the parameters dialog box.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static java.util.Hashtable getParamValues(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String paramValues,
java.util.Locale locale,
java.util.Hashtable rptProp)
throws ParseParamValuesException,
ParamCanceledException,
java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clsparamValues - the string of parameter values. If it is null, a parameter
dialog box would be popped up if the report has parameters.
Format: PARAMTER_NAME=VALUE,PARAMTER_NAME=VALUE,... Examples:
"STARTDATE=1998-05-10,ENDDATE=1998-07-10" "PTODAY=May 21\,
1998,TERMSDAYS=30"locale - the locale to check parameter format in the parameter dialog
box.rptProp - a Hashtable contains report name, catalog name, report
version, catalog version.
ParseParamValuesException - if a ParseParamValuesException occurs.
ParamCanceledException - if canceled in the parameters dialog box.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static java.util.Vector getParamVector(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String paramValues)
throws ParseParamValuesException,
ParamCanceledException,
java.net.MalformedURLException,
java.io.IOException,
JRResponseException
getParamVector(Frame frame, String rptURL).
jet.cs.Param objects by a string of
parameter values.
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clsparamValues - the string of parameter values. If it is null, a parameter
dialog box would be popped up if the report has parameters.
Format: PARAMTER_NAME=VALUE,PARAMTER_NAME=VALUE,... Examples:
"STARTDATE=1998-05-10,ENDDATE=1998-07-10" "PTODAY=May 21\,
1998,TERMSDAYS=30"
ParseParamValuesException - if a ParseParamValuesException occurs.
ParamCanceledException - if canceled in the parameters dialog box.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.jet.cs.Param
public static java.util.Vector getParamVector(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String paramValues,
java.util.Locale locale)
throws ParseParamValuesException,
ParamCanceledException,
java.net.MalformedURLException,
java.io.IOException,
JRResponseException
getParamVector(Frame frame, String rptURL).
jet.cs.Param objects by a string of
parameter values.
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clsparamValues - the string of parameter values. If it is null, a parameter
dialog box would be popped up if the report has parameters.
Format: PARAMTER_NAME=VALUE,PARAMTER_NAME=VALUE,... Examples:
"STARTDATE=1998-05-10,ENDDATE=1998-07-10" "PTODAY=May 21\,
1998,TERMSDAYS=30"locale - the locale to check parameter format in the parameter dialog
box.
ParseParamValuesException - if a ParseParamValuesException occurs.
ParamCanceledException - if canceled in the parameters dialog box.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.jet.cs.Param
public static java.util.Vector getParamVector(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String paramValues,
java.util.Locale locale,
java.util.Hashtable rptProp)
throws ParseParamValuesException,
ParamCanceledException,
java.net.MalformedURLException,
java.io.IOException,
JRResponseException
jet.cs.Param objects by a string of
parameter values.
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clsparamValues - the string of parameter values. If it is null, a parameter
dialog box would be popped up if the report has parameters.
Format: PARAMTER_NAME=VALUE,PARAMTER_NAME=VALUE,... Examples:
"STARTDATE=1998-05-10,ENDDATE=1998-07-10" "PTODAY=May 21\,
1998,TERMSDAYS=30"locale - the locale to check parameter format in the parameter dialog
box.rptProp - a Hashtable contains report name, catalog name, report
version, catalog version.
ParseParamValuesException - if a ParseParamValuesException occurs.
ParamCanceledException - if canceled in the parameters dialog box.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.jet.cs.Param
public static java.util.Vector getParamVector(java.awt.Frame frame,
java.lang.String rptURL)
throws ParamCanceledException,
java.net.MalformedURLException,
java.io.IOException,
JRResponseException
jet.cs.Param objects by bringing up
a parameter dialog box if the report has parameters.
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.cls
ParamCanceledException - if canceled in the parameters dialog box.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.jet.cs.Param
public static java.util.Vector getParamVector(java.awt.Frame frame,
java.lang.String rptURL,
java.util.Locale locale)
throws ParamCanceledException,
java.net.MalformedURLException,
java.io.IOException,
JRResponseException
jet.cs.Param objects by bringing up
a parameter dialog box if the report has parameters.
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clslocale - the locale to check parameter format in the parameter dialog
box.
ParamCanceledException - if canceled in the parameters dialog box.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.jet.cs.Param
public static java.io.InputStream getParamDescStream(java.awt.Frame frame,
java.lang.String rptURL)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.cls
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static java.io.InputStream getParamDescStream(java.awt.Frame frame,
java.lang.String rptURL,
java.util.Hashtable rptProp)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clsrptProp - a Hashtable contains report name, catalog name, report
version, catalog version.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static java.util.Vector getAvailableLanguages(java.awt.Frame frame,
java.lang.String rptURL)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.cls
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.Param
public static java.util.Vector getAvailableLanguages(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String user)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clsuser - the user that about the rptURL
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.Param
public static java.util.Vector getAvailableLanguages(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String user,
java.util.Hashtable rptProp)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clsuser - the user that about the rptURLrptProp - a Hashtable contains report name, catalog name, report
version, catalog version.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.Param
public static java.util.Vector getStyleGroupDisplayNames(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String user)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clsuser - the user that about the rptURL
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.Param
public static java.util.Vector getStyleGroupDisplayNames(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String user,
java.util.Hashtable rptProp)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clsuser - the user that about the rptURLrptProp - a Hashtable contains report name, catalog name, report
version, catalog version.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.Param
public static java.util.Vector getReportSheets(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String user,
java.util.Hashtable rptProp)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clsuser - the user that about the rptURLrptProp - a Hashtable contains report name, catalog name, report
version, catalog version.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.RptSheet
public static java.util.Vector getReportSheetsFromRst(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String rst,
java.lang.String user)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clsrst - the rst file nameuser - the user that about the rptURL
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.RptSheet
public static java.util.Vector getScheduled(java.awt.Frame frame,
java.lang.String jrsvrURL)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).jrsvrURL - the URL string of the JRServlet. For examples:
http://jrserver:8888/ or http://server:8888/servlet/jrservlet/
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static void deleteScheduled(java.awt.Frame frame,
java.lang.String jrsvrURL,
java.lang.String taskID)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).jrsvrURL - the URL string of the JRServlet. For examples:
http://jrserver:8888/ or http://server:8888/servlet/jrservlet/taskID - the scheduled task ID.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static void enableScheduled(java.awt.Frame frame,
java.lang.String jrsvrURL,
java.lang.String taskID)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).jrsvrURL - the URL string of the JRServlet. For examples:
http://jrserver:8888/ or http://server:8888/servlet/jrservlet/taskID - the scheduled task ID.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static void disableScheduled(java.awt.Frame frame,
java.lang.String jrsvrURL,
java.lang.String taskID)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).jrsvrURL - the URL string of the JRServlet. For examples:
http://jrserver:8888/ or http://server:8888/servlet/jrservlet/taskID - the scheduled task ID.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static java.util.Vector getActive(java.awt.Frame frame,
java.lang.String jrsvrURL)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).jrsvrURL - the URL string of the JRServlet. For example:
http://jrserver:8888/ or http://server:8888/servlet/jrservlet/
Active objects.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.jet.client.api.Active
public static void stopActive(java.awt.Frame frame,
java.lang.String jrsvrURL,
java.lang.String taskID)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).jrsvrURL - the URL string of the JRServlet. For example:
http://jrserver:8888/ or http://server:8888/servlet/jrservlet/taskID - the active task ID.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.getActive(Frame, String)
public static java.util.Vector getCompleted(java.awt.Frame frame,
java.lang.String jrsvrURL)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).jrsvrURL - the URL string of the JRServlet. For examples:
http://jrserver:8888/ or http://server:8888/servlet/jrservlet/
Completed objects.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.jet.client.api.Completed
public static void deleteCompleted(java.awt.Frame frame,
java.lang.String jrsvrURL,
java.lang.String completedID)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).jrsvrURL - the URL string of the JRServlet. For example:
http://jrserver:8888/ or http://server:8888/servlet/jrservlet/taskID - the completed ID.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.getCompleted(Frame, String),
jet.client.api.Completed
public static void deleteAllCompleted(java.awt.Frame frame,
java.lang.String jrsvrURL)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
java.net.MalformedURLException
java.io.IOException
JRResponseException
public static java.util.Vector getBooleanNames(java.awt.Frame frame,
java.lang.String rptURL)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.cls
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static java.util.Vector getBooleanNames(java.awt.Frame frame,
java.lang.String rptURL,
java.util.Hashtable rptProp)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clsrptProp - a Hashtable contains report name, catalog name, report
version, catalog version.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static boolean hasPageSecurity(java.awt.Frame frame,
java.lang.String rptUrl)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.cls
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static boolean hasPageSecurity(java.awt.Frame frame,
java.lang.String rptUrl,
java.lang.String rptName,
java.lang.String catName)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.cls
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static java.util.Vector getPrintersOfServer(java.awt.Frame frame,
java.lang.String rptURL)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).jrsvrURL - the URL string of the JRServlet. For example:
http://jrserver:8888/ or http://server:8888/servlet/jrservlet/
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static java.lang.String getJDKVersionOfServer(java.awt.Frame frame,
java.lang.String rptURL)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).jrsvrURL - the URL string of the JRServlet. For example:
http://jrserver:8888/ or http://server:8888/servlet/jrservlet/
java.net.MalformedURLException
java.io.IOException
JRResponseException
public static java.util.Vector getSubNodesInfo(java.awt.Frame frame,
java.lang.String jrsvrURL,
java.lang.String path)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).jrsvrURL - the URL string of the JRServlet. For example:
http://jrserver:8888/ or http://server:8888/servlet/jrservlet/path - the path of a resource node in a report server. For example: / ,
/SampleReports or /SampleReports/SampleReports.cat
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.jet.client.api.NodeInfo
public static java.util.Vector getSubFileDirInfo(java.awt.Frame frame,
java.lang.String jrsvrURL,
java.lang.String path)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).jrsvrURL - the URL string of the JRServlet. For example:
http://jrserver:8888/ or http://server:8888/servlet/jrservlet/path - the path of a resource node in a report server. For example: / ,
/SampleReports or /SampleReports/SampleReports.cat
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.jet.client.api.NodeInfo
public static NodeInfo getNodeInfo(java.awt.Frame frame,
java.lang.String parentUrl,
java.lang.String nodeName)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).parentUrl - the parent URL of the resource node in a report server. For
example: http://jrserver:8888/or http://server:8888/SampleReportsnodeName - the name of the resource node in a report server to test if
the node is a catalog. For example: SampleReports or SampleReports.cat
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static NodeInfo getNodeReferInfo(java.awt.Frame frame,
java.lang.String parentUrl,
java.lang.String nodeName)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be
popped up when a login is needed(a server returns the Unauthorized
response or a proxy returns the Proxy Authentication Required response).parentUrl - the parent URL of the resource node in a report server. For
example: http://jrserver:8888/or http://server:8888/SampleReportsnodeName - the name of the resource node in a report server. For example:
SampleReports or SampleReports.cat
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static java.util.Vector getReports(java.awt.Frame frame,
java.lang.String jrsvrURL,
java.lang.String cat)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).jrsvrURL - the URL string of the JRServlet. For example:
http://jrserver:8888/ or http://server:8888/servlet/jrservlet/cat - the catalog of the report in a report server. For example:
/SampleReports/SampleReports.cat
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static void setResultMaxVersionLimit(java.awt.Frame frame,
java.lang.String reportURL,
boolean needAmount,
int amount)
throws java.net.MalformedURLException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/CustomerAnalysis.clsneedAmount - true if the report's result version amount limit enabled.amount - the max result version amount limit of the report
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static int getResultMaxVersionLimit(java.awt.Frame frame,
java.lang.String reportURL,
java.lang.String user)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/CustomerAnalysis.clsuser - the user id that about rptURL.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static void setMaxVersionLimit(java.awt.Frame frame,
java.lang.String reportURL,
boolean needAmount,
int amount)
throws java.net.MalformedURLException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clsneedAmount - true if the report's amount limit enabled.amount - the max version amount limit of the report
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static void setResultMaxVersionLimit(java.awt.Frame frame,
java.lang.String reportURL,
boolean needAmount,
int amount,
java.util.Hashtable ht)
throws java.net.MalformedURLException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/CustomerAnalysis.clsneedAmount - true if the report's result version amount limit enabled.amount - the max result version amount limit of the report
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static int getMaxVersionLimit(java.awt.Frame frame,
java.lang.String reportURL,
java.lang.String user)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clsuser - the user id that about rptURL.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static int getResultMaxVersionLimit(java.awt.Frame frame,
java.lang.String reportURL,
java.lang.String user,
java.util.Hashtable ht)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/CustomerAnalysis.clsuser - the user id that about rptURL.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static boolean isCatalogExits(java.awt.Frame frame,
java.lang.String jrsvrURL,
java.lang.String cat)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).jrsvrURL - the URL string of the JRServlet. For examples:
http://jrserver:8888/ or http://server:8888/servlet/jrservlet/cat - the catalog of the report in a report server. For example:
/SampleReports/SampleReports.cat
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static java.util.Vector getResultVersions(java.awt.Frame frame,
java.lang.String reportURL)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.cls
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.jet.client.api.VersionRecord
public static java.util.Vector getResultVersions(java.awt.Frame frame,
java.lang.String reportURL,
java.lang.String rpt)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clsrpt - the report name.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.jet.client.api.VersionRecord
public static java.util.Vector getReportVersions(java.awt.Frame frame,
java.lang.String reportURL,
java.lang.String rpt)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clsrpt - the report name.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.jet.client.api.VersionRecord
public static java.util.Vector getResultDocVersions(java.awt.Frame frame,
java.lang.String reportURL,
java.lang.String rst)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clsrst - the result name.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.jet.client.api.VersionRecord
public static java.util.Vector getCatalogVersions(java.awt.Frame frame,
java.lang.String reportURL,
java.lang.String cat)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clscat - the catalog name.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.jet.client.api.VersionRecord
public static NodeProp getNodeProperties(java.awt.Frame frame,
java.lang.String reportURL,
java.lang.String name)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clsname - the name of resource
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.jet.client.api.VersionRecord
public static void setJDBCConnection(java.awt.Frame frame,
java.lang.String catURL,
java.lang.String jdbcURL,
java.lang.String dbUser,
java.lang.String dbPassword,
java.lang.String jdbcDriver)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).catURL - the url string of the catalog in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.catparamValues - the Hashtable that contains the parameter values of the
report. For each item in the Hashtable, the key is jrs.param$ +
PARAMETER_NAME, the value is the value of the paramter.jdbcURL - the JDBC URL of a database.jdbcDriver - the JDBC driver.dbUser - the database user ID for running the report.dbPassword - the database passowrd for running the report.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static java.lang.String makeViewTempResultURL(java.lang.String rptURL,
java.lang.String rst)
rptURL - the url string of the report in a report server. For example:
http://jrserver:8888/SampleReports/SampleReports.cat/CustomerAnalysis.clsrst - the temp result name of the report in the report server. The
result name is returned by calling sendCmdRunAndView(...).
public static java.lang.String makeViewTempResultURL(java.lang.String rptURL,
java.lang.String sheet,
java.lang.String rst)
rptURL - the url string of the report in a report server. For example:
http://jrserver:8888/SampleReports/SampleReports.cat/CustomerAnalysis.clsrst - the temp result name of the report in the report server. The
result name is returned by calling sendCmdRunAndView(...).sheet - the report sheet name.
public static java.lang.String makeViewVersionURL(java.lang.String rptUrl,
java.lang.String versionResult)
rptURL - the url string of the report in a report server. For example:
http://jrserver:8888/SampleReports/SampleReports.cat/CustomerAnalysis.clsresultVersion - the result version name can be got from getResultFilename() of
VersionRecord. The VersionRecord list of a report can be got
from the method getVersionList(...) of this class.
public static java.lang.String makeViewVersionURL(java.lang.String rptUrl,
java.lang.String versionResult,
java.lang.String sheet)
rptURL - the url string of the report in a report server. For example:
http://jrserver:8888/SampleReports/SampleReports.cat/CustomerAnalysis.clsresultVersion - the result version name can be got from getResultFilename() of
VersionRecord. The VersionRecord list of a report can be got
from the method getVersionList(...) of this class.sheet - the report sheet name.
public static boolean[] exportTempResult(java.lang.String rptURL,
java.lang.String tempResult,
java.lang.String rstFile,
java.lang.String htmlFile,
java.lang.String pdfFile,
java.lang.String txtFile,
java.lang.String excelFile,
java.lang.String psFile,
java.lang.String rtfFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown,
boolean noMarginHtml,
int charWidth,
int charHeight,
boolean noMarginPdf,
boolean noMarginPs,
boolean noMarginRtf)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clstempResult - the temporary result filename of the report on the server
side.rstFile - the local filename with the full path, which tempResult will
be exported to as JReport result file.htmlFile - the local filename with the full path, which tempResult will
be exported to as HTML file. For example: htmlFile is
c:\invoice the exported files are c:\invoice_0.html,
c:\invoice_1.html ...pdfFile - the local filename with the full path, which tempResult will
be exported to as PDF result file.txtFile - the local filename with the full path, which tempResult will
be exported to as TEXT result file.excelFile - the local filename with the full path, which tempResult will
be exported to as Excel result file.psFile - the local filename with the full path, which tempResult will
be exported to as PS result file.rtfFile - the local filename with the full path, which tempResult will
be exported to as RTF(Rich Text Format) result file.isNormalText - indicates whether this text file is a normal text format or
not(To TEXT).isRepeat - indicates whether the same contents are repeated(To TEXT).delimiter - A character which will be used in SDF(Standard Data Format)
format. A delimiter could be a ',' (the CSV format) or any
other characters. The default is ' ' (a blank), that is, the
SSV format(To TEXT).isMultiFiles - indicates whether html is generated to a file or to multiple
files(To HTML).isChartApplet - indicates whether the chart in html file is an applet(To
HTML).hasHyperlink - indicates whether the hyperlink is generated(To HTML).hasPageNumber - indicates whether to generate page number(To HTML).useTable - indicates whether use HTML table to generate the HTML page(To
HTML).relFontSize - indicates whether to generate HTML pages with relative font
size(To HTML).webBrowser - indicates generating HTML pages for which Web browser(To
HTML). 0 - IE; 1 - Netscape.drilldown - indicates whether drilldown the HTML result(To HTML).noMarginHtml - indicates whether no margin the HTML result(To HTML). Default
is false.charWidth - indicates the user defined character width(To TEXT). Default
is -1.charHeight - indicates the user defined character height(To TEXT). Default
is -1.noMarginPdf - indicates whether no margin the PDF result(To PDF). Default is
false.noMarginPs - indicates whether no margin the PostScript result(To
PostScript). Default is false.noMarginRtf - indicates whether no margin the RTF result(To RTF). Default is
false.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static boolean[] exportTempResult(java.lang.String rptURL,
java.lang.String tempResult,
java.lang.String rstFile,
java.lang.String htmlFile,
java.lang.String pdfFile,
java.lang.String txtFile,
java.lang.String excelFile,
java.lang.String psFile,
java.lang.String rtfFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown,
boolean noMarginHtml,
int charWidth,
int charHeight,
boolean noMarginPdf,
boolean noMarginPs,
boolean noMarginRtf,
boolean isSimPrintMode,
int isCompressImage)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clstempResult - the temporary result filename of the report on the server
side.rstFile - the local filename with the full path, which tempResult will
be exported to as JReport result file.htmlFile - the local filename with the full path, which tempResult will
be exported to as HTML file. For example: htmlFile is
c:\invoice the exported files are c:\invoice_0.html,
c:\invoice_1.html ...pdfFile - the local filename with the full path, which tempResult will
be exported to as PDF result file.txtFile - the local filename with the full path, which tempResult will
be exported to as TEXT result file.excelFile - the local filename with the full path, which tempResult will
be exported to as Excel result file.psFile - the local filename with the full path, which tempResult will
be exported to as PS result file.rtfFile - the local filename with the full path, which tempResult will
be exported to as RTF(Rich Text Format) result file.isNormalText - indicates whether this text file is a normal text format or
not(To TEXT).isRepeat - indicates whether the same contents are repeated(To TEXT).delimiter - A character which will be used in SDF(Standard Data Format)
format. A delimiter could be a ',' (the CSV format) or any
other characters. The default is ' ' (a blank), that is, the
SSV format(To TEXT).isMultiFiles - indicates whether html is generated to a file or to multiple
files(To HTML).isChartApplet - indicates whether the chart in html file is an applet(To
HTML).hasHyperlink - indicates whether the hyperlink is generated(To HTML).hasPageNumber - indicates whether to generate page number(To HTML).useTable - indicates whether use HTML table to generate the HTML page(To
HTML).relFontSize - indicates whether to generate HTML pages with relative font
size(To HTML).webBrowser - indicates generating HTML pages for which Web browser(To
HTML). 0 - IE; 1 - Netscape.drilldown - indicates whether drilldown the HTML result(To HTML).noMarginHtml - indicates whether no margin the HTML result(To HTML). Default
is false.charWidth - indicates the user defined character width(To TEXT). Default
is -1.charHeight - indicates the user defined character height(To TEXT). Default
is -1.noMarginPdf - indicates whether no margin the PDF result(To PDF). Default is
false.noMarginPs - indicates whether no margin the PostScript result(To
PostScript). Default is false.noMarginRtf - indicates whether no margin the RTF result(To RTF). Default is
false.isSimPrintMode - indicates whether pdf is generated with sim print mode(To
PDF). Default is false.isCompressImage - indicates whether compress image in file(To PDF).
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static boolean[] exportTempResult(java.lang.String rptURL,
java.lang.String tempResult,
java.lang.String rstFile,
java.lang.String htmlFile,
java.lang.String pdfFile,
java.lang.String txtFile,
java.lang.String excelFile,
java.lang.String psFile,
java.lang.String rtfFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clstempResult - the temporary result filename of the report on the server
side.rstFile - the local filename with the full path, which tempResult will
be exported to as JReport result file.htmlFile - the local filename with the full path, which tempResult will
be exported to as HTML file. For example: htmlFile is
c:\invoice the exported files are c:\invoice_0.html,
c:\invoice_1.html ...pdfFile - the local filename with the full path, which tempResult will
be exported to as PDF result file.txtFile - the local filename with the full path, which tempResult will
be exported to as TEXT result file.excelFile - the local filename with the full path, which tempResult will
be exported to as Excel result file.psFile - the local filename with the full path, which tempResult will
be exported to as PS result file.rtfFile - the local filename with the full path, which tempResult will
be exported to as RTF(Rich Text Format) result file.isNormalText - indicates whether this text file is a normal text format or
not(To TEXT).isRepeat - indicates whether the same contents are repeated(To TEXT).delimiter - A character which will be used in SDF(Standard Data Format)
format. A delimiter could be a ',' (the CSV format) or any
other characters. The default is ' ' (a blank), that is, the
SSV format(To TEXT).isMultiFiles - indicates whether html is generated to a file or to multiple
files(To HTML).isChartApplet - indicates whether the chart in html file is an applet(To
HTML).hasHyperlink - indicates whether the hyperlink is generated(To HTML).hasPageNumber - indicates whether to generate page number(To HTML).useTable - indicates whether use HTML table to generate the HTML page(To
HTML).relFontSize - indicates whether to generate HTML pages with relative font
size(To HTML).webBrowser - indicates generating HTML pages for which Web browser(To
HTML). 0 - IE; 1 - Netscape.drilldown - indicates whether drilldown the HTML result(To HTML).
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static boolean[] exportTempResult(java.lang.String rptURL,
java.lang.String tempResult,
java.lang.String rstFile,
java.lang.String htmlFile,
java.lang.String pdfFile,
java.lang.String txtFile,
java.lang.String excelFile,
java.lang.String psFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
exportTempResult(String rptURL,
String tempResult,
String rstFile,
String htmlFile,
String pdfFile,
String txtFile,
String excelFile,
String psFile,
String rtfFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown).
rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clstempResult - the temporary result filename of the report on the server
side.rstFile - the local filename with the full path, which tempResult will
be exported to as JReport result file.htmlFile - the local filename with the full path, which tempResult will
be exported to as HTML file. For example: htmlFile is
c:\invoice the exported files are c:\invoice_0.html,
c:\invoice_1.html ...pdfFile - the local filename with the full path, which tempResult will
be exported to as PDF result file.txtFile - the local filename with the full path, which tempResult will
be exported to as TEXT result file.excelFile - the local filename with the full path, which tempResult will
be exported to as Excel result file.psFile - the local filename with the full path, which tempResult will
be exported to as PS result file.isNormalText - indicates whether this text file is a normal text format or
not(To TEXT).isRepeat - indicates whether the same contents are repeated(To TEXT).delimiter - A character which will be used in SDF(Standard Data Format)
format. A delimiter could be a ',' (the CSV format) or any
other characters. The default is ' ' (a blank), that is, the
SSV format(To TEXT).isMultiFiles - indicates whether html is generated to a file or to multiple
files(To HTML).isChartApplet - indicates whether the chart in html file is an applet(To
HTML).hasHyperlink - indicates whether the hyperlink is generated(To HTML).hasPageNumber - indicates whether to generate page number(To HTML).
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static boolean[] exportTempResult(java.lang.String rptURL,
java.lang.String tempResult,
java.lang.String rstFile,
java.lang.String htmlFile,
java.lang.String pdfFile,
java.lang.String txtFile,
java.lang.String excelFile,
java.lang.String psFile,
java.lang.String rtfFile,
java.lang.String xmlFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown,
boolean noMarginHtml,
int charWidth,
int charHeight,
boolean noMarginPdf,
boolean noMarginPs,
boolean noMarginRtf,
boolean isXMLMultiFiles,
boolean isOnlyData)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
exportTempResult(String rptURL,
String tempResult,
String rstFile,
String htmlFile,
String pdfFile,
String txtFile,
String excelFile,
String psFile,
String rtfFile,
String xmlFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown,
boolean noMarginHtml,
int charWidth,
int charHeight,
boolean noMarginPdf,
boolean noMarginPs,
boolean noMarginRtf,
boolean isOnlyData).
rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clstempResult - the temporary result filename of the report on the server
side.rstFile - the local filename with the full path, which tempResult will
be exported to as JReport result file.htmlFile - the local filename with the full path, which tempResult will
be exported to as HTML file. For example: htmlFile is
c:\invoice the exported files are c:\invoice_0.html,
c:\invoice_1.html ...pdfFile - the local filename with the full path, which tempResult will
be exported to as PDF result file.txtFile - the local filename with the full path, which tempResult will
be exported to as TEXT result file.excelFile - the local filename with the full path, which tempResult will
be exported to as Excel result file.psFile - the local filename with the full path, which tempResult will
be exported to as PS result file.rtfFile - the local filename with the full path, which tempResult will
be exported to as RTF(Rich Text Format) result file.xmlFile - the local filename with the full path, which tempResult will
be exported to as XML result file.isNormalText - indicates whether this text file is a normal text format or
not(To TEXT).isRepeat - indicates whether the same contents are repeated(To TEXT).delimiter - A character which will be used in SDF(Standard Data Format)
format. A delimiter could be a ',' (the CSV format) or any
other characters. The default is ' ' (a blank), that is, the
SSV format(To TEXT).isMultiFiles - indicates whether html is generated to a file or to multiple
files(To HTML).isChartApplet - indicates whether the chart in html file is an applet(To
HTML).hasHyperlink - indicates whether the hyperlink is generated(To HTML).hasPageNumber - indicates whether to generate page number(To HTML).useTable - indicates whether use HTML table to generate the HTML page(To
HTML).relFontSize - indicates whether to generate HTML pages with relative font
size(To HTML).webBrowser - indicates generating HTML pages for which Web browser(To
HTML). 0 - IE; 1 - Netscape.drilldown - indicates whether drilldown the HTML result(To HTML).noMarginHtml - indicates whether no margin the HTML result(To HTML). Default
is false.charWidth - indicates the user defined character width(To TEXT). Default
is -1.charHeight - indicates the user defined character height(To TEXT). Default
is -1.noMarginPdf - indicates whether no margin the PDF result(To PDF). Default is
false.noMarginPs - indicates whether no margin the PostScript result(To
PostScript). Default is false.noMarginRtf - indicates whether no margin the RTF result(To RTF). Default is
false.isXMLMultiFiles - indicates whether XML is generated to a file or to multiple
files(To XML).isOnlyData - indicates that only database column information is exported to
the XML file, otherwise all report details, including all the
properties will be exported.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static boolean[] exportTempResult(java.lang.String rptURL,
java.lang.String tempResult,
java.lang.String rstFile,
java.lang.String htmlFile,
java.lang.String pdfFile,
java.lang.String txtFile,
java.lang.String excelFile,
java.lang.String psFile,
java.lang.String rtfFile,
java.lang.String xmlFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown,
boolean noMarginHtml,
int charWidth,
int charHeight,
boolean noMarginPdf,
boolean noMarginPs,
boolean noMarginRtf,
boolean isOnlyData)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clstempResult - the temporary result filename of the report on the server
side.rstFile - the local filename with the full path, which tempResult will
be exported to as JReport result file.htmlFile - the local filename with the full path, which tempResult will
be exported to as HTML file. For example: htmlFile is
c:\invoice the exported files are c:\invoice_0.html,
c:\invoice_1.html ...pdfFile - the local filename with the full path, which tempResult will
be exported to as PDF result file.txtFile - the local filename with the full path, which tempResult will
be exported to as TEXT result file.excelFile - the local filename with the full path, which tempResult will
be exported to as Excel result file.psFile - the local filename with the full path, which tempResult will
be exported to as PS result file.rtfFile - the local filename with the full path, which tempResult will
be exported to as RTF(Rich Text Format) result file.xmlFile - the local filename with the full path, which tempResult will
be exported to as XML result file.isNormalText - indicates whether this text file is a normal text format or
not(To TEXT).isRepeat - indicates whether the same contents are repeated(To TEXT).delimiter - A character which will be used in SDF(Standard Data Format)
format. A delimiter could be a ',' (the CSV format) or any
other characters. The default is ' ' (a blank), that is, the
SSV format(To TEXT).isMultiFiles - indicates whether html is generated to a file or to multiple
files(To HTML).isChartApplet - indicates whether the chart in html file is an applet(To
HTML).hasHyperlink - indicates whether the hyperlink is generated(To HTML).hasPageNumber - indicates whether to generate page number(To HTML).useTable - indicates whether use HTML table to generate the HTML page(To
HTML).relFontSize - indicates whether to generate HTML pages with relative font
size(To HTML).webBrowser - indicates generating HTML pages for which Web browser(To
HTML). 0 - IE; 1 - Netscape.drilldown - indicates whether drilldown the HTML result(To HTML).noMarginHtml - indicates whether no margin the HTML result(To HTML). Default
is false.charWidth - indicates the user defined character width(To TEXT). Default
is -1.charHeight - indicates the user defined character height(To TEXT). Default
is -1.noMarginPdf - indicates whether no margin the PDF result(To PDF). Default is
false.noMarginPs - indicates whether no margin the PostScript result(To
PostScript). Default is false.noMarginRtf - indicates whether no margin the RTF result(To RTF). Default is
false.isOnlyData - indicates that only database column information is exported to
the XML file, otherwise all report details, including all the
properties will be exported.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static boolean[] exportTempResult(java.lang.String rptURL,
java.lang.String tempResult,
java.lang.String rstFile,
java.lang.String htmlFile,
java.lang.String pdfFile,
java.lang.String txtFile,
java.lang.String excelFile,
java.lang.String psFile,
java.lang.String rtfFile,
java.lang.String xmlFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown,
boolean noMarginHtml,
int charWidth,
int charHeight,
boolean noMarginPdf,
boolean noMarginPs,
boolean noMarginRtf,
boolean isSimPrintMode,
int isCompressImage,
boolean isXMLMultiFiles,
boolean isOnlyData,
boolean isQuoteMark,
boolean hasHeadFoot)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
exportTempResult(String rptURL,
String tempResult,
String rstFile,
String htmlFile,
String pdfFile,
String txtFile,
String excelFile,
String psFile,
String rtfFile,
String xmlFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown,
boolean noMarginHtml,
int charWidth,
int charHeight,
boolean noMarginPdf,
boolean noMarginPs,
boolean noMarginRtf,
boolean isSimPrintMode,
int isCompressImage,
boolean isOnlyData,
boolean isQuoteMark,
boolean hasHeadFoot).
rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clstempResult - the temporary result filename of the report on the server
side.rstFile - the local filename with the full path, which tempResult will
be exported to as JReport result file.htmlFile - the local filename with the full path, which tempResult will
be exported to as HTML file. For example: htmlFile is
c:\invoice the exported files are c:\invoice_0.html,
c:\invoice_1.html ...pdfFile - the local filename with the full path, which tempResult will
be exported to as PDF result file.txtFile - the local filename with the full path, which tempResult will
be exported to as TEXT result file.excelFile - the local filename with the full path, which tempResult will
be exported to as Excel result file.psFile - the local filename with the full path, which tempResult will
be exported to as PS result file.rtfFile - the local filename with the full path, which tempResult will
be exported to as RTF(Rich Text Format) result file.xmlFile - the local filename with the full path, which tempResult will
be exported to as XML result file.isNormalText - indicates whether this text file is a normal text format or
not(To TEXT).isRepeat - indicates whether the same contents are repeated(To TEXT).delimiter - A character which will be used in SDF(Standard Data Format)
format. A delimiter could be a ',' (the CSV format) or any
other characters. The default is ' ' (a blank), that is, the
SSV format(To TEXT).isMultiFiles - indicates whether html is generated to a file or to multiple
files(To HTML).isChartApplet - indicates whether the chart in html file is an applet(To
HTML).hasHyperlink - indicates whether the hyperlink is generated(To HTML).hasPageNumber - indicates whether to generate page number(To HTML).useTable - indicates whether use HTML table to generate the HTML page(To
HTML).relFontSize - indicates whether to generate HTML pages with relative font
size(To HTML).webBrowser - indicates generating HTML pages for which Web browser(To
HTML). 0 - IE; 1 - Netscape.drilldown - indicates whether drilldown the HTML result(To HTML).noMarginHtml - indicates whether no margin the HTML result(To HTML). Default
is false.charWidth - indicates the user defined character width(To TEXT). Default
is -1.charHeight - indicates the user defined character height(To TEXT). Default
is -1.noMarginPdf - indicates whether no margin the PDF result(To PDF). Default is
false.noMarginPs - indicates whether no margin the PostScript result(To
PostScript). Default is false.noMarginRtf - indicates whether no margin the RTF result(To RTF). Default is
false.isSimPrintMode - indicates whether pdf is generated with sim print mode(To
PDF). Default is false.isCompressImage - indicates whether compress image in file(To PDF).isXMLMultiFiles - indicates whether XML is generated to a file or to multiple
files(To XML).isOnlyData - indicates that only database column information is exported to
the XML file, otherwise all report details, including all the
properties will be exported.isQuoteMark - indicates whether the strings have quotemarks(To TEXT).hasHeadFoot - indicates whether to generate the page header or footer(To
TEXT).
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static boolean[] exportTempResult(java.lang.String rptURL,
java.lang.String tempResult,
java.lang.String rstFile,
java.lang.String htmlFile,
java.lang.String pdfFile,
java.lang.String txtFile,
java.lang.String excelFile,
java.lang.String psFile,
java.lang.String rtfFile,
java.lang.String xmlFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown,
boolean noMarginHtml,
int charWidth,
int charHeight,
boolean noMarginPdf,
boolean noMarginPs,
boolean noMarginRtf,
boolean isSimPrintMode,
int isCompressImage,
boolean isOnlyData,
boolean isQuoteMark,
boolean hasHeadFoot)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clstempResult - the temporary result filename of the report on the server
side.rstFile - the local filename with the full path, which tempResult will
be exported to as JReport result file.htmlFile - the local filename with the full path, which tempResult will
be exported to as HTML file. For example: htmlFile is
c:\invoice the exported files are c:\invoice_0.html,
c:\invoice_1.html ...pdfFile - the local filename with the full path, which tempResult will
be exported to as PDF result file.txtFile - the local filename with the full path, which tempResult will
be exported to as TEXT result file.excelFile - the local filename with the full path, which tempResult will
be exported to as Excel result file.psFile - the local filename with the full path, which tempResult will
be exported to as PS result file.rtfFile - the local filename with the full path, which tempResult will
be exported to as RTF(Rich Text Format) result file.xmlFile - the local filename with the full path, which tempResult will
be exported to as XML result file.isNormalText - indicates whether this text file is a normal text format or
not(To TEXT).isRepeat - indicates whether the same contents are repeated(To TEXT).delimiter - A character which will be used in SDF(Standard Data Format)
format. A delimiter could be a ',' (the CSV format) or any
other characters. The default is ' ' (a blank), that is, the
SSV format(To TEXT).isMultiFiles - indicates whether html is generated to a file or to multiple
files(To HTML).isChartApplet - indicates whether the chart in html file is an applet(To
HTML).hasHyperlink - indicates whether the hyperlink is generated(To HTML).hasPageNumber - indicates whether to generate page number(To HTML).useTable - indicates whether use HTML table to generate the HTML page(To
HTML).relFontSize - indicates whether to generate HTML pages with relative font
size(To HTML).webBrowser - indicates generating HTML pages for which Web browser(To
HTML). 0 - IE; 1 - Netscape.drilldown - indicates whether drilldown the HTML result(To HTML).noMarginHtml - indicates whether no margin the HTML result(To HTML). Default
is false.charWidth - indicates the user defined character width(To TEXT). Default
is -1.charHeight - indicates the user defined character height(To TEXT). Default
is -1.noMarginPdf - indicates whether no margin the PDF result(To PDF). Default is
false.noMarginPs - indicates whether no margin the PostScript result(To
PostScript). Default is false.noMarginRtf - indicates whether no margin the RTF result(To RTF). Default is
false.isSimPrintMode - indicates whether pdf is generated with sim print mode(To
PDF). Default is false.isCompressImage - indicates whether compress image in file(To PDF).isOnlyData - indicates that only database column information is exported to
the XML file, otherwise all report details, including all the
properties will be exported.isQuoteMark - indicates whether the strings have quotemarks(To TEXT).hasHeadFoot - indicates whether to generate the page header or footer(To
TEXT).
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static boolean[] exportTempResult(java.lang.String rptURL,
java.lang.String tempResult,
java.lang.String rstFile,
java.lang.String htmlFile,
java.lang.String pdfFile,
java.lang.String txtFile,
java.lang.String excelFile,
java.lang.String psFile,
java.lang.String rtfFile,
java.lang.String xmlFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown,
boolean noMarginHtml,
int charWidth,
int charHeight,
boolean noMarginPdf,
boolean noMarginPs,
boolean noMarginRtf,
boolean isSimPrintMode,
int isCompressImage,
boolean isXMLMultiFiles,
boolean isOnlyData,
boolean isQuoteMark,
boolean hasHeadFoot,
boolean isGifTrans)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clstempResult - the temporary result filename of the report on the server
side.rstFile - the local filename with the full path, which tempResult will
be exported to as JReport result file.htmlFile - the local filename with the full path, which tempResult will
be exported to as HTML file. For example: htmlFile is
c:\invoice the exported files are c:\invoice_0.html,
c:\invoice_1.html ...pdfFile - the local filename with the full path, which tempResult will
be exported to as PDF result file.txtFile - the local filename with the full path, which tempResult will
be exported to as TEXT result file.excelFile - the local filename with the full path, which tempResult will
be exported to as Excel result file.psFile - the local filename with the full path, which tempResult will
be exported to as PS result file.rtfFile - the local filename with the full path, which tempResult will
be exported to as RTF(Rich Text Format) result file.xmlFile - the local filename with the full path, which tempResult will
be exported to as XML result file.isNormalText - indicates whether this text file is a normal text format or
not(To TEXT).isRepeat - indicates whether the same contents are repeated(To TEXT).delimiter - A character which will be used in SDF(Standard Data Format)
format. A delimiter could be a ',' (the CSV format) or any
other characters. The default is ' ' (a blank), that is, the
SSV format(To TEXT).isMultiFiles - indicates whether html is generated to a file or to multiple
files(To HTML).isChartApplet - indicates whether the chart in html file is an applet(To
HTML).hasHyperlink - indicates whether the hyperlink is generated(To HTML).hasPageNumber - indicates whether to generate page number(To HTML).useTable - indicates whether use HTML table to generate the HTML page(To
HTML).relFontSize - indicates whether to generate HTML pages with relative font
size(To HTML).webBrowser - indicates generating HTML pages for which Web browser(To
HTML). 0 - IE; 1 - Netscape.drilldown - indicates whether drilldown the HTML result(To HTML).noMarginHtml - indicates whether no margin the HTML result(To HTML). Default
is false.charWidth - indicates the user defined character width(To TEXT). Default
is -1.charHeight - indicates the user defined character height(To TEXT). Default
is -1.noMarginPdf - indicates whether no margin the PDF result(To PDF). Default is
false.noMarginPs - indicates whether no margin the PostScript result(To
PostScript). Default is false.noMarginRtf - indicates whether no margin the RTF result(To RTF). Default is
false.isSimPrintMode - indicates whether pdf is generated with sim print mode(To
PDF). Default is false.isCompressImage - indicates whether compress image in file(To PDF).isXMLMultiFiles - indicates whether XML is generated to a file or to multiple
files(To XML).isOnlyData - indicates that only database column information is exported to
the XML file, otherwise all report details, including all the
properties will be exported.isQuoteMark - indicates whether the strings have quotemarks(To TEXT).hasHeadFoot - indicates whether to generate the page header or footer(To
TEXT).isGifTrans - indicates whether the figure is transparent or not(To PDF).
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static boolean[] exportTempResult(java.lang.String rptURL,
java.lang.String tempResult,
java.lang.String rstFile,
java.lang.String htmlFile,
java.lang.String pdfFile,
java.lang.String txtFile,
java.lang.String excelFile,
java.lang.String psFile,
java.lang.String rtfFile,
java.lang.String xmlFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown,
boolean noMarginHtml,
boolean isDhtml,
int charWidth,
int charHeight,
boolean noMarginPdf,
boolean noMarginPs,
boolean noMarginRtf,
boolean isSimPrintMode,
int isCompressImage,
boolean isXMLMultiFiles,
boolean isOnlyData,
boolean isQuoteMark,
boolean hasHeadFoot,
boolean isGifTrans,
boolean bTxtCompress)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
exportTempResult(String rptURL,
String tempResult,
String rstFile,
String htmlFile,
String pdfFile,
String txtFile,
String excelFile,
String psFile,
String rtfFile,
String xmlFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown,
boolean noMarginHtml,
boolean isDhtml,
int charWidth,
int charHeight,
boolean noMarginPdf,
boolean noMarginPs,
boolean noMarginRtf,
boolean isSimPrintMode,
int isCompressImage,
boolean isOnlyData,
boolean isQuoteMark,
boolean hasHeadFoot,
boolean isGifTrans,
boolean bTxtCompress).
rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clstempResult - the temporary result filename of the report on the server
side.rstFile - the local filename with the full path, which tempResult will
be exported to as JReport result file.htmlFile - the local filename with the full path, which tempResult will
be exported to as HTML file. For example: htmlFile is
c:\invoice the exported files are c:\invoice_0.html,
c:\invoice_1.html ...pdfFile - the local filename with the full path, which tempResult will
be exported to as PDF result file.txtFile - the local filename with the full path, which tempResult will
be exported to as TEXT result file.excelFile - the local filename with the full path, which tempResult will
be exported to as Excel result file.psFile - the local filename with the full path, which tempResult will
be exported to as PS result file.rtfFile - the local filename with the full path, which tempResult will
be exported to as RTF(Rich Text Format) result file.xmlFile - the local filename with the full path, which tempResult will
be exported to as XML result file.isNormalText - indicates whether this text file is a normal text format or
not(To TEXT).isRepeat - indicates whether the same contents are repeated(To TEXT).delimiter - A character which will be used in SDF(Standard Data Format)
format. A delimiter could be a ',' (the CSV format) or any
other characters. The default is ' ' (a blank), that is, the
SSV format(To TEXT).isMultiFiles - indicates whether html is generated to a file or to multiple
files(To HTML).isChartApplet - indicates whether the chart in html file is an applet(To
HTML).hasHyperlink - indicates whether the hyperlink is generated(To HTML).hasPageNumber - indicates whether to generate page number(To HTML).useTable - indicates whether use HTML table to generate the HTML page(To
HTML).relFontSize - indicates whether to generate HTML pages with relative font
size(To HTML).webBrowser - indicates generating HTML pages for which Web browser(To
HTML). 0 - IE; 1 - Netscape.drilldown - indicates whether drilldown the HTML result(To HTML).noMarginHtml - indicates whether no margin the HTML result(To HTML). Default
is false.isDhtml - indicates whether to show DHTML page(To HTML). Default is
false.charWidth - indicates the user defined character width(To TEXT). Default
is -1.charHeight - indicates the user defined character height(To TEXT). Default
is -1.noMarginPdf - indicates whether no margin the PDF result(To PDF). Default is
false.noMarginPs - indicates whether no margin the PostScript result(To
PostScript). Default is false.noMarginRtf - indicates whether no margin the RTF result(To RTF). Default is
false.isSimPrintMode - indicates whether pdf is generated with sim print mode(To
PDF). Default is false.isCompressImage - indicates whether compress image in file(To PDF).isXMLMultiFiles - indicates whether XML is generated to a file or to multiple
files(To XML).isOnlyData - indicates that only database column information is exported to
the XML file, otherwise all report details, including all the
properties will be exported.isQuoteMark - indicates whether the strings have quotemarks(To TEXT).hasHeadFoot - indicates whether to generate the page header or footer(To
TEXT).isGifTrans - indicates whether the figure is transparent or not(To PDF).bTxtCompress - indicates whether to compress the published text file(To
TEXT).
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static boolean[] exportTempResult(java.lang.String rptURL,
java.lang.String tempResult,
java.lang.String rstFile,
java.lang.String htmlFile,
java.lang.String pdfFile,
java.lang.String txtFile,
java.lang.String excelFile,
java.lang.String psFile,
java.lang.String rtfFile,
java.lang.String xmlFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown,
boolean noMarginHtml,
boolean isDhtml,
int charWidth,
int charHeight,
boolean noMarginPdf,
boolean noMarginPs,
boolean noMarginRtf,
boolean isSimPrintMode,
int isCompressImage,
boolean isOnlyData,
boolean isQuoteMark,
boolean hasHeadFoot,
boolean isGifTrans,
boolean bTxtCompress)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clstempResult - the temporary result filename of the report on the server
side.rstFile - the local filename with the full path, which tempResult will
be exported to as JReport result file.htmlFile - the local filename with the full path, which tempResult will
be exported to as HTML file. For example: htmlFile is
c:\invoice the exported files are c:\invoice_0.html,
c:\invoice_1.html ...pdfFile - the local filename with the full path, which tempResult will
be exported to as PDF result file.txtFile - the local filename with the full path, which tempResult will
be exported to as TEXT result file.excelFile - the local filename with the full path, which tempResult will
be exported to as Excel result file.psFile - the local filename with the full path, which tempResult will
be exported to as PS result file.rtfFile - the local filename with the full path, which tempResult will
be exported to as RTF(Rich Text Format) result file.xmlFile - the local filename with the full path, which tempResult will
be exported to as XML result file.isNormalText - indicates whether this text file is a normal text format or
not(To TEXT).isRepeat - indicates whether the same contents are repeated(To TEXT).delimiter - A character which will be used in SDF(Standard Data Format)
format. A delimiter could be a ',' (the CSV format) or any
other characters. The default is ' ' (a blank), that is, the
SSV format(To TEXT).isMultiFiles - indicates whether html is generated to a file or to multiple
files(To HTML).isChartApplet - indicates whether the chart in html file is an applet(To
HTML).hasHyperlink - indicates whether the hyperlink is generated(To HTML).hasPageNumber - indicates whether to generate page number(To HTML).useTable - indicates whether use HTML table to generate the HTML page(To
HTML).relFontSize - indicates whether to generate HTML pages with relative font
size(To HTML).webBrowser - indicates generating HTML pages for which Web browser(To
HTML). 0 - IE; 1 - Netscape.drilldown - indicates whether drilldown the HTML result(To HTML).noMarginHtml - indicates whether no margin the HTML result(To HTML). Default
is false.isDhtml - indicates whether to show DHTML page(To HTML). Default is
false.charWidth - indicates the user defined character width(To TEXT). Default
is -1.charHeight - indicates the user defined character height(To TEXT). Default
is -1.noMarginPdf - indicates whether no margin the PDF result(To PDF). Default is
false.noMarginPs - indicates whether no margin the PostScript result(To
PostScript). Default is false.noMarginRtf - indicates whether no margin the RTF result(To RTF). Default is
false.isSimPrintMode - indicates whether pdf is generated with sim print mode(To
PDF). Default is false.isCompressImage - indicates whether compress image in file(To PDF).isOnlyData - indicates that only database column information is exported to
the XML file, otherwise all report details, including all the
properties will be exported.isQuoteMark - indicates whether the strings have quotemarks(To TEXT).hasHeadFoot - indicates whether to generate the page header or footer(To
TEXT).isGifTrans - indicates whether the figure is transparent or not(To PDF).bTxtCompress - indicates whether to compress the published text file(To
TEXT).
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static boolean[] exportTempResult(java.lang.String rptURL,
java.lang.String tempResult,
java.lang.String rstFile,
java.lang.String htmlFile,
java.lang.String pdfFile,
java.lang.String txtFile,
java.lang.String excelFile,
java.lang.String psFile,
java.lang.String rtfFile,
java.lang.String xmlFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown,
boolean noMarginHtml,
boolean isDhtml,
int charWidth,
int charHeight,
boolean noMarginPdf,
boolean noMarginPs,
boolean noMarginRtf,
boolean isSimPrintMode,
int isCompressImage,
boolean isXMLMultiFiles,
boolean isOnlyData,
boolean isQuoteMark,
boolean hasHeadFoot,
boolean isGifTrans,
boolean bTxtCompress,
boolean bExportLocal,
int WordWrapExcel,
java.lang.String xsdFileName,
boolean excel2000)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clstempResult - the temporary result filename of the report on the server
side.rstFile - the local filename with the full path, which tempResult will
be exported to as JReport result file.htmlFile - the local filename with the full path, which tempResult will
be exported to as HTML file. For example: htmlFile is
c:\invoice the exported files are c:\invoice_0.html,
c:\invoice_1.html ...pdfFile - the local filename with the full path, which tempResult will
be exported to as PDF result file.txtFile - the local filename with the full path, which tempResult will
be exported to as TEXT result file.excelFile - the local filename with the full path, which tempResult will
be exported to as Excel result file.psFile - the local filename with the full path, which tempResult will
be exported to as PS result file.rtfFile - the local filename with the full path, which tempResult will
be exported to as RTF(Rich Text Format) result file.xmlFile - the local filename with the full path, which tempResult will
be exported to as XML result file.isNormalText - indicates whether this text file is a normal text format or
not(To TEXT).isRepeat - indicates whether the same contents are repeated(To TEXT).delimiter - A character which will be used in SDF(Standard Data Format)
format. A delimiter could be a ',' (the CSV format) or any
other characters. The default is ' ' (a blank), that is, the
SSV format(To TEXT).isMultiFiles - indicates whether html is generated to a file or to multiple
files(To HTML).isChartApplet - indicates whether the chart in html file is an applet(To
HTML).hasHyperlink - indicates whether the hyperlink is generated(To HTML).hasPageNumber - indicates whether to generate page number(To HTML).useTable - indicates whether use HTML table to generate the HTML page(To
HTML).relFontSize - indicates whether to generate HTML pages with relative font
size(To HTML).webBrowser - indicates generating HTML pages for which Web browser(To
HTML). 0 - IE; 1 - Netscape.drilldown - indicates whether drilldown the HTML result(To HTML).noMarginHtml - indicates whether no margin the HTML result(To HTML). Default
is false.isDhtml - indicates whether to show DHTML page(To HTML). Default is
false.charWidth - indicates the user defined character width(To TEXT). Default
is -1.charHeight - indicates the user defined character height(To TEXT). Default
is -1.noMarginPdf - indicates whether no margin the PDF result(To PDF). Default is
false.noMarginPs - indicates whether no margin the PostScript result(To
PostScript). Default is false.noMarginRtf - indicates whether no margin the RTF result(To RTF). Default is
false.isSimPrintMode - indicates whether pdf is generated with sim print mode(To
PDF). Default is false.isCompressImage - indicates whether compress image in file(To PDF).isXMLMultiFiles - indicates whether XML is generated to a file or to multiple
files(To XML).isOnlyData - indicates that only database column information is exported to
the XML file, otherwise all report details, including all the
properties will be exported.isQuoteMark - indicates whether the strings have quotemarks(To TEXT).hasHeadFoot - indicates whether to generate the page header or footer(To
TEXT).isGifTrans - indicates whether the figure is transparent or not(To PDF).bTxtCompress - indicates whether to compress the published text file(To
TEXT).bExportLocal - indicates whether export to local or not.WordWrapExcel - indicates whether the excel result need to be wordwraped(To
Excel).xsdFileName - indicate the xsd file path(To XML)excel2000 - indicates whether the result has excel2000 format.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static boolean[] exportTempResult(java.lang.String rptURL,
java.lang.String tempResult,
java.lang.String rstFile,
java.lang.String htmlFile,
java.lang.String pdfFile,
java.lang.String txtFile,
java.lang.String excelFile,
java.lang.String psFile,
java.lang.String rtfFile,
java.lang.String xmlFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown,
boolean noMarginHtml,
boolean isDhtml,
int charWidth,
int charHeight,
boolean noMarginPdf,
boolean noMarginPs,
boolean noMarginRtf,
boolean isSimPrintMode,
int isCompressImage,
boolean isXMLMultiFiles,
boolean isOnlyData,
boolean isQuoteMark,
boolean hasHeadFoot,
boolean isGifTrans,
boolean bTxtCompress,
boolean bExportLocal,
int WordWrapExcel,
java.lang.String xsdFileName,
boolean excel2000,
boolean isToc,
boolean isDrilldown,
int htmlResolution)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clstempResult - the temporary result filename of the report on the server
side.rstFile - the local filename with the full path, which tempResult will
be exported to as JReport result file.htmlFile - the local filename with the full path, which tempResult will
be exported to as HTML file. For example: htmlFile is
c:\invoice the exported files are c:\invoice_0.html,
c:\invoice_1.html ...pdfFile - the local filename with the full path, which tempResult will
be exported to as PDF result file.txtFile - the local filename with the full path, which tempResult will
be exported to as TEXT result file.excelFile - the local filename with the full path, which tempResult will
be exported to as Excel result file.psFile - the local filename with the full path, which tempResult will
be exported to as PS result file.rtfFile - the local filename with the full path, which tempResult will
be exported to as RTF(Rich Text Format) result file.xmlFile - the local filename with the full path, which tempResult will
be exported to as XML result file.isNormalText - indicates whether this text file is a normal text format or
not(To TEXT).isRepeat - indicates whether the same contents are repeated(To TEXT).delimiter - A character which will be used in SDF(Standard Data Format)
format. A delimiter could be a ',' (the CSV format) or any
other characters. The default is ' ' (a blank), that is, the
SSV format(To TEXT).isMultiFiles - indicates whether html is generated to a file or to multiple
files(To HTML).isChartApplet - indicates whether the chart in html file is an applet(To
HTML).hasHyperlink - indicates whether the hyperlink is generated(To HTML).hasPageNumber - indicates whether to generate page number(To HTML).useTable - indicates whether use HTML table to generate the HTML page(To
HTML).relFontSize - indicates whether to generate HTML pages with relative font
size(To HTML).webBrowser - indicates generating HTML pages for which Web browser(To
HTML). 0 - IE; 1 - Netscape.drilldown - indicates whether drilldown the HTML result(To HTML).noMarginHtml - indicates whether no margin the HTML result(To HTML). Default
is false.isDhtml - indicates whether to show DHTML page(To HTML). Default is
false.charWidth - indicates the user defined character width(To TEXT). Default
is -1.charHeight - indicates the user defined character height(To TEXT). Default
is -1.noMarginPdf - indicates whether no margin the PDF result(To PDF). Default is
false.noMarginPs - indicates whether no margin the PostScript result(To
PostScript). Default is false.noMarginRtf - indicates whether no margin the RTF result(To RTF). Default is
false.isSimPrintMode - indicates whether pdf is generated with sim print mode(To
PDF). Default is false.isCompressImage - indicates whether compress image in file(To PDF).isXMLMultiFiles - indicates whether XML is generated to a file or to multiple
files(To XML).isOnlyData - indicates that only database column information is exported to
the XML file, otherwise all report details, including all the
properties will be exported.isQuoteMark - indicates whether the strings have quotemarks(To TEXT).hasHeadFoot - indicates whether to generate the page header or footer(To
TEXT).isGifTrans - indicates whether the figure is transparent or not(To PDF).bTxtCompress - indicates whether to compress the published text file(To
TEXT).bExportLocal - indicates whether export to local or not.WordWrapExcel - indicates whether the excel result need to be wordwraped(To
Excel).xsdFileName - indicate the xsd file path(To XML)excel2000 - indicates whether the result has excel2000 format.isToc - indicates whether the result has TOC(To PDF).isDrilldown - indicates whether drilldown the PDF result(To PDF).htmlResolution - indicates the resolution of the html file(To HTML).
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static boolean[] exportTempResult(java.lang.String rptURL,
java.lang.String tempResult,
java.lang.String rstFile,
java.lang.String htmlFile,
java.lang.String pdfFile,
java.lang.String txtFile,
java.lang.String excelFile,
java.lang.String psFile,
java.lang.String rtfFile,
java.lang.String xmlFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown,
boolean noMarginHtml,
boolean isDhtml,
int charWidth,
int charHeight,
boolean noMarginPdf,
boolean noMarginPs,
boolean noMarginRtf,
boolean isSimPrintMode,
int isCompressImage,
boolean isXMLMultiFiles,
boolean isOnlyData,
boolean isQuoteMark,
boolean hasHeadFoot,
boolean isGifTrans,
boolean bTxtCompress,
boolean bExportLocal,
int WordWrapExcel,
java.lang.String xsdFileName,
boolean excel2000,
boolean isToc,
boolean isDrilldown,
int htmlResolution,
boolean forWindows,
int overflow,
boolean hasShapes,
boolean isCsv,
boolean isTab)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clstempResult - the temporary result filename of the report on the server
side.rstFile - the local filename with the full path, which tempResult will
be exported to as JReport result file.htmlFile - the local filename with the full path, which tempResult will
be exported to as HTML file. For example: htmlFile is
c:\invoice the exported files are c:\invoice_0.html,
c:\invoice_1.html ...pdfFile - the local filename with the full path, which tempResult will
be exported to as PDF result file.txtFile - the local filename with the full path, which tempResult will
be exported to as TEXT result file.excelFile - the local filename with the full path, which tempResult will
be exported to as Excel result file.psFile - the local filename with the full path, which tempResult will
be exported to as PS result file.rtfFile - the local filename with the full path, which tempResult will
be exported to as RTF(Rich Text Format) result file.xmlFile - the local filename with the full path, which tempResult will
be exported to as XML result file.isNormalText - indicates whether this text file is a normal text format or
not(To TEXT).isRepeat - indicates whether the same contents are repeated(To TEXT).delimiter - A character which will be used in SDF(Standard Data Format)
format. A delimiter could be a ',' (the CSV format) or any
other characters. The default is ' ' (a blank), that is, the
SSV format(To TEXT).isMultiFiles - indicates whether html is generated to a file or to multiple
files(To HTML).isChartApplet - indicates whether the chart in html file is an applet(To
HTML).hasHyperlink - indicates whether the hyperlink is generated(To HTML).hasPageNumber - indicates whether to generate page number(To HTML).useTable - indicates whether use HTML table to generate the HTML page(To
HTML).relFontSize - indicates whether to generate HTML pages with relative font
size(To HTML).webBrowser - indicates generating HTML pages for which Web browser(To
HTML). 0 - IE; 1 - Netscape.drilldown - indicates whether drilldown the HTML result(To HTML).noMarginHtml - indicates whether no margin the HTML result(To HTML). Default
is false.isDhtml - indicates whether to show DHTML page(To HTML). Default is
false.charWidth - indicates the user defined character width(To TEXT). Default
is -1.charHeight - indicates the user defined character height(To TEXT). Default
is -1.noMarginPdf - indicates whether no margin the PDF result(To PDF). Default is
false.noMarginPs - indicates whether no margin the PostScript result(To
PostScript). Default is false.noMarginRtf - indicates whether no margin the RTF result(To RTF). Default is
false.isSimPrintMode - indicates whether pdf is generated with sim print mode(To
PDF). Default is false.isCompressImage - indicates whether compress image in file(To PDF).isXMLMultiFiles - indicates whether XML is generated to a file or to multiple
files(To XML).isOnlyData - indicates that only database column information is exported to
the XML file, otherwise all report details, including all the
properties will be exported.isQuoteMark - indicates whether the strings have quotemarks(To TEXT).hasHeadFoot - indicates whether to generate the page header or footer(To
TEXT).isGifTrans - indicates whether the figure is transparent or not(To PDF).bTxtCompress - indicates whether to compress the published text file(To
TEXT).bExportLocal - indicates whether export to local or not.WordWrapExcel - indicates whether the excel result need to be wordwraped(To
Excel).xsdFileName - indicate the xsd file path(To XML)excel2000 - indicates whether the result has excel2000 format.isToc - indicates whether the result has TOC(To PDF).isDrilldown - indicates whether drilldown the PDF result(To PDF).htmlResolution - indicates the resolution of the html file(To HTML).forWindows - indicates whether to apply "\r\n" for OS390 and Windows or
"\n" for UNIX to the text file(To TEXT).overflow - indicates the text overflow type of the html file(To HTML).hasShapes - indicates whether the excel file has shapes(To EXCEL).isCsv - indicates the whether text file has csv format(To TEXT).isTab - indicates the whether text file has tab delimiter(To TEXT).
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static boolean[] exportTempResultEx(java.lang.String rptURL,
java.lang.String tempResult,
java.util.Hashtable exportProps,
boolean bExportLocal)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clstempResult - the temporary result filename of the report on the server
side.exportProps - the properties that used in exporting result. the properties
can include values for following keys. | Key | Description of Associated Value |
|---|---|
APIConst.TAG_RST |
the local filename with the full path, which tempResult will be exported to as JReport result file. |
APIConst.TAG_HTML |
the local filename with the full path, which tempResult will be exported to as HTML file. For example: htmlFile is c:\invoice the exported files are c:\invoice_0.html, c:\invoice_1.html ... |
APIConst.TAG_PDF |
the local filename with the full path, which tempResult will be exported to as PDF result file. |
APIConst.TAG_TEXT |
the local filename with the full path, which tempResult will be exported to as TEXT result file. |
APIConst.TAG_EXCEL |
the local filename with the full path, which tempResult will be exported to as Excel result file. |
APIConst.TAG_PS |
the local filename with the full path, which tempResult will be exported to as PS result file. |
APIConst.TAG_RTF |
the local filename with the full path, which tempResult will be exported to as RTF(Rich Text Format) result file. |
APIConst.TAG_XML |
the local filename with the full path, which tempResult will be exported to as XML result file. |
APIConst.TAG_IS_NORMAL_TEXT |
a string representation of boolean, indicates whether this text file is a normal text format or not(To TEXT). Default is true. |
APIConst.TAG_IS_REPEAT |
a string representation of boolean, indicates whether the same contents are repeated(To TEXT). Default is false. |
APIConst.TAG_DELIMITER |
a string representation of character, this character which will be used in SDF(Standard Data Format) format. A delimiter could be a ',' (the CSV format) or any other characters. The default is ' ' (a blank), that is, the SSV format(To TEXT). |
APIConst.TAG_IS_MULTI_FILES |
a string representation of boolean, indicates whether html is generated to a file or to multiple files(To HTML). Default is true. |
APIConst.TAG_IS_CHART_APPLET |
a string representation of boolean, indicates whether the chart in html file is an applet(To HTML). Default is false |
APIConst.TAG_HAS_HYPERLINK |
a string representation of boolean, indicates whether the hyperlink is generated(To HTML). Default is true. |
APIConst.TAG_HAS_PAGE_NUMBER |
a string representation of boolean, indicates whether to generate page number(To HTML). Default is true. |
APIConst.TAG_USE_TABLE |
a string representation of boolean, indicates whether use HTML table to generate the HTML page(To HTML). Default is false. |
APIConst.TAG_RELATIVE_FONT_SIZE |
a string representation of boolean, indicates whether to generate HTML pages with relative font size(To HTML). Default is false |
APIConst.TAG_WEB_BROWSER |
a string representation of integer, indicates generating HTML pages for which Web browser(To HTML). 0 - IE; 1 - Netscape. Default is 0. |
APIConst.TAG_DRILLDOWN |
a string representation of boolean, indicates whether drilldown the HTML result(To HTML). Default is false. |
APIConst.TAG_NO_MARGIN_HTML |
a string representation of boolean, indicates whether no margin the HTML result(To HTML). Default is false. |
APIConst.TAG_IS_DHTML |
a string representation of boolean, indicates whether to show DHTML page(To HTML). Default is false. |
APIConst.TAG_CHAR_WIDTH |
a string representation of integer, indicates the user defined character width(To TEXT). Default is -1. |
APIConst.TAG_HEIGHT |
a string representation of integer, indicates the user defined character height(To TEXT). Default is -1. |
APIConst.TAG_NO_MARGIN_PDF |
a string representation of boolean, indicates whether no margin the PDF result(To PDF). Default is false. |
APIConst.TAG_NO_MARGIN_PS |
a string representation of boolean, indicates whether no margin the PostScript result(To PostScript). Default is false. |
APIConst.TAG_NO_MARGIN_RTF |
a string representation of boolean, indicates whether no margin the RTF result(To RTF). Default is false. |
APIConst.TAG_PRINT_MODE_PDF |
a string representation of boolean, indicates whether pdf is generated with sim print mode(To PDF). Default is false. |
APIConst.TAG_COMPRESS_IMAGE_PDF |
a string representation of integer, indicates compress rate of image in file(To PDF). Default is 20(20%). |
APIConst.TAG_IS_XML_MULTI_FILES |
a string representation of boolean, indicates whether XML is generated to a file or to multiple files(To XML). Default is false. |
APIConst.TAG_IS_ONLY_DATA |
a string representation of boolean, indicates that only database column information is exported to the XML file, otherwise all report details, including all the properties will be exported. Default is true. |
APIConst.TAG_IS_QUOTEMARK |
a string representation of boolean, indicates whether the strings have quotemarks(To TEXT). Default is false. |
APIConst.TAG_HASHEADFOOT |
a string representation of boolean, indicates whether to generate the page header or footer(To TEXT). Default is false. |
APIConst.TAG_GIF_TRANSPARENT_PDF |
a string representation of boolean, indicates whether the figure is transparent or not(To PDF). Default is false. |
APIConst.TAG_TXT_COMPRESS |
a string representation of boolean, indicates whether to compress the published text file(To TEXT). Default is false. |
APIConst.TAG_WORDWRAP_EXCEL |
a string representation of integer, indicates whether the excel result need to be wordwraped(To Excel). 0 - All Kept, 1 - All Disabled, 2 - All Enabled. Default is 0. |
APIConst.TAG_XSDFILE |
indicate the xsd file path(To XML) |
APIConst.TAG_EXCEL2000 |
a string representation of boolean, indicates whether the result has excel2000 format. Default is false. |
APIConst.TAG_TOC_PDF |
a string representation of boolean, indicates whether the result has TOC(To PDF). Default is false. |
APIConst.TAG_DRILLDOWN_PDF |
a string representation of boolean, indicates whether drilldown the PDF result(To PDF). Default is fasle. |
APIConst.TAG_HTML_RESOLUTION |
a string representation of integer, indicates the resolution of the html file(To HTML). Default is -1. |
APIConst.TAG_TXT_WINDOWS |
a string representation of boolean, indicates whether to apply "\r\n" for OS390 and Windows or "\n" for UNIX to the text file(To TEXT). Default is true. |
APIConst.TAG_TEXT_OVERFLOW |
a string representation of integer, indicates the text overflow type of the html file(To HTML). Default is 0. |
APIConst.TAG_HAS_SHAPES |
a string representation of boolean, indicates whether the excel file has shapes(To EXCEL). Default is false. |
APIConst.TAG_IS_CSV |
a string representation of boolean, indicates the whether text file has csv format(To TEXT). Default is false. |
APIConst.TAG_IS_TAB |
a string representation of boolean, indicates the whether text file has tab delimiter(To TEXT). Default is false. |
bExportLocal - indicates whether export to local or not.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static boolean[] exportVersionResult(java.lang.String rptURL,
java.lang.String versionResult,
java.lang.String rstFile,
java.lang.String htmlFile,
java.lang.String pdfFile,
java.lang.String txtFile,
java.lang.String excelFile,
java.lang.String psFile,
java.lang.String rtfFile,
java.lang.String xmlFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown,
boolean noMarginHtml,
int charWidth,
int charHeight,
boolean noMarginPdf,
boolean noMarginPs,
boolean noMarginRtf,
boolean isXMLMultiFiles,
boolean isOnlyData)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
exportVersionResult(String rptURL,
String versionResult,
String rstFile,
String htmlFile,
String pdfFile,
String txtFile,
String excelFile,
String psFile,
String rtfFile,
String xmlFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown,
boolean noMarginHtml,
int charWidth,
int charHeight,
boolean noMarginPdf,
boolean noMarginPs,
boolean noMarginRtf,
boolean isOnlyData).
rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clsversionResult - the version result filename of the report on the server side.rstFile - the local filename with the full path, which tempResult will
be exported to as JReport result file.htmlFile - the local filename with the full path, which tempResult will
be exported to as HTML file. For example: htmlFile is
c:\invoice the exported files are c:\invoice_0.html,
c:\invoice_1.html ...pdfFile - the local filename with the full path, which tempResult will
be exported to as PDF result file.txtFile - the local filename with the full path, which tempResult will
be exported to as TEXT result file.excelFile - the local filename with the full path, which tempResult will
be exported to as Excel result file.psFile - the local filename with the full path, which tempResult will
be exported to as PS result file.rtfFile - the local filename with the full path, which tempResult will
be exported to as RTF(Rich Text Format) result file.xmlFile - the local filename with the full path, which tempResult will
be exported to as XML result file.isNormalText - indicates whether this text file is a normal text format or
not(To TEXT).isRepeat - indicates whether the same contents are repeated(To TEXT).delimiter - A character which will be used in SDF(Standard Data Format)
format. A delimiter could be a ',' (the CSV format) or any
other characters. The default is ' ' (a blank), that is, the
SSV format(To TEXT).isMultiFiles - indicates whether html is generated to a file or to multiple
files(To HTML).isChartApplet - indicates whether the chart in html file is an applet(To
HTML).hasHyperlink - indicates whether the hyperlink is generated(To HTML).hasPageNumber - indicates whether to generate page number(To HTML).useTable - indicates whether use HTML table to generate the HTML page(To
HTML).relFontSize - indicates whether to generate HTML pages with relative font
size(To HTML).webBrowser - indicates generating HTML pages for which Web browser(To
HTML). 0 - IE; 1 - Netscape.drilldown - indicates whether drilldown the HTML result(To HTML).noMarginHtml - indicates whether no margin the HTML result(To HTML). Default
is false.charWidth - indicates the user defined character width(To TEXT). Default
is -1.charHeight - indicates the user defined character height(To TEXT). Default
is -1.noMarginPdf - indicates whether no margin the PDF result(To PDF). Default is
false.noMarginPs - indicates whether no margin the PostScript result(To
PostScript). Default is false.noMarginRtf - indicates whether no margin the RTF result(To RTF). Default is
false.isXMLMultiFiles - indicates whether XML is generated to a file or to multiple
files(To XML).isOnlyData - indicates that only database column information is exported to
the XML file, otherwise all report details, including all the
properties will be exported.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static boolean[] exportVersionResult(java.lang.String rptURL,
java.lang.String versionResult,
java.lang.String rstFile,
java.lang.String htmlFile,
java.lang.String pdfFile,
java.lang.String txtFile,
java.lang.String excelFile,
java.lang.String psFile,
java.lang.String rtfFile,
java.lang.String xmlFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown,
boolean noMarginHtml,
int charWidth,
int charHeight,
boolean noMarginPdf,
boolean noMarginPs,
boolean noMarginRtf,
boolean isOnlyData)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clsversionResult - the version result filename of the report on the server side.rstFile - the local filename with the full path, which tempResult will
be exported to as JReport result file.htmlFile - the local filename with the full path, which tempResult will
be exported to as HTML file. For example: htmlFile is
c:\invoice the exported files are c:\invoice_0.html,
c:\invoice_1.html ...pdfFile - the local filename with the full path, which tempResult will
be exported to as PDF result file.txtFile - the local filename with the full path, which tempResult will
be exported to as TEXT result file.excelFile - the local filename with the full path, which tempResult will
be exported to as Excel result file.psFile - the local filename with the full path, which tempResult will
be exported to as PS result file.rtfFile - the local filename with the full path, which tempResult will
be exported to as RTF(Rich Text Format) result file.xmlFile - the local filename with the full path, which tempResult will
be exported to as XML result file.isNormalText - indicates whether this text file is a normal text format or
not(To TEXT).isRepeat - indicates whether the same contents are repeated(To TEXT).delimiter - A character which will be used in SDF(Standard Data Format)
format. A delimiter could be a ',' (the CSV format) or any
other characters. The default is ' ' (a blank), that is, the
SSV format(To TEXT).isMultiFiles - indicates whether html is generated to a file or to multiple
files(To HTML).isChartApplet - indicates whether the chart in html file is an applet(To
HTML).hasHyperlink - indicates whether the hyperlink is generated(To HTML).hasPageNumber - indicates whether to generate page number(To HTML).useTable - indicates whether use HTML table to generate the HTML page(To
HTML).relFontSize - indicates whether to generate HTML pages with relative font
size(To HTML).webBrowser - indicates generating HTML pages for which Web browser(To
HTML). 0 - IE; 1 - Netscape.drilldown - indicates whether drilldown the HTML result(To HTML).noMarginHtml - indicates whether no margin the HTML result(To HTML). Default
is false.charWidth - indicates the user defined character width(To TEXT). Default
is -1.charHeight - indicates the user defined character height(To TEXT). Default
is -1.noMarginPdf - indicates whether no margin the PDF result(To PDF). Default is
false.noMarginPs - indicates whether no margin the PostScript result(To
PostScript). Default is false.noMarginRtf - indicates whether no margin the RTF result(To RTF). Default is
false.isOnlyData - indicates that only database column information is exported to
the XML file, otherwise all report details, including all the
properties will be exported.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static boolean[] exportVersionResult(java.lang.String rptURL,
java.lang.String versionResult,
java.lang.String rstFile,
java.lang.String htmlFile,
java.lang.String pdfFile,
java.lang.String txtFile,
java.lang.String excelFile,
java.lang.String psFile,
java.lang.String rtfFile,
java.lang.String xmlFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown,
boolean noMarginHtml,
int charWidth,
int charHeight,
boolean noMarginPdf,
boolean noMarginPs,
boolean noMarginRtf,
boolean isSimPrintMode,
int isCompressImage,
boolean isXMLMultiFiles,
boolean isOnlyData,
boolean isQuoteMark,
boolean hasHeadFoot)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
exportVersionResult(String rptURL,
String versionResult,
String rstFile,
String htmlFile,
String pdfFile,
String txtFile,
String excelFile,
String psFile,
String rtfFile,
String xmlFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown,
boolean noMarginHtml,
int charWidth,
int charHeight,
boolean noMarginPdf,
boolean noMarginPs,
boolean noMarginRtf,
boolean isSimPrintMode,
int isCompressImage,
boolean isOnlyData,
boolean isQuoteMark,
boolean hasHeadFoot).
rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clsversionResult - the version result filename of the report on the server side.rstFile - the local filename with the full path, which tempResult will
be exported to as JReport result file.htmlFile - the local filename with the full path, which tempResult will
be exported to as HTML file. For example: htmlFile is
c:\invoice the exported files are c:\invoice_0.html,
c:\invoice_1.html ...pdfFile - the local filename with the full path, which tempResult will
be exported to as PDF result file.txtFile - the local filename with the full path, which tempResult will
be exported to as TEXT result file.excelFile - the local filename with the full path, which tempResult will
be exported to as Excel result file.psFile - the local filename with the full path, which tempResult will
be exported to as PS result file.rtfFile - the local filename with the full path, which tempResult will
be exported to as RTF(Rich Text Format) result file.xmlFile - the local filename with the full path, which tempResult will
be exported to as XML result file.isNormalText - indicates whether this text file is a normal text format or
not(To TEXT).isRepeat - indicates whether the same contents are repeated(To TEXT).delimiter - A character which will be used in SDF(Standard Data Format)
format. A delimiter could be a ',' (the CSV format) or any
other characters. The default is ' ' (a blank), that is, the
SSV format(To TEXT).isMultiFiles - indicates whether html is generated to a file or to multiple
files(To HTML).isChartApplet - indicates whether the chart in html file is an applet(To
HTML).hasHyperlink - indicates whether the hyperlink is generated(To HTML).hasPageNumber - indicates whether to generate page number(To HTML).useTable - indicates whether use HTML table to generate the HTML page(To
HTML).relFontSize - indicates whether to generate HTML pages with relative font
size(To HTML).webBrowser - indicates generating HTML pages for which Web browser(To
HTML). 0 - IE; 1 - Netscape.drilldown - indicates whether drilldown the HTML result(To HTML).noMarginHtml - indicates whether no margin the HTML result(To HTML). Default
is false.charWidth - indicates the user defined character width(To TEXT). Default
is -1.charHeight - indicates the user defined character height(To TEXT). Default
is -1.noMarginPdf - indicates whether no margin the PDF result(To PDF). Default is
false.noMarginPs - indicates whether no margin the PostScript result(To
PostScript). Default is false.noMarginRtf - indicates whether no margin the RTF result(To RTF). Default is
false.isSimPrintMode - indicates whether pdf is generated with sim print mode(To
PDF). Default is false.isCompressImage - indicates whether compress image in file(To PDF).isXMLMultiFiles - indicates whether XML is generated to a file or to multiple
files(To XML).isOnlyData - indicates that only database column information is exported to
the XML file, otherwise all report details, including all the
properties will be exported.isQuoteMark - indicates whether the strings have quotemarks(To TEXT).hasHeadFoot - indicates whether to generate the page header or footer(To
TEXT).
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static boolean[] exportVersionResult(java.lang.String rptURL,
java.lang.String versionResult,
java.lang.String rstFile,
java.lang.String htmlFile,
java.lang.String pdfFile,
java.lang.String txtFile,
java.lang.String excelFile,
java.lang.String psFile,
java.lang.String rtfFile,
java.lang.String xmlFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown,
boolean noMarginHtml,
int charWidth,
int charHeight,
boolean noMarginPdf,
boolean noMarginPs,
boolean noMarginRtf,
boolean isSimPrintMode,
int isCompressImage,
boolean isOnlyData,
boolean isQuoteMark,
boolean hasHeadFoot)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clsversionResult - the version result filename of the report on the server side.rstFile - the local filename with the full path, which tempResult will
be exported to as JReport result file.htmlFile - the local filename with the full path, which tempResult will
be exported to as HTML file. For example: htmlFile is
c:\invoice the exported files are c:\invoice_0.html,
c:\invoice_1.html ...pdfFile - the local filename with the full path, which tempResult will
be exported to as PDF result file.txtFile - the local filename with the full path, which tempResult will
be exported to as TEXT result file.excelFile - the local filename with the full path, which tempResult will
be exported to as Excel result file.psFile - the local filename with the full path, which tempResult will
be exported to as PS result file.rtfFile - the local filename with the full path, which tempResult will
be exported to as RTF(Rich Text Format) result file.xmlFile - the local filename with the full path, which tempResult will
be exported to as XML result file.isNormalText - indicates whether this text file is a normal text format or
not(To TEXT).isRepeat - indicates whether the same contents are repeated(To TEXT).delimiter - A character which will be used in SDF(Standard Data Format)
format. A delimiter could be a ',' (the CSV format) or any
other characters. The default is ' ' (a blank), that is, the
SSV format(To TEXT).isMultiFiles - indicates whether html is generated to a file or to multiple
files(To HTML).isChartApplet - indicates whether the chart in html file is an applet(To
HTML).hasHyperlink - indicates whether the hyperlink is generated(To HTML).hasPageNumber - indicates whether to generate page number(To HTML).useTable - indicates whether use HTML table to generate the HTML page(To
HTML).relFontSize - indicates whether to generate HTML pages with relative font
size(To HTML).webBrowser - indicates generating HTML pages for which Web browser(To
HTML). 0 - IE; 1 - Netscape.drilldown - indicates whether drilldown the HTML result(To HTML).noMarginHtml - indicates whether no margin the HTML result(To HTML). Default
is false.charWidth - indicates the user defined character width(To TEXT). Default
is -1.charHeight - indicates the user defined character height(To TEXT). Default
is -1.noMarginPdf - indicates whether no margin the PDF result(To PDF). Default is
false.noMarginPs - indicates whether no margin the PostScript result(To
PostScript). Default is false.noMarginRtf - indicates whether no margin the RTF result(To RTF). Default is
false.isSimPrintMode - indicates whether pdf is generated with sim print mode(To
PDF). Default is false.isCompressImage - indicates whether compress image in file(To PDF).isOnlyData - indicates that only database column information is exported to
the XML file, otherwise all report details, including all the
properties will be exported.isQuoteMark - indicates whether the strings have quotemarks(To TEXT).hasHeadFoot - indicates whether to generate the page header or footer(To
TEXT).
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static boolean[] exportVersionResult(java.lang.String rptURL,
java.lang.String versionResult,
java.lang.String rstFile,
java.lang.String htmlFile,
java.lang.String pdfFile,
java.lang.String txtFile,
java.lang.String excelFile,
java.lang.String psFile,
java.lang.String rtfFile,
java.lang.String xmlFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown,
boolean noMarginHtml,
int charWidth,
int charHeight,
boolean noMarginPdf,
boolean noMarginPs,
boolean noMarginRtf,
boolean isSimPrintMode,
int isCompressImage,
boolean isXMLMultiFiles,
boolean isOnlyData,
boolean isQuoteMark,
boolean hasHeadFoot,
boolean isGifTrans)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clsversionResult - the version result filename of the report on the server side.rstFile - the local filename with the full path, which tempResult will
be exported to as JReport result file.htmlFile - the local filename with the full path, which tempResult will
be exported to as HTML file. For example: htmlFile is
c:\invoice the exported files are c:\invoice_0.html,
c:\invoice_1.html ...pdfFile - the local filename with the full path, which tempResult will
be exported to as PDF result file.txtFile - the local filename with the full path, which tempResult will
be exported to as TEXT result file.excelFile - the local filename with the full path, which tempResult will
be exported to as Excel result file.psFile - the local filename with the full path, which tempResult will
be exported to as PS result file.rtfFile - the local filename with the full path, which tempResult will
be exported to as RTF(Rich Text Format) result file.xmlFile - the local filename with the full path, which tempResult will
be exported to as XML result file.isNormalText - indicates whether this text file is a normal text format or
not(To TEXT).isRepeat - indicates whether the same contents are repeated(To TEXT).delimiter - A character which will be used in SDF(Standard Data Format)
format. A delimiter could be a ',' (the CSV format) or any
other characters. The default is ' ' (a blank), that is, the
SSV format(To TEXT).isMultiFiles - indicates whether html is generated to a file or to multiple
files(To HTML).isChartApplet - indicates whether the chart in html file is an applet(To
HTML).hasHyperlink - indicates whether the hyperlink is generated(To HTML).hasPageNumber - indicates whether to generate page number(To HTML).useTable - indicates whether use HTML table to generate the HTML page(To
HTML).relFontSize - indicates whether to generate HTML pages with relative font
size(To HTML).webBrowser - indicates generating HTML pages for which Web browser(To
HTML). 0 - IE; 1 - Netscape.drilldown - indicates whether drilldown the HTML result(To HTML).noMarginHtml - indicates whether no margin the HTML result(To HTML). Default
is false.charWidth - indicates the user defined character width(To TEXT). Default
is -1.charHeight - indicates the user defined character height(To TEXT). Default
is -1.noMarginPdf - indicates whether no margin the PDF result(To PDF). Default is
false.noMarginPs - indicates whether no margin the PostScript result(To
PostScript). Default is false.noMarginRtf - indicates whether no margin the RTF result(To RTF). Default is
false.isSimPrintMode - indicates whether pdf is generated with sim print mode(To
PDF). Default is false.isCompressImage - indicates whether compress image in file(To PDF).isXMLMultiFiles - indicates whether XML is generated to a file or to multiple
files(To XML).isOnlyData - indicates that only database column information is exported to
the XML file, otherwise all report details, including all the
properties will be exported.isQuoteMark - indicates whether the strings have quotemarks(To TEXT).hasHeadFoot - indicates whether to generate the page header or footer(To
TEXT).isGifTrans - indicates whether the figure is transparent or not(To PDF).
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static boolean[] exportVersionResult(java.lang.String rptURL,
java.lang.String versionResult,
java.lang.String rstFile,
java.lang.String htmlFile,
java.lang.String pdfFile,
java.lang.String txtFile,
java.lang.String excelFile,
java.lang.String psFile,
java.lang.String rtfFile,
java.lang.String xmlFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown,
boolean noMarginHtml,
boolean isDhtml,
int charWidth,
int charHeight,
boolean noMarginPdf,
boolean noMarginPs,
boolean noMarginRtf,
boolean isSimPrintMode,
int isCompressImage,
boolean isXMLMultiFiles,
boolean isOnlyData,
boolean isQuoteMark,
boolean hasHeadFoot,
boolean isGifTrans,
boolean bTxtCompress)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
exportVersionResult(String rptURL,
String versionResult,
String rstFile,
String htmlFile,
String pdfFile,
String txtFile,
String excelFile,
String psFile,
String rtfFile,
String xmlFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown,
boolean noMarginHtml,
boolean isDhtml,
int charWidth,
int charHeight,
boolean noMarginPdf,
boolean noMarginPs,
boolean noMarginRtf,
boolean isSimPrintMode,
int isCompressImage,
boolean isOnlyData,
boolean isQuoteMark,
boolean hasHeadFoot,
boolean isGifTrans,
boolean bTxtCompress).
rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clsversionResult - the version result filename of the report on the server side.rstFile - the local filename with the full path, which tempResult will
be exported to as JReport result file.htmlFile - the local filename with the full path, which tempResult will
be exported to as HTML file. For example: htmlFile is
c:\invoice the exported files are c:\invoice_0.html,
c:\invoice_1.html ...pdfFile - the local filename with the full path, which tempResult will
be exported to as PDF result file.txtFile - the local filename with the full path, which tempResult will
be exported to as TEXT result file.excelFile - the local filename with the full path, which tempResult will
be exported to as Excel result file.psFile - the local filename with the full path, which tempResult will
be exported to as PS result file.rtfFile - the local filename with the full path, which tempResult will
be exported to as RTF(Rich Text Format) result file.xmlFile - the local filename with the full path, which tempResult will
be exported to as XML result file.isNormalText - indicates whether this text file is a normal text format or
not(To TEXT).isRepeat - indicates whether the same contents are repeated(To TEXT).delimiter - A character which will be used in SDF(Standard Data Format)
format. A delimiter could be a ',' (the CSV format) or any
other characters. The default is ' ' (a blank), that is, the
SSV format(To TEXT).isMultiFiles - indicates whether html is generated to a file or to multiple
files(To HTML).isChartApplet - indicates whether the chart in html file is an applet(To
HTML).hasHyperlink - indicates whether the hyperlink is generated(To HTML).hasPageNumber - indicates whether to generate page number(To HTML).useTable - indicates whether use HTML table to generate the HTML page(To
HTML).relFontSize - indicates whether to generate HTML pages with relative font
size(To HTML).webBrowser - indicates generating HTML pages for which Web browser(To
HTML). 0 - IE; 1 - Netscape.drilldown - indicates whether drilldown the HTML result(To HTML).noMarginHtml - indicates whether no margin the HTML result(To HTML). Default
is false.isDhtml - indicates whether to show DHTML page(To HTML). Default is
false.charWidth - indicates the user defined character width(To TEXT). Default
is -1.charHeight - indicates the user defined character height(To TEXT). Default
is -1.noMarginPdf - indicates whether no margin the PDF result(To PDF). Default is
false.noMarginPs - indicates whether no margin the PostScript result(To
PostScript). Default is false.noMarginRtf - indicates whether no margin the RTF result(To RTF). Default is
false.isSimPrintMode - indicates whether pdf is generated with sim print mode(To
PDF). Default is false.isCompressImage - indicates whether compress image in file(To PDF).isXMLMultiFiles - indicates whether XML is generated to a file or to multiple
files(To XML).isOnlyData - indicates that only database column information is exported to
the XML file, otherwise all report details, including all the
properties will be exported.isQuoteMark - indicates whether the strings have quotemarks(To TEXT).hasHeadFoot - indicates whether to generate the page header or footer(To
TEXT).isGifTrans - indicates whether the figure is transparent or not(To PDF).bTxtCompress - indicates whether to compress the published text file(To
TEXT).
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static boolean[] exportVersionResult(java.lang.String rptURL,
java.lang.String versionResult,
java.lang.String rstFile,
java.lang.String htmlFile,
java.lang.String pdfFile,
java.lang.String txtFile,
java.lang.String excelFile,
java.lang.String psFile,
java.lang.String rtfFile,
java.lang.String xmlFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown,
boolean noMarginHtml,
boolean isDhtml,
int charWidth,
int charHeight,
boolean noMarginPdf,
boolean noMarginPs,
boolean noMarginRtf,
boolean isSimPrintMode,
int isCompressImage,
boolean isOnlyData,
boolean isQuoteMark,
boolean hasHeadFoot,
boolean isGifTrans,
boolean bTxtCompress)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clsversionResult - the version result filename of the report on the server side.rstFile - the local filename with the full path, which tempResult will
be exported to as JReport result file.htmlFile - the local filename with the full path, which tempResult will
be exported to as HTML file. For example: htmlFile is
c:\invoice the exported files are c:\invoice_0.html,
c:\invoice_1.html ...pdfFile - the local filename with the full path, which tempResult will
be exported to as PDF result file.txtFile - the local filename with the full path, which tempResult will
be exported to as TEXT result file.excelFile - the local filename with the full path, which tempResult will
be exported to as Excel result file.psFile - the local filename with the full path, which tempResult will
be exported to as PS result file.rtfFile - the local filename with the full path, which tempResult will
be exported to as RTF(Rich Text Format) result file.xmlFile - the local filename with the full path, which tempResult will
be exported to as XML result file.isNormalText - indicates whether this text file is a normal text format or
not(To TEXT).isRepeat - indicates whether the same contents are repeated(To TEXT).delimiter - A character which will be used in SDF(Standard Data Format)
format. A delimiter could be a ',' (the CSV format) or any
other characters. The default is ' ' (a blank), that is, the
SSV format(To TEXT).isMultiFiles - indicates whether html is generated to a file or to multiple
files(To HTML).isChartApplet - indicates whether the chart in html file is an applet(To
HTML).hasHyperlink - indicates whether the hyperlink is generated(To HTML).hasPageNumber - indicates whether to generate page number(To HTML).useTable - indicates whether use HTML table to generate the HTML page(To
HTML).relFontSize - indicates whether to generate HTML pages with relative font
size(To HTML).webBrowser - indicates generating HTML pages for which Web browser(To
HTML). 0 - IE; 1 - Netscape.drilldown - indicates whether drilldown the HTML result(To HTML).noMarginHtml - indicates whether no margin the HTML result(To HTML). Default
is false.isDhtml - indicates whether to show DHTML page(To HTML). Default is
false.charWidth - indicates the user defined character width(To TEXT). Default
is -1.charHeight - indicates the user defined character height(To TEXT). Default
is -1.noMarginPdf - indicates whether no margin the PDF result(To PDF). Default is
false.noMarginPs - indicates whether no margin the PostScript result(To
PostScript). Default is false.noMarginRtf - indicates whether no margin the RTF result(To RTF). Default is
false.isSimPrintMode - indicates whether pdf is generated with sim print mode(To
PDF). Default is false.isCompressImage - indicates whether compress image in file(To PDF).isOnlyData - indicates that only database column information is exported to
the XML file, otherwise all report details, including all the
properties will be exported.isQuoteMark - indicates whether the strings have quotemarks(To TEXT).hasHeadFoot - indicates whether to generate the page header or footer(To
TEXT).isGifTrans - indicates whether the figure is transparent or not(To PDF).bTxtCompress - indicates whether to compress the published text file(To
TEXT).
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static boolean[] exportVersionResult(java.lang.String rptURL,
java.lang.String versionResult,
java.lang.String rstFile,
java.lang.String htmlFile,
java.lang.String pdfFile,
java.lang.String txtFile,
java.lang.String excelFile,
java.lang.String psFile,
java.lang.String rtfFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clsversionResult - the version result filename of the report on the server side.rstFile - the local filename with the full path, which tempResult will
be exported to as JReport result file.htmlFile - the local filename with the full path, which tempResult will
be exported to as HTML file. For example: htmlFile is
c:\invoice the exported files are c:\invoice_0.html,
c:\invoice_1.html ...pdfFile - the local filename with the full path, which tempResult will
be exported to as PDF result file.txtFile - the local filename with the full path, which tempResult will
be exported to as TEXT result file.excelFile - the local filename with the full path, which tempResult will
be exported to as Excel result file.psFile - the local filename with the full path, which tempResult will
be exported to as PS result file.rtfFile - the local filename with the full path, which tempResult will
be exported to as RTF(Rich Text Format) result file.isNormalText - indicates whether this text file is a normal text format or
not(To TEXT).isRepeat - indicates whether the same contents are repeated(To TEXT).delimiter - A character which will be used in SDF(Standard Data Format)
format. A delimiter could be a ',' (the CSV format) or any
other characters. The default is ' ' (a blank), that is, the
SSV format(To TEXT).isMultiFiles - indicates whether html is generated to a file or to multiple
files(To HTML).isChartApplet - indicates whether the chart in html file is an applet(To
HTML).hasHyperlink - indicates whether the hyperlink is generated(To HTML).hasPageNumber - indicates whether to generate page number(To HTML).useTable - indicates whether use HTML table to generate the HTML page(To
HTML).relFontSize - indicates whether to generate HTML pages with relative font
size(To HTML).webBrowser - indicates generating HTML pages for which Web browser(To
HTML). 0 - IE; 1 - Netscape.drilldown - indicates whether drilldown the HTML result(To HTML).
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static boolean[] exportVersionResult(java.lang.String rptURL,
java.lang.String versionResult,
java.lang.String rstFile,
java.lang.String htmlFile,
java.lang.String pdfFile,
java.lang.String txtFile,
java.lang.String excelFile,
java.lang.String psFile,
java.lang.String rtfFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown,
boolean noMarginHtml,
int charWidth,
int charHeight,
boolean noMarginPdf,
boolean noMarginPs,
boolean noMarginRtf)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clsversionResult - the version result filename of the report on the server side.rstFile - the local filename with the full path, which tempResult will
be exported to as JReport result file.htmlFile - the local filename with the full path, which tempResult will
be exported to as HTML file. For example: htmlFile is
c:\invoice the exported files are c:\invoice_0.html,
c:\invoice_1.html ...pdfFile - the local filename with the full path, which tempResult will
be exported to as PDF result file.txtFile - the local filename with the full path, which tempResult will
be exported to as TEXT result file.excelFile - the local filename with the full path, which tempResult will
be exported to as Excel result file.psFile - the local filename with the full path, which tempResult will
be exported to as PS result file.rtfFile - the local filename with the full path, which tempResult will
be exported to as RTF(Rich Text Format) result file.isNormalText - indicates whether this text file is a normal text format or
not(To TEXT).isRepeat - indicates whether the same contents are repeated(To TEXT).delimiter - A character which will be used in SDF(Standard Data Format)
format. A delimiter could be a ',' (the CSV format) or any
other characters. The default is ' ' (a blank), that is, the
SSV format(To TEXT).isMultiFiles - indicates whether html is generated to a file or to multiple
files(To HTML).isChartApplet - indicates whether the chart in html file is an applet(To
HTML).hasHyperlink - indicates whether the hyperlink is generated(To HTML).hasPageNumber - indicates whether to generate page number(To HTML).useTable - indicates whether use HTML table to generate the HTML page(To
HTML).relFontSize - indicates whether to generate HTML pages with relative font
size(To HTML).webBrowser - indicates generating HTML pages for which Web browser(To
HTML). 0 - IE; 1 - Netscape.drilldown - indicates whether drilldown the HTML result(To HTML).noMarginHtml - indicates whether no margin the HTML result(To HTML). Default
is false.charWidth - indicates the user defined character width(To TEXT). Default
is -1.charHeight - indicates the user defined character height(To TEXT). Default
is -1.noMarginPdf - indicates whether no margin the PDF result(To PDF). Default is
false.noMarginPs - indicates whether no margin the PostScript result(To
PostScript). Default is false.noMarginRtf - indicates whether no margin the RTF result(To RTF). Default is
false.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static boolean[] exportVersionResult(java.lang.String rptURL,
java.lang.String versionResult,
java.lang.String rstFile,
java.lang.String htmlFile,
java.lang.String pdfFile,
java.lang.String txtFile,
java.lang.String excelFile,
java.lang.String psFile,
java.lang.String rtfFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown,
boolean noMarginHtml,
int charWidth,
int charHeight,
boolean noMarginPdf,
boolean noMarginPs,
boolean noMarginRtf,
boolean isSimPrintMode,
int isCompressImage)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clsversionResult - the version result filename of the report on the server side.rstFile - the local filename with the full path, which tempResult will
be exported to as JReport result file.htmlFile - the local filename with the full path, which tempResult will
be exported to as HTML file. For example: htmlFile is
c:\invoice the exported files are c:\invoice_0.html,
c:\invoice_1.html ...pdfFile - the local filename with the full path, which tempResult will
be exported to as PDF result file.txtFile - the local filename with the full path, which tempResult will
be exported to as TEXT result file.excelFile - the local filename with the full path, which tempResult will
be exported to as Excel result file.psFile - the local filename with the full path, which tempResult will
be exported to as PS result file.rtfFile - the local filename with the full path, which tempResult will
be exported to as RTF(Rich Text Format) result file.isNormalText - indicates whether this text file is a normal text format or
not(To TEXT).isRepeat - indicates whether the same contents are repeated(To TEXT).delimiter - A character which will be used in SDF(Standard Data Format)
format. A delimiter could be a ',' (the CSV format) or any
other characters. The default is ' ' (a blank), that is, the
SSV format(To TEXT).isMultiFiles - indicates whether html is generated to a file or to multiple
files(To HTML).isChartApplet - indicates whether the chart in html file is an applet(To
HTML).hasHyperlink - indicates whether the hyperlink is generated(To HTML).hasPageNumber - indicates whether to generate page number(To HTML).useTable - indicates whether use HTML table to generate the HTML page(To
HTML).relFontSize - indicates whether to generate HTML pages with relative font
size(To HTML).webBrowser - indicates generating HTML pages for which Web browser(To
HTML). 0 - IE; 1 - Netscape.drilldown - indicates whether drilldown the HTML result(To HTML).noMarginHtml - indicates whether no margin the HTML result(To HTML). Default
is false.charWidth - indicates the user defined character width(To TEXT). Default
is -1.charHeight - indicates the user defined character height(To TEXT). Default
is -1.noMarginPdf - indicates whether no margin the PDF result(To PDF). Default is
false.noMarginPs - indicates whether no margin the PostScript result(To
PostScript). Default is false.noMarginRtf - indicates whether no margin the RTF result(To RTF). Default is
false.isSimPrintMode - indicates whether pdf is generated with sim print mode(To
PDF). Default is false.isCompressImage - indicates whether compress image in file(To PDF).
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static boolean[] exportVersionResult(java.lang.String rptURL,
java.lang.String versionResult,
java.lang.String rstFile,
java.lang.String htmlFile,
java.lang.String pdfFile,
java.lang.String txtFile,
java.lang.String excelFile,
java.lang.String psFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
exportVersionResult(String rptURL,
String versionResult,
String rstFile,
String htmlFile,
String pdfFile,
String txtFile,
String excelFile,
String psFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser).
rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clsversionResult - the version result filename of the report on the server side.rstFile - the local filename with the full path, which tempResult will
be exported to as JReport result file.htmlFile - the local filename with the full path, which tempResult will
be exported to as HTML file. For example: htmlFile is
c:\invoice the exported files are c:\invoice_0.html,
c:\invoice_1.html ...pdfFile - the local filename with the full path, which tempResult will
be exported to as PDF result file.txtFile - the local filename with the full path, which tempResult will
be exported to as TEXT result file.excelFile - the local filename with the full path, which tempResult will
be exported to as Excel result file.psFile - the local filename with the full path, which tempResult will
be exported to as PS result file.isNormalText - indicates whether this text file is a normal text format or
not(To TEXT).isRepeat - indicates whether the same contents are repeated(To TEXT).delimiter - A character which will be used in SDF(Standard Data Format)
format. A delimiter could be a ',' (the CSV format) or any
other characters. The default is ' ' (a blank), that is, the
SSV format(To TEXT).isMultiFiles - indicates whether html is generated to a file or to multiple
files(To HTML).isChartApplet - indicates whether the chart in html file is an applet(To
HTML).hasHyperlink - indicates whether the hyperlink is generated(To HTML).hasPageNumber - indicates whether to generate page number(To HTML).
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static boolean[] exportVersionResult(java.lang.String rptURL,
java.lang.String versionResult,
java.lang.String rstFile,
java.lang.String htmlFile,
java.lang.String pdfFile,
java.lang.String txtFile,
java.lang.String excelFile,
java.lang.String psFile,
java.lang.String rtfFile,
java.lang.String xmlFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown,
boolean noMarginHtml,
boolean isDhtml,
int charWidth,
int charHeight,
boolean noMarginPdf,
boolean noMarginPs,
boolean noMarginRtf,
boolean isSimPrintMode,
int isCompressImage,
boolean isXMLMultiFiles,
boolean isOnlyData,
boolean isQuoteMark,
boolean hasHeadFoot,
boolean isGifTrans,
boolean bTxtCompress,
boolean bExportLocal,
int WordWrapExecl,
java.lang.String xsdFileName,
boolean excel2000)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clsversionResult - the version result filename of the report on the server side.rstFile - the local filename with the full path, which tempResult will
be exported to as JReport result file.htmlFile - the local filename with the full path, which tempResult will
be exported to as HTML file. For example: htmlFile is
c:\invoice the exported files are c:\invoice_0.html,
c:\invoice_1.html ...pdfFile - the local filename with the full path, which tempResult will
be exported to as PDF result file.txtFile - the local filename with the full path, which tempResult will
be exported to as TEXT result file.excelFile - the local filename with the full path, which tempResult will
be exported to as Excel result file.psFile - the local filename with the full path, which tempResult will
be exported to as PS result file.rtfFile - the local filename with the full path, which tempResult will
be exported to as RTF(Rich Text Format) result file.xmlFile - the local filename with the full path, which tempResult will
be exported to as XML result file.isNormalText - indicates whether this text file is a normal text format or
not(To TEXT).isRepeat - indicates whether the same contents are repeated(To TEXT).delimiter - A character which will be used in SDF(Standard Data Format)
format. A delimiter could be a ',' (the CSV format) or any
other characters. The default is ' ' (a blank), that is, the
SSV format(To TEXT).isMultiFiles - indicates whether html is generated to a file or to multiple
files(To HTML).isChartApplet - indicates whether the chart in html file is an applet(To
HTML).hasHyperlink - indicates whether the hyperlink is generated(To HTML).hasPageNumber - indicates whether to generate page number(To HTML).useTable - indicates whether use HTML table to generate the HTML page(To
HTML).relFontSize - indicates whether to generate HTML pages with relative font
size(To HTML).webBrowser - indicates generating HTML pages for which Web browser(To
HTML). 0 - IE; 1 - Netscape.drilldown - indicates whether drilldown the HTML result(To HTML).noMarginHtml - indicates whether no margin the HTML result(To HTML). Default
is false.isDhtml - indicates whether to show DHTML page(To HTML). Default is
false.charWidth - indicates the user defined character width(To TEXT). Default
is -1.charHeight - indicates the user defined character height(To TEXT). Default
is -1.noMarginPdf - indicates whether no margin the PDF result(To PDF). Default is
false.noMarginPs - indicates whether no margin the PostScript result(To
PostScript). Default is false.noMarginRtf - indicates whether no margin the RTF result(To RTF). Default is
false.isSimPrintMode - indicates whether pdf is generated with sim print mode(To
PDF). Default is false.isCompressImage - indicates whether compress image in file(To PDF).isXMLMultiFiles - indicates whether XML is generated to a file or to multiple
files(To XML).isOnlyData - indicates that only database column information is exported to
the XML file, otherwise all report details, including all the
properties will be exported.isQuoteMark - indicates whether the strings have quotemarks(To TEXT).hasHeadFoot - indicates whether to generate the page header or footer(To
TEXT).isGifTrans - indicates whether the figure is transparent or not(To PDF).bTxtCompress - indicates whether to compress the published text file(To
TEXT).bExportLocal - indicates whether export to local or not.WordWrapExcel - indicate whether the Excel result need to be wordwraped(To
Excel)xsdFileName - indicate the xsd file path(To XML)excel2000 - indicates whether the result has excel2000 format.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static boolean[] exportVersionResult(java.lang.String rptURL,
java.lang.String versionResult,
java.lang.String rstFile,
java.lang.String htmlFile,
java.lang.String pdfFile,
java.lang.String txtFile,
java.lang.String excelFile,
java.lang.String psFile,
java.lang.String rtfFile,
java.lang.String xmlFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown,
boolean noMarginHtml,
boolean isDhtml,
int charWidth,
int charHeight,
boolean noMarginPdf,
boolean noMarginPs,
boolean noMarginRtf,
boolean isSimPrintMode,
int isCompressImage,
boolean isXMLMultiFiles,
boolean isOnlyData,
boolean isQuoteMark,
boolean hasHeadFoot,
boolean isGifTrans,
boolean bTxtCompress,
boolean bExportLocal,
int WordWrapExecl,
java.lang.String xsdFileName,
boolean excel2000,
boolean isToc,
boolean isDrilldown,
int htmlResolution)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clsversionResult - the version result filename of the report on the server side.rstFile - the local filename with the full path, which tempResult will
be exported to as JReport result file.htmlFile - the local filename with the full path, which tempResult will
be exported to as HTML file. For example: htmlFile is
c:\invoice the exported files are c:\invoice_0.html,
c:\invoice_1.html ...pdfFile - the local filename with the full path, which tempResult will
be exported to as PDF result file.txtFile - the local filename with the full path, which tempResult will
be exported to as TEXT result file.excelFile - the local filename with the full path, which tempResult will
be exported to as Excel result file.psFile - the local filename with the full path, which tempResult will
be exported to as PS result file.rtfFile - the local filename with the full path, which tempResult will
be exported to as RTF(Rich Text Format) result file.xmlFile - the local filename with the full path, which tempResult will
be exported to as XML result file.isNormalText - indicates whether this text file is a normal text format or
not(To TEXT).isRepeat - indicates whether the same contents are repeated(To TEXT).delimiter - A character which will be used in SDF(Standard Data Format)
format. A delimiter could be a ',' (the CSV format) or any
other characters. The default is ' ' (a blank), that is, the
SSV format(To TEXT).isMultiFiles - indicates whether html is generated to a file or to multiple
files(To HTML).isChartApplet - indicates whether the chart in html file is an applet(To
HTML).hasHyperlink - indicates whether the hyperlink is generated(To HTML).hasPageNumber - indicates whether to generate page number(To HTML).useTable - indicates whether use HTML table to generate the HTML page(To
HTML).relFontSize - indicates whether to generate HTML pages with relative font
size(To HTML).webBrowser - indicates generating HTML pages for which Web browser(To
HTML). 0 - IE; 1 - Netscape.drilldown - indicates whether drilldown the HTML result(To HTML).noMarginHtml - indicates whether no margin the HTML result(To HTML). Default
is false.isDhtml - indicates whether to show DHTML page(To HTML). Default is
false.charWidth - indicates the user defined character width(To TEXT). Default
is -1.charHeight - indicates the user defined character height(To TEXT). Default
is -1.noMarginPdf - indicates whether no margin the PDF result(To PDF). Default is
false.noMarginPs - indicates whether no margin the PostScript result(To
PostScript). Default is false.noMarginRtf - indicates whether no margin the RTF result(To RTF). Default is
false.isSimPrintMode - indicates whether pdf is generated with sim print mode(To
PDF). Default is false.isCompressImage - indicates whether compress image in file(To PDF).isXMLMultiFiles - indicates whether XML is generated to a file or to multiple
files(To XML).isOnlyData - indicates that only database column information is exported to
the XML file, otherwise all report details, including all the
properties will be exported.isQuoteMark - indicates whether the strings have quotemarks(To TEXT).hasHeadFoot - indicates whether to generate the page header or footer(To
TEXT).isGifTrans - indicates whether the figure is transparent or not(To PDF).bTxtCompress - indicates whether to compress the published text file(To
TEXT).bExportLocal - indicates whether export to local or not.WordWrapExcel - indicate whether the Excel result need to be wordwraped(To
Excel)xsdFileName - indicate the xsd file path(To XML)excel2000 - indicates whether the result has excel2000 format.isToc - indicates whether the result has TOC(To PDF).isDrilldown - indicates whether drilldown the PDF result(To PDF).htmlResolution - indicates the resolution of the html file(To HTML).
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static boolean[] exportVersionResult(java.lang.String rptURL,
java.lang.String versionResult,
java.lang.String rstFile,
java.lang.String htmlFile,
java.lang.String pdfFile,
java.lang.String txtFile,
java.lang.String excelFile,
java.lang.String psFile,
java.lang.String rtfFile,
java.lang.String xmlFile,
boolean isNormalText,
boolean isRepeat,
char delimiter,
boolean isMultiFiles,
boolean isChartApplet,
boolean hasHyperlink,
boolean hasPageNumber,
boolean useTable,
boolean relFontSize,
int webBrowser,
boolean drilldown,
boolean noMarginHtml,
boolean isDhtml,
int charWidth,
int charHeight,
boolean noMarginPdf,
boolean noMarginPs,
boolean noMarginRtf,
boolean isSimPrintMode,
int isCompressImage,
boolean isXMLMultiFiles,
boolean isOnlyData,
boolean isQuoteMark,
boolean hasHeadFoot,
boolean isGifTrans,
boolean bTxtCompress,
boolean bExportLocal,
int WordWrapExecl,
java.lang.String xsdFileName,
boolean excel2000,
boolean isToc,
boolean isDrilldown,
int htmlResolution,
boolean forWindows,
int overflow,
boolean hasShapes,
boolean isCsv,
boolean isTab)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clsversionResult - the version result filename of the report on the server side.rstFile - the local filename with the full path, which tempResult will
be exported to as JReport result file.htmlFile - the local filename with the full path, which tempResult will
be exported to as HTML file. For example: htmlFile is
c:\invoice the exported files are c:\invoice_0.html,
c:\invoice_1.html ...pdfFile - the local filename with the full path, which tempResult will
be exported to as PDF result file.txtFile - the local filename with the full path, which tempResult will
be exported to as TEXT result file.excelFile - the local filename with the full path, which tempResult will
be exported to as Excel result file.psFile - the local filename with the full path, which tempResult will
be exported to as PS result file.rtfFile - the local filename with the full path, which tempResult will
be exported to as RTF(Rich Text Format) result file.xmlFile - the local filename with the full path, which tempResult will
be exported to as XML result file.isNormalText - indicates whether this text file is a normal text format or
not(To TEXT).isRepeat - indicates whether the same contents are repeated(To TEXT).delimiter - A character which will be used in SDF(Standard Data Format)
format. A delimiter could be a ',' (the CSV format) or any
other characters. The default is ' ' (a blank), that is, the
SSV format(To TEXT).isMultiFiles - indicates whether html is generated to a file or to multiple
files(To HTML).isChartApplet - indicates whether the chart in html file is an applet(To
HTML).hasHyperlink - indicates whether the hyperlink is generated(To HTML).hasPageNumber - indicates whether to generate page number(To HTML).useTable - indicates whether use HTML table to generate the HTML page(To
HTML).relFontSize - indicates whether to generate HTML pages with relative font
size(To HTML).webBrowser - indicates generating HTML pages for which Web browser(To
HTML). 0 - IE; 1 - Netscape.drilldown - indicates whether drilldown the HTML result(To HTML).noMarginHtml - indicates whether no margin the HTML result(To HTML). Default
is false.isDhtml - indicates whether to show DHTML page(To HTML). Default is
false.charWidth - indicates the user defined character width(To TEXT). Default
is -1.charHeight - indicates the user defined character height(To TEXT). Default
is -1.noMarginPdf - indicates whether no margin the PDF result(To PDF). Default is
false.noMarginPs - indicates whether no margin the PostScript result(To
PostScript). Default is false.noMarginRtf - indicates whether no margin the RTF result(To RTF). Default is
false.isSimPrintMode - indicates whether pdf is generated with sim print mode(To
PDF). Default is false.isCompressImage - indicates whether compress image in file(To PDF).isXMLMultiFiles - indicates whether XML is generated to a file or to multiple
files(To XML).isOnlyData - indicates that only database column information is exported to
the XML file, otherwise all report details, including all the
properties will be exported.isQuoteMark - indicates whether the strings have quotemarks(To TEXT).hasHeadFoot - indicates whether to generate the page header or footer(To
TEXT).isGifTrans - indicates whether the figure is transparent or not(To PDF).bTxtCompress - indicates whether to compress the published text file(To
TEXT).bExportLocal - indicates whether export to local or not.WordWrapExcel - indicate whether the Excel result need to be wordwraped(To
Excel)xsdFileName - indicate the xsd file path(To XML)excel2000 - indicates whether the result has excel2000 format.isToc - indicates whether the result has TOC(To PDF).isDrilldown - indicates whether drilldown the PDF result(To PDF).htmlResolution - indicates the resolution of the html file(To HTML).forWindows - indicates whether to apply "\r\n" for OS390 and Windows or
"\n" for UNIX to the text file(To TEXT).overflow - indicates the text overflow type of the html file(To HTML).hasShapes - indicates whether the excel file has shapes(To EXCEL).isCsv - indicates the whether text file has csv format(To TEXT).isTab - indicates the whether text file has tab delimiter(To TEXT).
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static boolean[] exportVersionResultEx(java.lang.String rptURL,
java.lang.String versionResult,
java.util.Hashtable exportProps,
boolean bExportLocal)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clsversionResult - the version result filename of the report on the server side.exportProps - the properties that used in exporting result. the properties
can include values for following keys. | Key | Description of Associated Value |
|---|---|
APIConst.TAG_RST |
the local filename with the full path, which tempResult will be exported to as JReport result file. |
APIConst.TAG_HTML |
the local filename with the full path, which tempResult will be exported to as HTML file. For example: htmlFile is c:\invoice the exported files are c:\invoice_0.html, c:\invoice_1.html ... |
APIConst.TAG_PDF |
the local filename with the full path, which tempResult will be exported to as PDF result file. |
APIConst.TAG_TEXT |
the local filename with the full path, which tempResult will be exported to as TEXT result file. |
APIConst.TAG_EXCEL |
the local filename with the full path, which tempResult will be exported to as Excel result file. |
APIConst.TAG_PS |
the local filename with the full path, which tempResult will be exported to as PS result file. |
APIConst.TAG_RTF |
the local filename with the full path, which tempResult will be exported to as RTF(Rich Text Format) result file. |
APIConst.TAG_XML |
the local filename with the full path, which tempResult will be exported to as XML result file. |
APIConst.TAG_IS_NORMAL_TEXT |
a string representation of boolean, indicates whether this text file is a normal text format or not(To TEXT). Default is true. |
APIConst.TAG_IS_REPEAT |
a string representation of boolean, indicates whether the same contents are repeated(To TEXT). Default is false. |
APIConst.TAG_DELIMITER |
a string representation of character, this character which will be used in SDF(Standard Data Format) format. A delimiter could be a ',' (the CSV format) or any other characters. The default is ' ' (a blank), that is, the SSV format(To TEXT). |
APIConst.TAG_IS_MULTI_FILES |
a string representation of boolean, indicates whether html is generated to a file or to multiple files(To HTML). Default is true. |
APIConst.TAG_IS_CHART_APPLET |
a string representation of boolean, indicates whether the chart in html file is an applet(To HTML). Default is false |
APIConst.TAG_HAS_HYPERLINK |
a string representation of boolean, indicates whether the hyperlink is generated(To HTML). Default is true. |
APIConst.TAG_HAS_PAGE_NUMBER |
a string representation of boolean, indicates whether to generate page number(To HTML). Default is true. |
APIConst.TAG_USE_TABLE |
a string representation of boolean, indicates whether use HTML table to generate the HTML page(To HTML). Default is false. |
APIConst.TAG_RELATIVE_FONT_SIZE |
a string representation of boolean, indicates whether to generate HTML pages with relative font size(To HTML). Default is false |
APIConst.TAG_WEB_BROWSER |
a string representation of integer, indicates generating HTML pages for which Web browser(To HTML). 0 - IE; 1 - Netscape. Default is 0. |
APIConst.TAG_DRILLDOWN |
a string representation of boolean, indicates whether drilldown the HTML result(To HTML). Default is false. |
APIConst.TAG_NO_MARGIN_HTML |
a string representation of boolean, indicates whether no margin the HTML result(To HTML). Default is false. |
APIConst.TAG_IS_DHTML |
a string representation of boolean, indicates whether to show DHTML page(To HTML). Default is false. |
APIConst.TAG_CHAR_WIDTH |
a string representation of integer, indicates the user defined character width(To TEXT). Default is -1. |
APIConst.TAG_HEIGHT |
a string representation of integer, indicates the user defined character height(To TEXT). Default is -1. |
APIConst.TAG_NO_MARGIN_PDF |
a string representation of boolean, indicates whether no margin the PDF result(To PDF). Default is false. |
APIConst.TAG_NO_MARGIN_PS |
a string representation of boolean, indicates whether no margin the PostScript result(To PostScript). Default is false. |
APIConst.TAG_NO_MARGIN_RTF |
a string representation of boolean, indicates whether no margin the RTF result(To RTF). Default is false. |
APIConst.TAG_PRINT_MODE_PDF |
a string representation of boolean, indicates whether pdf is generated with sim print mode(To PDF). Default is false. |
APIConst.TAG_COMPRESS_IMAGE_PDF |
a string representation of integer, indicates compress rate of image in file(To PDF). Default is 20(20%). |
APIConst.TAG_IS_XML_MULTI_FILES |
a string representation of boolean, indicates whether XML is generated to a file or to multiple files(To XML). Default is false. |
APIConst.TAG_IS_ONLY_DATA |
a string representation of boolean, indicates that only database column information is exported to the XML file, otherwise all report details, including all the properties will be exported. Default is true. |
APIConst.TAG_IS_QUOTEMARK |
a string representation of boolean, indicates whether the strings have quotemarks(To TEXT). Default is false. |
APIConst.TAG_HASHEADFOOT |
a string representation of boolean, indicates whether to generate the page header or footer(To TEXT). Default is false. |
APIConst.TAG_GIF_TRANSPARENT_PDF |
a string representation of boolean, indicates whether the figure is transparent or not(To PDF). Default is false. |
APIConst.TAG_TXT_COMPRESS |
a string representation of boolean, indicates whether to compress the published text file(To TEXT). Default is false. |
APIConst.TAG_WORDWRAP_EXCEL |
a string representation of integer, indicates whether the excel result need to be wordwraped(To Excel). 0 - All Kept, 1 - All Disabled, 2 - All Enabled. Default is 0. |
APIConst.TAG_XSDFILE |
indicate the xsd file path(To XML) |
APIConst.TAG_EXCEL2000 |
a string representation of boolean, indicates whether the result has excel2000 format. Default is false. |
APIConst.TAG_TOC_PDF |
a string representation of boolean, indicates whether the result has TOC(To PDF). Default is false. |
APIConst.TAG_DRILLDOWN_PDF |
a string representation of boolean, indicates whether drilldown the PDF result(To PDF). Default is fasle. |
APIConst.TAG_HTML_RESOLUTION |
a string representation of integer, indicates the resolution of the html file(To HTML). Default is -1. |
APIConst.TAG_TXT_WINDOWS |
a string representation of boolean, indicates whether to apply "\r\n" for OS390 and Windows or "\n" for UNIX to the text file(To TEXT). Default is true. |
APIConst.TAG_TEXT_OVERFLOW |
a string representation of integer, indicates the text overflow type of the html file(To HTML). Default is 0. |
APIConst.TAG_HAS_SHAPES |
a string representation of boolean, indicates whether the excel file has shapes(To EXCEL). Default is false. |
APIConst.TAG_IS_CSV |
a string representation of boolean, indicates the whether text file has csv format(To TEXT). Default is false. |
APIConst.TAG_IS_TAB |
a string representation of boolean, indicates the whether text file has tab delimiter(To TEXT). Default is false. |
bExportLocal - indicates whether export to local or not.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static boolean isTempResultReady(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String tempResult)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clstempResult - the temporary result filename of the report on the server
side.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static void waitTempResultReady(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String tempResult)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException,
TimeoutException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clstempResult - the temporary result filename of the report on the server
side.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
TimeoutException - if a TimeoutException occurs.
public static void waitTempResultReady(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String tempResult,
int timeout)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException,
TimeoutException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clstempResult - the temporary result filename of the report on the server
side.timeout - the timeout in milliseconds.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
TimeoutException - if a TimeoutException occurs.
public static java.io.InputStream getTempResultInputStream(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String tempResult)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException,
TimeoutException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clstempResult - the temporary result filename of the report on the server
side.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
TimeoutException - if a TimeoutException occurs.
public static java.io.InputStream getTempResultInputStream(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String tempResult,
int timeout)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException,
TimeoutException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.clstempResult - the temporary result filename of the report on the server
side.timeout - the timeout in milliseconds.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
TimeoutException - if a TimeoutException occurs.
public static java.io.InputStream getFoldersInputStream(java.awt.Frame frame,
java.lang.String svrURL)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException,
TimeoutException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/jrservertempResult - the properties of folder resource list on the server side.timeout - the timeout in milliseconds.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
TimeoutException - if a TimeoutException occurs.
public static java.lang.String downloadResultFiles(java.awt.Frame frame,
java.lang.String svrURL,
java.lang.String rptPath,
java.lang.String versionNum,
java.lang.String suffix,
java.lang.String restorePath)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException,
TimeoutException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).svrURL - the url string of the report in a report server. For example:
http://server:8888/jrserverrptPath - the path of the report on the server side. For example:
/SampleReports/CustomerAnalysis.clsversionNum - the number of the version.suffix - the type of the result.restorePath - the specified path who be used to restore the temporary files.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
TimeoutException - if a TimeoutException occurs.
public static java.lang.String downloadResultFiles(java.awt.Frame frame,
java.lang.String svrURL,
java.lang.String rptPath,
java.lang.String versionNum,
java.lang.String suffix,
java.lang.String restorePath,
java.lang.String sheet)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException,
TimeoutException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy Authentication Required response).svrURL - the url string of the report in a report server. For example: http://server:8888/jrserverrptPath - the path of the report on the server side. For example: /SampleReports/CustomerAnalysis.clsversionNum - the number of the version.suffix - the type of the result.restorePath - the specified path who be used to restore the temporary files.sheet - the report sheet name.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
TimeoutException - if a TimeoutException occurs.
public static boolean hasResultFiles(java.awt.Frame frame,
java.lang.String svrURL,
java.lang.String rptPath,
java.lang.String versionNum,
java.lang.String suffix,
java.lang.String restorePath)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException,
TimeoutException
java.net.MalformedURLException
java.io.IOException
JRResponseException
TimeoutException
public static java.io.InputStream getSelectedFolderComment(java.awt.Frame frame,
java.lang.String svrURL)
throws java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/jrserver/foldernametempResult - the properties of the folder's files list on the server side.timeout - the timeout in milliseconds.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
TimeoutException - if a TimeoutException occurs.public static java.lang.String[] getSupportedEncodingNames()
public static boolean getSSL()
public static boolean setSSL(boolean SSL)
useSSL - if set to true to enable SSL on current connectionpublic static boolean isNoLoginDialog()
public static void setNoLoginDialog(boolean isNoLoginDialog)
if - isNoLoginDialog is set to be true, the client would throw a
Exception rather than pop up a login dialog. if
isNoLoginDialog is set to be false, it would always pops up
login dialog when the user is unauthorized to access the
server. the deafault value is false.
public static java.util.Hashtable getVersionProperties(java.awt.Frame frame,
java.lang.String url,
java.util.Hashtable ht)
throws java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/jrserverthe - properties of he version .timeout - the timeout in milliseconds.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
TimeoutException - if a TimeoutException occurs.
public static void saveVersionProperties(java.awt.Frame frame,
java.lang.String url,
java.util.Hashtable ht)
throws java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/jrserverthe - properties of the version on the server side.timeout - the timeout in milliseconds.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
TimeoutException - if a TimeoutException occurs.
public static boolean checkPermission(java.awt.Frame frame,
java.lang.String url,
java.lang.String user,
java.lang.String path,
java.lang.String permission)
throws java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).jrsvrURL - the URL string of the JRServlet. For examples:
http://jrserver:8888/ or http://server:8888/servlet/jrservlet/user - a user name. For example: Tompath - a path. For example: /SampleReports/SampleReports.catpermission - permission definition For example: jrs.visible
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static boolean isOnlyContainBurstRpt(java.awt.Frame frame,
java.lang.String url,
java.lang.String user,
java.lang.String catalog,
java.lang.String rptName)
throws java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).jrsvrURL - the URL string of the JRServlet. For examples:
http://jrserver:8888/ or http://server:8888/servlet/jrserver/user - a user name. For example: Tomcatalog - the catalog name with full path. For example: /SampleReports/SampleReports.catrptName - the report name For example: /SampleReports/CustomerAnalysis.cls
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static boolean isNoBurstRpt(java.awt.Frame frame,
java.lang.String url,
java.lang.String user,
java.util.Hashtable rptProp)
throws java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).jrsvrURL - the URL string of the JRServlet. For examples:
http://jrserver:8888/ or http://server:8888/servlet/jrserver/user - a user name. For example: TomrptProp - a Hashtable contains report name, catalog name, report
version, catalog version.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static boolean currentRptIsBursting(java.awt.Frame frame,
java.lang.String url,
java.lang.String user,
java.lang.String catalog,
java.lang.String rptName)
throws java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).jrsvrURL - the URL string of the JRServlet. For examples:
http://jrserver:8888/ or http://server:8888/servlet/jrserver/user - a user name. For example: Tomcatalog - the catalog name with full path. For example: /SampleReports/SampleReports.catrptName - the report name For example: /SampleReports/CustomerAnalysis.cls
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static boolean checkPrivilege(java.awt.Frame frame,
java.lang.String url,
java.lang.String user,
java.lang.String privilege)
throws java.io.IOException,
JRResponseException
frame - url - user - privilege -
java.io.IOException
JRResponseException
public static boolean isAdminUser(java.awt.Frame frame,
java.lang.String url,
java.lang.String user)
throws java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/jrserveruser - the user name. For example: Tom.timeout - the timeout in milliseconds.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
TimeoutException - if a TimeoutException occurs.
public static boolean isEnableDuration(java.awt.Frame frame,
java.lang.String url)
throws java.io.IOException,
JRResponseException
frame - url -
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static void advancedDeploy(java.awt.Frame frame,
java.lang.String url,
java.util.Hashtable prop)
throws java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/jrserverprop - the deploy node properties.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs. | Key | Value |
| APIConst.TAG_DEPLOY_TYPE | APIConst.TAG_DEPLOY_REPORT | APIConst.TAG_DEPLOY_CATALOG | APIConst.TAG_DEPLOY_FOLDER |
| APIConst.TAG_PATH | The resource path in report server which will be deploy to, for example /SampleReports |
| APIConst.TAG_NODE_NAME | The resource name for example CustomerAnalysis.cls |
| TAG_DEPLOY_FROM_FILE | The deploy file such as report, catalog or folder disk path |
| APIConst.TAG_IS_DEPLOY_LOCALLY | True | false indicate deploy remotely or locally |
| Nested resource properties as query string format. Contain the node properties such as: APIConst.TAG_NODE_NAME,APIConst.TAG_NODE_TYPE,APIConst.TAG_NODE_DESC, APIConst.TAG_NODE_REAL_PATH, and so on. | |
| APIConst.TAG_ENABLE_ARCHIVE_POLICY | True | false indicate enable archive policy |
| APIConst.TAG_DEFINE_PERMISSION | True | false indicate define user permission |
| APIConst.TAG_NEED_MAXVERSION | True | false indicate if set max version |
| APIConst.TAG_MAXVERSION | if set max version to be true, then it need set the max version number |
public static void deploy(java.awt.Frame frame,
java.lang.String url,
java.util.Hashtable prop)
throws java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string of the report in a report server. For example:
http://server:8888/jrserverprop - the deploy node properties.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
| Key | Value |
| APIConst.TAG_PATH | The resource path in report server which will be deploy to, for example /SampleReports |
| TAG_DEPLOY_FROM_FILE | The deploy file such as report, catalog or folder disk path |
| APIConst.TAG_IS_DEPLOY_LOCALLY | True | false indicate deploy remotely or locally |
| APIConst.TAG_NODE_NAME | The resource name for example CustomerAnalysis.cls |
| APIConst.TAG_NODE_TYPE | APIConst.NODE_REPORT APIConst.NODE_CATALOG APIConst.NODE_FOLDER |
| APIConst.TAG_NODE_DESC | The description of resource |
| APIConst.TAG_NODE_REAL_PATH | The resource real path |
| APIConst.TAG_NODE_SHARE | True | false indicate is map shared disk |
| APIConst.TAG_ENABLE_ARCHIVE_POLICY | True | false indicate enable archive policy |
| APIConst.TAG_DEFINE_PERMISSION | True | false indicate define user permission |
| APIConst.TAG_NEED_MAXVERSION | True | false indicate if set max version |
| APIConst.TAG_MAXVERSION | if set max version to be true, then it need set the max version number |
public static void connect(java.awt.Frame frame,
java.lang.String host,
int port,
java.lang.String servletPath,
boolean enableSSL,
java.lang.String userName,
java.lang.String password)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).host - the host address of serverport - the server portservletPath - the path of servlet which responds client requestenableSSL - indicate whether to enable SSL on current connection or notuserName - the login user namepassword - the login password of the user
java.lang.Exception
java.net.MalformedURLException
java.io.IOException
JRResponseException
public static java.lang.String getRealPath(java.awt.Frame frame,
java.lang.String url,
java.lang.String resName,
int resVersion,
int resType)
throws java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).url - the url string of the report in a report server. For example:
http://server:8888/jrserverresName - resVersion - resType - 0 report 1 result 2 result doc 3 catalog
java.io.IOException
JRResponseException
public static int getLatestVersionNumber(java.awt.Frame frame,
java.lang.String url,
java.lang.String path)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).url - the url string of the report in a report server. For example:
http://server:8888/jrserverpath - resource path to specify a resource
java.net.MalformedURLException
java.io.IOException
JRResponseException
public static boolean canExportDhtmlResult(java.awt.Frame frame,
java.lang.String url,
java.util.Hashtable prop)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).url - the url string of the report in a report server. For example:
http://server:8888/jrserverprop - the report properties For example:
prop.put(APIConst.TAG_REPORT, "/SampleReports/SampleReports.cls");
prop.put(APIConst.TAG_CATALOG, "/SampleReports/SampleReports.cat");
prop.put(APIConst.TAG_RPT_VERSION, "-1");
prop.put(APIConst.TAG_CAT_VERSION, "-1");
JRClient.canExportDhtmlResult(frame, url, prop);
java.net.MalformedURLException
java.io.IOException
JRResponseException
public static java.util.Hashtable getCompletedPublishRecords(java.awt.Frame frame,
java.lang.String jrsvrURL,
java.lang.String recordID)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).jrsvrURL - the URL string of the JRServlet. For examples:
http://jrserver:8888/ or http://server:8888/servlet/jrservlet/the - ID of the completed task record to delete the completed task
record from the report server. can get from
Completed.getCompletedID
CompletedPublishRecord
objects.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.jet.client.api.Completed
public static boolean[] getEnableDisplayPermissions(java.awt.Frame frame,
java.lang.String rptURL)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptUrl - the URL string of the JRServlet. For examples:
http://jrserver:8888/ or http://server:8888/servlet/jrservlet/
boolean arrays indicating which Permissions can
be displayed on sever resource. The first boolean
object indicating role permissions if enable display. The second
boolean object indicating group permissions if
enable display. The third boolean object
indicating user permissions if enable display.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static java.util.Hashtable[] getInheritedPermissions(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String path,
int verNumber)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException,
java.lang.ClassNotFoundException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string in a report server. For example:
http://jrserver:8888/path - the path which attachs permissionsversionNumber - version number to specify version of the path, if its value is
0, get the latest version.
Hashtable array, which contains three
Hashtable objects. The first
Hashtable contains several user/permissions pair
to represent defined permissions attached to specific path. The
second Hashtable object contains several
role/permissions pair to represent defined permissions on
specific path. The third Hashtable object contains
several group/permissions pair to represent defined permissions
on specific path. Or null if the user/role/group has not
permission to get permissions on specific path.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs. |
Data structure:
<inheritPermissionHashtableArray> ::=
*<userPermissionHt> <rolePermissionHt>
<groupPermissionHt> CSPermissions.DENY = 0 CSPermissions.ALLOW = 1 a permissionString has 7 chars and it could be like: 0110100 |
java.lang.ClassNotFoundException
public static java.util.Hashtable[] getPermissions(java.awt.Frame frame,
java.lang.String rptURL,
java.lang.String path,
int verNumber)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException,
java.lang.ClassNotFoundException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the url string in a report server. For example:
http://jrserver:8888/path - the path which attachs permissionsversionNumber - version number to specify version of the path, if its value is
0, get the latest version.
Hashtable array, which contains three
Hashtable objects. The first
Hashtable contains several user/permissions pair
to represent defined permissions attached to specific path. The
second Hashtable object contains several
role/permissions pair to represent defined permissions on
specific path. The third Hashtable object contains
several group/permissions pair to represent defined permissions
on specific path. Or null if the user/role/group has not
permission to get permissions on specific path.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs. |
Data structure:
<permissionHashtableArray>
::= <userPermissionHt> <rolePermissionHt>
<groupPermissionHt> CSPermissions.DENY = 0 CSPermissions.ALLOW = 1 a permissionString has 7 chars and it could be like: 0110100 |
java.lang.ClassNotFoundException
public static java.lang.String getExportScripts(java.awt.Frame frame,
java.lang.String jrsvrURL,
java.lang.String[] taskIds)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).jrsvrURL - the URL string of the JRServlet. For examples:
http://jrserver:8888/ or http://server:8888/servlet/jrservlet/taskIds - specified tasks' ID.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static java.util.Properties[] getParseScrips(java.awt.Frame frame,
java.lang.String jrsvrURL,
java.lang.String scripts)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException,
java.lang.ClassNotFoundException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).jrsvrURL - the URL string of the JRServlet. For examples:
http://jrserver:8888/ or http://server:8888/servlet/jrservlet/scripts - the scripts contents of the scripts.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
java.lang.ClassNotFoundException
public static java.lang.String[] submitTasks(java.awt.Frame frame,
java.lang.String jrsvrURL,
java.util.Properties[] tasks)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).jrsvrURL - the URL string of the JRServlet. For examples:
http://jrserver:8888/ or http://server:8888/servlet/jrservlet/tasks - the submit tasks proerties, each Properties object in the
array describes a task.
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
public static boolean[] getActionEditPermissions(java.awt.Frame frame,
java.lang.String rptURL)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptUrl - the URL string of the JRServlet. For examples:
http://jrserver:8888/ or http://server:8888/servlet/jrservlet/
boolean arrays indicating which Permissions can
be edit on sever resource SecurityWebAdaptor. The first
boolean object indicating role permissions if
enable edit. The second boolean object indicating
group permissions if enable edit. The third
boolean object indicating user permissions if
enable edit.
java.net.MalformedURLException
java.io.IOException
JRResponseException
public static java.lang.String[] getAllCoditionTrggersName(java.awt.Frame frame,
java.lang.String rptURL)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the URL string of the JRServlet. For examples:
http://jrserver:8888/ or http://server:8888/servlet/jrservlet/
java.net.MalformedURLException
java.io.IOException
JRResponseException
public static void createConditionTrigger(java.awt.Frame frame,
java.lang.String serverUrl,
java.lang.String name,
java.lang.String description)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).serverUrl - the URL string of the JRServlet. For examples:
http://jrserver:8888/ or http://server:8888/servlet/jrservlet/name - the new trigger's namedescription - the new trigger's description
java.net.MalformedURLException
java.io.IOException
JRResponseException
public static boolean IsEnableDynamicResource(java.awt.Frame frame,
java.lang.String rptURL)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the URL string of the JRServlet. For examples:
http://jrserver:8888/ or http://server:8888/servlet/jrservlet/
java.net.MalformedURLException
java.io.IOException
JRResponseException
public static java.util.Hashtable getMediaTray(java.awt.Frame frame,
java.lang.String rptURL)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException,
java.lang.ClassNotFoundException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).jrsvrURL - the URL string of the JRServlet. For examples:
http://jrserver:8888/ or http://server:8888/servlet/jrservlet/the - ID of the completed task record to delete the completed task
record from the report server. can get from
Completed.getCompletedID
java.net.MalformedURLException
java.io.IOException
JRResponseException
java.lang.ClassNotFoundException
public static java.lang.String[] getPaperList(java.awt.Frame frame,
java.lang.String rptURL)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
frame - the Frame of the login dialog box. If the frame is null,
JRClient would create a frame and the login dialog box would
still be popped up when a login is needed(a server returns the
Unauthorized response or a proxy returns the Proxy
Authentication Required response).rptURL - the URL string of the JRServlet. For examples:
http://jrserver:8888/ or http://server:8888/servlet/jrservlet/
java.net.MalformedURLException
java.io.IOException
JRResponseException
public static int checkValidation(java.awt.Frame frm,
java.lang.String sURL,
java.lang.String qry)
throws java.io.IOException,
JRResponseException
sURL, - the requrest url including the parameters for being validated.
java.io.IOException
JRResponseException
public static boolean isPromptTaskQueueFull(java.awt.Frame frame,
java.lang.String jrsvrURL)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
jrsvrURL - the URL string of the JRServlet. For example:
http://jrserver:8888/ or http://server:8888/servlet/jrservlet/
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException
JRResponseException
public static boolean isTaskQueueFull(java.awt.Frame frame,
java.lang.String jrsvrURL)
throws java.net.MalformedURLException,
java.io.IOException,
JRResponseException
jrsvrURL - the URL string of the JRServlet. For example:
http://jrserver:8888/ or http://server:8888/servlet/jrservlet/
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException
JRResponseException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||