jet.client.api
Class JRClient

java.lang.Object
  extended by jet.client.api.JRClient

public class JRClient
extends java.lang.Object

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

vOff

public static final int vOff
Indicates to close the debug.


vDebug

public static final int vDebug
Indicates to open the debug.


vError

public static final int vError
Indicates to open the error.

Constructor Detail

JRClient

public JRClient()
Method Detail

setShowInfoLevel

public static void setShowInfoLevel(int level)
Enable/disable outputing the error and debug message.

Parameters:
level - sets the debug level. For example: JRClient.vDebug | JRClient.vError | JRClient.vOff

setLogFile

public static boolean setLogFile(java.lang.String fileName)
Set the log file.

Parameters:
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.

Returns:
true if successful.

getKeepAlive

public static boolean getKeepAlive()
If set the request header "Connection" to "Keep-Alive" or "Close" for all of HTTP requests.

Returns:
If set the request header "Connection" to "Keep-Alive" or "Close" for all of HTTP requests.

setKeepAlive

public static void setKeepAlive(boolean isKeepAlive)
Sets the request header "Connection" to "Keep-Alive" or "Close" for all of HTTP requests.

Parameters:
isKeepAlive - if set the request header "Connection" to "Keep-Alive" or "Close" for all of HTTP requests.

ifUsePostAsDefaultMethod

public static boolean ifUsePostAsDefaultMethod()
If use the "POST" as the default HTTP method to connect servers.

Returns:
If use the "POST" as the default HTTP method to connect servers.

useGetAsDefaultMethod

public static void useGetAsDefaultMethod()
Use the "GET" as the default HTTP method to connect servers.


usePostAsDefaultMethod

public static void usePostAsDefaultMethod()
Use the "POST" as the default HTTP method to connect servers.


close

public static void close(java.net.URLConnection uc)
Close a URLConnection. This method supports Keep-Alive connections.

Parameters:
uc - the URLConnection object.

openConnection

public static java.net.URLConnection openConnection(java.awt.Frame frame,
                                                    java.lang.String strURL)
                                             throws java.net.MalformedURLException,
                                                    java.io.IOException
Returns a connected URLConnection object that represents a connection to the remote report server referred to the URL string.

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).
strURL - the URL string.
Returns:
a connected URLConnection to the URL string.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
See Also:
URLConnection, openConnection(java.awt.Frame, java.net.URL)

openConnection

public static java.net.URLConnection openConnection(java.awt.Frame frame,
                                                    java.net.URL url)
                                             throws java.io.IOException
Returns a connected URLConnection object that represents a connection to the remote report server referred to the URL.

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).
url - the URL.
Returns:
a connected URLConnection to the URL.
Throws:
java.io.IOException - if an I/O exception occurs.
See Also:
URLConnection, openConnection(java.awt.Frame, java.net.URLConnection)

openConnection

public static java.net.URLConnection openConnection(java.awt.Frame frame,
                                                    java.net.URLConnection uc)
                                             throws java.io.IOException
Returns a connected 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.

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).
uc - the unconnected URLConnection object. It is created by the method openConnection() of java.net.URL.
Returns:
a connected URLConnection.
Throws:
java.io.IOException - if an I/O exception occurs.
See Also:
URLConnection

openConnection

public static java.net.URLConnection openConnection(java.awt.Frame frame,
                                                    java.net.URLConnection uc,
                                                    boolean retryOldCredential)
                                             throws java.io.IOException
Returns a connected URLConnection object that represents a connection to the remote report server referred to the unconnected URLConnection object.

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).
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.
Returns:
a connected URLConnection.
Throws:
java.io.IOException - if an I/O exception occurs.
See Also:
URLConnection

getCurrentUser

public static java.lang.String getCurrentUser(java.awt.Frame frame,
                                              java.lang.String jrsvrURL)
Returns the current user ID of the session at server side.

Parameters:
jrsvrURL - the URL string of the JRServlet. For examples: http://jrserver:8888/ or http://server:8888/servlet/jrservlet/
Returns:
the current user ID the current user ID of the session at server side.

getUser

public static java.lang.String getUser()
Returns the user ID of the report server at this client end.

Returns:
the user ID of the report server at this client end.

setUser

public static void setUser(java.lang.String user)
Sets the user ID of the report server at this client end.

Parameters:
the - user ID of the report server at this client end.

setPassword

public static void setPassword(java.lang.String password)
Sets the user password.

Parameters:
the - user password.

getPassword

public static java.lang.String getPassword()
Returns the user password.

Returns:
the user password.

setProxyUser

public static void setProxyUser(java.lang.String user)
Sets the user ID for a proxy server.

Parameters:
the - user ID for a proxy server.

setProxyPassword

public static void setProxyPassword(java.lang.String password)
Sets the user password for a proxy server.

Parameters:
the - user password for a proxy server.

setSocketTimeout

public static void setSocketTimeout(int socketTimeout)
sets the socket timeout in seconds.

Parameters:
socketTimeout - the socket timeout in seconds. Default is 0. 0 implies that the option is disabled (i.e., timeout of infinity).

getSocketTimeout

public static int getSocketTimeout()
returns the socket timeout in seconds.

Returns:
the socket timeout in seconds. 0 implies that the option is disabled (i.e. timeout of infinity).

setProxy

public static void setProxy(java.lang.String proxyHost,
                            java.lang.String proxyPort)
                     throws java.lang.Exception
sets proxy for this client.

Parameters:
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.
Throws:
java.lang.Exception - if an exception occurs.

getProxyHost

public static java.lang.String getProxyHost()
Returns the proxy host.

Returns:
the proxy host.

getProxyPort

public static java.lang.String getProxyPort()
Returns the proxy port.

Returns:
the proxy port.

getConnection

public static java.net.URLConnection getConnection(java.net.URL url)
                                            throws java.io.IOException
Returns an unconnected 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().

Parameters:
url - the URL.
Returns:
an unconnected URLConnection to the URL.
Throws:
java.io.IOException - if an I/O exception occurs.

login

public static void login(java.awt.Frame frame,
                         java.lang.String jrsvrURL)
                  throws java.net.MalformedURLException,
                         java.io.IOException,
                         JRResponseException
Login to the report server jrsvrURL. A login dialog box will be popped up to enter user ID and password.

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).
jrsvrURL - the URL string of the JRServlet. For examples: http://jrserver:8888/ or http://server:8888/servlet/jrservlet/
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

login

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
Directly login to the report server jrsvrURL using the user ID and the password.

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).
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.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

logout

public static void logout(java.lang.String jrsvrURL)
                   throws java.net.MalformedURLException,
                          java.io.IOException,
                          JRResponseException
Logout from the report server jrsvrURL.

Parameters:
jrsvrURL - the URL string of the JRServlet. For example: http://jrserver:8888/ or http://server:8888/servlet/jrservlet/
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

isWaitUser

public static boolean isWaitUser(java.lang.String jrsvrURL)
                          throws java.net.MalformedURLException,
                                 java.io.IOException,
                                 JRResponseException
Deprecated. 

Judge if the current user is wait user for the report server jrsvrURL.

Parameters:
jrsvrURL - the URL string of the JRServlet. For example: http://jrserver:8888/ or http://server:8888/servlet/jrservlet/
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException
JRResponseException

isSplitPDF

public static boolean isSplitPDF(java.awt.Frame frame,
                                 java.lang.String jrsvrURL)
                          throws java.net.MalformedURLException,
                                 java.io.IOException,
                                 JRResponseException
Judge if the "Split PDF" option is applied in scheduling a report set result to e-mail in PDF file attachment.

Parameters:
jrsvrURL - the URL string of the JRServlet. For example: http://jrserver:8888/ or http://server:8888/servlet/jrservlet/
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException
JRResponseException

getScheduleFiles

public static java.util.Vector getScheduleFiles(java.awt.Frame frame,
                                                java.lang.String jrsvrURL)
                                         throws java.net.MalformedURLException,
                                                java.io.IOException,
                                                JRResponseException
Deprecated. 

get schedule files which include scheduled tasks for the report server jrsvrURL.

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).
jrsvrURL - the URL string of the JRServlet. For example: http://jrserver:8888/ or http://server:8888/servlet/jrservlet/
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException
JRResponseException

exportTasks

public static void exportTasks(java.lang.String jrsvrURL,
                               java.lang.String fileName,
                               java.lang.String tasks)
                        throws java.net.MalformedURLException,
                               java.io.IOException,
                               JRResponseException
Deprecated. 

export scheduled tasks to a schedule file

Parameters:
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 sch
tasks - the taskid list which separated by ";"
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException
JRResponseException

importTasks

public static void importTasks(java.lang.String jrsvrURL,
                               java.lang.String fileName)
                        throws java.net.MalformedURLException,
                               java.io.IOException,
                               JRResponseException
Deprecated. 

import scheduled tasks from a schedule file

Parameters:
jrsvrURL - the URL string of the JRServlet. For example: http://jrserver:8888/ or http://server:8888/servlet/jrservlet/
fileName - the file name
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException
JRResponseException

importScriptTask

public static java.lang.String importScriptTask(java.io.File fileStr,
                                                java.lang.String jrsvrURL)
                                         throws java.net.MalformedURLException,
                                                java.io.IOException,
                                                JRResponseException
submit a report or a batch of reports by import a file

Parameters:
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/
Returns:
the information about the reports submitted
Throws:
java.net.MalformedURLException
java.io.IOException
JRResponseException

hasPermissionOk

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
Test if the user has the permission of the action for the resource in the server.

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 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.
Returns:
if the user has the permission of the action for the resource in the server.
Throws:
java.net.MalformedURLException
java.io.IOException
JRResponseException

changePassword

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
Changes the password of an user.

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).
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.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

deleteVersion

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
Deprecated. As of JREntViewer version 6.0,

Deletes a report result version. 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.

Parameters:
rptURL - the url string of the report in a report server. For example: http://jrserver:8888/SampleReports/SampleReports.cat/CustomerAnalysis.cls
versionID - 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.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

deleteRstVersion

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
Deletes a report result version. 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.

Parameters:
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.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

deleteRptVersion

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
Deletes a report version. 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.

Parameters:
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.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

deleteRptVersion

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
Throws:
java.net.MalformedURLException
java.io.IOException
JRResponseException

deleteRstDocVersion

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
Deletes a result doc version. 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.

Parameters:
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.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

deleteCatVersion

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
Deletes a catalog version. 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.

Parameters:
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.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

deleteTempResult

public static void deleteTempResult(java.awt.Frame frame,
                                    java.lang.String rptUrl,
                                    java.lang.String rst)
Deletes a report result. The result name is returned by calling sendCmdRunAndView(...).

Parameters:
rptURL - the url string of the report in a report server. For example: http://jrserver:8888/SampleReports/SampleReports.cat/CustomerAnalysis.cls
rst - the report result name in a report server. The result name is returned by calling sendCmdRunAndView(...).

getCatalogOfReport

public static java.lang.String getCatalogOfReport(java.awt.Frame frame,
                                                  java.lang.String rptUrl)
                                           throws java.net.MalformedURLException,
                                                  java.io.IOException,
                                                  JRResponseException
Returns the catalog of a report. For example: For the report http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.cls, returns the catalog /SampleReports/SampleReports.cat

Parameters:
rptURL - the url string of the report in a report server. For example: http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.cls
Returns:
the catalog of a report.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

getServletPath

public static java.lang.String getServletPath(java.awt.Frame frame,
                                              java.lang.String url)
                                       throws java.net.MalformedURLException,
                                              java.io.IOException,
                                              JRResponseException
Returns the servlet path of a JRServlet. JReport enterprise server is a servlet. It can run under the servers that support the Java Servlet. For example: For the url http://server:8888/servlet/jrservlet, returns the servletpath /servlet/jrservlet. For the url http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.cls, returns the servletpath /servlet/jrservlet.

Parameters:
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
Returns:
the servletpath of a JRServlet.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

getResourcePathInfo

public static ResourcePathInfo getResourcePathInfo(java.awt.Frame frame,
                                                   java.lang.String url)
                                            throws java.net.MalformedURLException,
                                                   java.io.IOException,
                                                   JRResponseException
Returns the path information of a resource in a report server.

Parameters:
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
Returns:
the path information of a resource in a report server.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

removeResource

public static void removeResource(java.awt.Frame frame,
                                  java.lang.String rptURL,
                                  java.lang.String name)
                           throws java.net.MalformedURLException,
                                  java.io.IOException,
                                  JRResponseException
Remove specified resource in a report server.

Parameters:
rptURL - the url string in a report server. For example: http://jrserver:8888/
name - the resource name.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

getAllUsers

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
Return all users.

Parameters:
rptURL - the url string in a report server. For example: http://jrserver:8888/
user - the user
Returns:
the vector contains all users.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

getReferRoles

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
Return refer roles.

Parameters:
rptURL - the url string in a report server. For example: http://jrserver:8888/
user - the user
Returns:
the vector contains refer roles.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

getReferGroups

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
Return refer groups.

Parameters:
rptURL - the url string in a report server. For example: http://jrserver:8888/
user - the user
Returns:
the vector contains refer groups.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

getReferUsers

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
Return refer users.

Parameters:
rptURL - the url string in a report server. For example: http://jrserver:8888/
user - the user
Returns:
the vector contains refer users.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

getAllRoles

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
Return all roles.

Parameters:
rptURL - the url string in a report server. For example: http://jrserver:8888/
user - the user
Returns:
the vector contains all roles.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

saveResourceProp

public static void saveResourceProp(java.awt.Frame frame,
                                    java.lang.String rptURL,
                                    java.util.Hashtable resProp)
                             throws java.net.MalformedURLException,
                                    java.io.IOException,
                                    JRResponseException
Save the properties of the resource.

Parameters:
rptURL - the url string in a report server. For example: http://jrserver:8888/
user - the user
resProp - the properties of the resource.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

sendCmdRunAndView

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
Deprecated. As of version 6, replaced by sendCmdRunAndViewEx(Frame, String, Hashtable).

Send the command "Run and View Report" to the report server and return the temporary result name. The temporary result name will be used by viewTempResult(...) or createViewResultThread(...) to view the report result.

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
paramValues - 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.
Returns:
the temporary result name. The temporary result name will be used by viewTempResult(...) or createViewResultThread(...) to view the report result.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

sendCmdRunAndView

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
Deprecated. As of version 6, replaced by sendCmdRunAndViewEx(Frame, String, Hashtable).

Sends the command "Run and View Report" to the report server and returns the temporary result name. The temporary result name will be used by viewTempResult(...) or createViewResultThread(...) to view the report result.

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
paramValues - 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.
Returns:
the temporary result name. The temporary result name will be used by viewTempResult(...) or createViewResultThread(...) to view the report result.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

sendCmdRunAndView

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
Deprecated. As of version 6, replaced by sendCmdRunAndViewEx(Frame, String, Hashtable).

Sends the command "Run and View Report" to the report server and returns the temporary result name. The temporary result name will be used by viewTempResult(...) or createViewResultThread(...) to view the report result.

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
paramValues - 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.
Returns:
the temporary result name. The temporary result name will be used by viewTempResult(...) or createViewResultThread(...) to view the report result.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

sendCmdRunAndView

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
Deprecated. As of version 6, replaced by sendCmdRunAndViewEx(Frame, String, Hashtable).

Sends the command "Run and View Report" to the report server and returns the temporary result name. The temporary result name will be used by viewTempResult(...) or createViewResultThread(...) to view the report result.

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
paramValues - 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.
Returns:
the temporary result name. The temporary result name will be used by viewTempResult(...) or createViewResultThread(...) to view the report result.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

sendCmdRunAndView

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
Deprecated. As of version 6, replaced by sendCmdRunAndViewEx(Frame, String, Hashtable).

Sends the command "Run and View Report" to the report server and returns the temporary result name. The temporary result name will be used by viewTempResult(...) or createViewResultThread(...) to view the report result.

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
paramValues - 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).
Returns:
the temporary result name. The temporary result name will be used by viewTempResult(...) or createViewResultThread(...) to view the report result.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
See Also:
getAvailableLanguages(Frame, String)

sendCmdRunAndView

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
Deprecated. As of version 6, replaced by sendCmdRunAndViewEx(Frame, String, Hashtable).

Sends the command "Run and View Report" to the report server and returns the temporary result name. The temporary result name will be used by viewTempResult(...) or createViewResultThread(...) to view the report result.

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
paramValues - 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).
Returns:
the temporary result name. The temporary result name will be used by viewTempResult(...) or createViewResultThread(...) to view the report result.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
See Also:
getAvailableLanguages(Frame, String)

sendCmdRunAndView

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
Deprecated. As of version 6, replaced by sendCmdRunAndViewEx(Frame, String, Hashtable).

Sends the command "Run and View Report" to the report server and returns the temporary result name. The temporary result name will be used by viewTempResult(...) or createViewResultThread(...) to view the report result.

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
paramValues - 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).
Returns:
the temporary result name. The temporary result name will be used by viewTempResult(...) or createViewResultThread(...) to view the report result.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
See Also:
getAvailableLanguages(Frame, String)

sendCmdRunAndView

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
Deprecated. As of version 6, replaced by sendCmdRunAndViewEx(Frame, String, Hashtable).

Sends the command "Run and View Report" to the report server and returns the temporary result name. The temporary result name will be used by viewTempResult(...) or createViewResultThread(...) to view the report result.

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
paramValues - 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.
Returns:
the temporary result name. The temporary result name will be used by viewTempResult(...) or createViewResultThread(...) to view the report result.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
See Also:
getAvailableLanguages(Frame, String)

sendCmdRunAndView

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
Deprecated. As of version 6, replaced by sendCmdRunAndViewEx(Frame, String, Hashtable).

Sends the command "Run and View Report" to the report server and returns the temporary result name. The temporary result name will be used by viewTempResult(...) or createViewResultThread(...) to view the report result.

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
paramValues - 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.
Returns:
the temporary result name. The temporary result name will be used by viewTempResult(...) or createViewResultThread(...) to view the report result.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
See Also:
getAvailableLanguages(Frame, String)

sendCmdRunAndView

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
Deprecated. As of version 6, replaced by sendCmdRunAndViewEx(Frame, String, Hashtable).

Sends the command "Run and View Report" to the report server and returns the temporary result name. The temporary result name will be used by viewTempResult(...) or createViewResultThread(...) to view the report result.

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
paramValues - 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.
Returns:
the temporary result name. The temporary result name will be used by viewTempResult(...) or createViewResultThread(...) to view the report result.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
See Also:
getAvailableLanguages(Frame, String)

sendCmdRunAndView

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
Deprecated. As of version 6, replaced by sendCmdRunAndViewEx(Frame, String, Hashtable).

Sends the command "Run and View Report" to the report server and returns the temporary result name. The temporary result name will be used by viewTempResult(...) or createViewResultThread(...) to view the report result.

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
paramValues - 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.
Returns:
the temporary result name. The temporary result name will be used by viewTempResult(...) or createViewResultThread(...) to view the report result.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

sendCmdRunAndView

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
Deprecated. As of version 6, replaced by sendCmdRunAndViewEx(Frame, String, Hashtable).

Sends the command "Run and View Report" to the report server and returns the temporary result name. The temporary result name will be used by viewTempResult(...) or createViewResultThread(...) to view the report result.

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
paramValues - 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).
Returns:
the temporary result name. The temporary result name will be used by viewTempResult(...) or createViewResultThread(...) to view the report result.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
See Also:
getAvailableLanguages(Frame, String)

sendCmdRunAndView

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
Deprecated. As of version 6, replaced by sendCmdRunAndViewEx(Frame, String, Hashtable).

Sends the command "Run and View Report" to the report server and returns the temporary result name. The temporary result name will be used by viewTempResult(...) or createViewResultThread(...) to view the report result.

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
paramValues - 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).
Returns:
the temporary result name. The temporary result name will be used by viewTempResult(...) or createViewResultThread(...) to view the report result.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
See Also:
getAvailableLanguages(Frame, String)

sendCmdRunAndView

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
Deprecated. As of version 6, replaced by sendCmdRunAndViewEx(Frame, String, Hashtable).

Sends the command "Run and View Report" to the report server and returns the temporary result name. The temporary result name will be used by viewTempResult(...) or createViewResultThread(...) to view the report result.

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
paramValues - 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).
Returns:
the temporary result name. The temporary result name will be used by viewTempResult(...) or createViewResultThread(...) to view the report result.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
See Also:
getAvailableLanguages(Frame, String)

sendCmdRunAndView

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
Deprecated. As of version 6, replaced by sendCmdRunAndViewEx(Frame, String, Hashtable).

Sends the command "Run and View Report" to the report server and returns the temporary result name. The temporary result name will be used by viewTempResult(...) or createViewResultThread(...) to view the report result.

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
paramValues - 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.
Returns:
the temporary result name. The temporary result name will be used by viewTempResult(...) or createViewResultThread(...) to view the report result.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
See Also:
getAvailableLanguages(Frame, String)

sendCmdRunAndView

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
Deprecated. As of version 6, replaced by sendCmdRunAndViewEx(Frame, String, Hashtable).

Sends the command "Run and View Report" to the report server and returns the temporary result name. The temporary result name will be used by viewTempResult(...) or createViewResultThread(...) to view the report result.

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
paramValues - 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.
Returns:
the temporary result name. The temporary result name will be used by viewTempResult(...) or createViewResultThread(...) to view the report result.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
See Also:
getAvailableLanguages(Frame, String)

sendCmdRunAndView

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
Deprecated. As of version 6, replaced by sendCmdRunAndViewEx(Frame, String, Hashtable).

Sends the command "Run and View Report" to the report server and returns the temporary result name. The temporary result name will be used by viewTempResult(...) or createViewResultThread(...) to view the report result.

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
paramValues - 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.
Returns:
the temporary result name. The temporary result name will be used by viewTempResult(...) or createViewResultThread(...) to view the report result.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
See Also:
getAvailableLanguages(Frame, String)

sendCmdRunAndViewEx

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
Sends the command "Run and View Report" to the report server and returns the temporary result name. The temporary result name will be used by viewTempResult(...) or createViewResultThread(...) to view the report result.

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
taskProps - 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
Returns:
the temporary result name. The temporary result name will be used by viewTempResult(...) or createViewResultThread(...) to view the report result.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

submitTask

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
Submits a scheduled task to a report server and returns the task ID. For more detail, please see the document "INSTALL_ROOT/help/server/en/userguide/HTML/appendix/apdx_sch.htm".

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
theTask - properties of the task. For more detail, please see the document "INSTALL_ROOT/help/server/en/userguide/HTML/appendix/apdx_sch.htm".
Returns:
the task ID.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

runTask

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
Run a task immediately and return the completed task ID. For more detail, please see the document "INSTALL_ROOT/help/server/en/userguide/HTML/appendix/apdx_sch.htm".

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
theTask - properties of the task. For more detail, please see the document "INSTALL_ROOT/help/server/en/userguide/HTML/appendix/apdx_sch.htm".
Returns:
the task ID.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

getParamDescAndGrpCols

public static java.util.Vector[] getParamDescAndGrpCols(java.awt.Frame frame,
                                                        java.lang.String rptURL)
                                                 throws java.net.MalformedURLException,
                                                        java.io.IOException,
                                                        JRResponseException
Returns the parameters description, the grouped columns of the report and order of parameter names from report server.

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
Returns:
the parameters description and the grouped columns of the report from report server. Format: the Vector[0] contains the Param objects. the Vector[1] contains the strings of the grouped columns of the report. the Vector[2] cantains parameter names in sequence.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
See Also:
Param

getParamDescAndGrpCols

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
Returns the parameters description, the grouped columns of the report and order of parameter names from report server.

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
rptProp - a Hashtable contains report name, catalog name, report version, catalog version.
Returns:
the parameters description and the grouped columns of the report from report server. Format: the Vector[0] contains the Param objects. the Vector[1] contains the strings of the grouped columns of the report. the Vector[2] cantains parameter names in sequence.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
See Also:
Param

getParamDescVct

public static java.util.Vector getParamDescVct(java.awt.Frame frame,
                                               java.lang.String rptURL)
                                        throws java.net.MalformedURLException,
                                               java.io.IOException,
                                               JRResponseException
Returns the parameters description of the report from the report server.

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
Returns:
the parameters description of the report from the report server. Format: the Vector contains the Param objects.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
See Also:
Param

getParamDescVct

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
Returns the parameters description of the report from the report server.

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
rptProp - a Hashtable contains report name, catalog name, report version, catalog version.
Returns:
the parameters description of the report from the report server. Format: the Vector contains the Param objects.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
See Also:
Param

getParamValues

public static java.util.Hashtable getParamValues(java.awt.Frame frame,
                                                 java.lang.String rptURL)
                                          throws ParseParamValuesException,
                                                 ParamCanceledException,
                                                 java.net.MalformedURLException,
                                                 java.io.IOException,
                                                 JRResponseException
Returns the parameter values by bringing up a parameter dialog box if the report has parameters.

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
Returns:
the parameter values. Format: In each item of the Hashtable, the key is jrs.param$ + PARAMETER_NAME and the value is the parameter value.
Throws:
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.
See Also:
Param

getParamValues

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
Deprecated. As of JREntViewer version 3.0,

Returns the parameter values by a string of parameter values.

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
paramValues - 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"
Returns:
the parameter values. Format: In each item of the Hashtable, the key is jrs.param$ + PARAMETER_NAME and the value is the parameter value.
Throws:
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.

getParamValues

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
Deprecated. As of JREntViewer version 3.0,

Returns the parameter values by a string of parameter values.

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
paramValues - 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.
Returns:
the parameter values. Format: In each item of the Hashtable, the key is jrs.param$ + PARAMETER_NAME and the value is the parameter value.
Throws:
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.

getParamValues

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
Returns the parameter values by a string of parameter values.

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
paramValues - 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.
Returns:
the parameter values. Format: In each item of the Hashtable, the key is jrs.param$ + PARAMETER_NAME and the value is the parameter value.
Throws:
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.

getParamVector

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
Deprecated. As of JREntViewer version 3.0, replaced by getParamVector(Frame frame, String rptURL).

Returns the Vector of jet.cs.Param objects by a string of parameter values.

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
paramValues - 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"
Returns:
Returns the Vector of jet.cs.Param objects by a string of parameter values.
Throws:
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.
See Also:
jet.cs.Param

getParamVector

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
Deprecated. As of JREntViewer version 3.0, replaced by getParamVector(Frame frame, String rptURL).

Returns the Vector of jet.cs.Param objects by a string of parameter values.

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
paramValues - 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.
Returns:
Returns the Vector of jet.cs.Param objects by a string of parameter values.
Throws:
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.
See Also:
jet.cs.Param

getParamVector

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
Returns the Vector of jet.cs.Param objects by a string of parameter values.

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
paramValues - 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.
Returns:
Returns the Vector of jet.cs.Param objects by a string of parameter values.
Throws:
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.
See Also:
jet.cs.Param

getParamVector

public static java.util.Vector getParamVector(java.awt.Frame frame,
                                              java.lang.String rptURL)
                                       throws ParamCanceledException,
                                              java.net.MalformedURLException,
                                              java.io.IOException,
                                              JRResponseException
Returns the Vector of jet.cs.Param objects by bringing up a parameter dialog box if the report has parameters.

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
Returns:
Returns the Vector of jet.cs.Param objects.
Throws:
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.
See Also:
jet.cs.Param

getParamVector

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
Returns the Vector of jet.cs.Param objects by bringing up a parameter dialog box if the report has parameters.

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
locale - the locale to check parameter format in the parameter dialog box.
Returns:
Returns the Vector of jet.cs.Param objects.
Throws:
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.
See Also:
jet.cs.Param

getParamDescStream

public static java.io.InputStream getParamDescStream(java.awt.Frame frame,
                                                     java.lang.String rptURL)
                                              throws java.net.MalformedURLException,
                                                     java.io.IOException,
                                                     JRResponseException
Returns the input stream of the parameters description of a report from the report server.

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
Returns:
the input stream of the parameters description of a report from the report server.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

getParamDescStream

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
Returns the input stream of the parameters description of a report from the report server.

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
rptProp - a Hashtable contains report name, catalog name, report version, catalog version.
Returns:
the input stream of the parameters description of a report from the report server.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

getAvailableLanguages

public static java.util.Vector getAvailableLanguages(java.awt.Frame frame,
                                                     java.lang.String rptURL)
                                              throws java.net.MalformedURLException,
                                                     java.io.IOException,
                                                     JRResponseException
Returns the available languages of the report from the report server.

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
Returns:
the available languages of the report from the report server. Format: the Vector contains the language ID strings.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
See Also:
Param

getAvailableLanguages

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
Returns the available languages of the report from the report server.

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
user - the user that about the rptURL
Returns:
the available languages of the report from the report server. Format: the Vector contains the language ID strings.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
See Also:
Param

getAvailableLanguages

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
Returns the available languages of the report from the report server.

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
user - the user that about the rptURL
rptProp - a Hashtable contains report name, catalog name, report version, catalog version.
Returns:
the available languages of the report from the report server. Format: the Vector contains the language ID strings.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
See Also:
Param

getStyleGroupDisplayNames

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
Returns the available style groups of the report from the report server.

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
user - the user that about the rptURL
Returns:
the available style groups of the report from the report server. Format: the Vector contains the style group strings.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
See Also:
Param

getStyleGroupDisplayNames

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
Returns the available style groups of the report from the report server.

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
user - the user that about the rptURL
rptProp - a Hashtable contains report name, catalog name, report version, catalog version.
Returns:
the available style groups of the report from the report server. Format: the Vector contains the style group strings.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
See Also:
Param

getReportSheets

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
Returns report sheet info of the report from the report server.

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
user - the user that about the rptURL
rptProp - a Hashtable contains report name, catalog name, report version, catalog version.
Returns:
report sheet info of the report from the report server. Format: the Vector contains RptSheet objects.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
See Also:
RptSheet

getReportSheetsFromRst

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
Returns report sheet info of the rst from the report server.

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
rst - the rst file name
user - the user that about the rptURL
Returns:
report sheet info of the report from the report server. Format: the Vector contains RptSheet objects.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
See Also:
RptSheet

getScheduled

public static java.util.Vector getScheduled(java.awt.Frame frame,
                                            java.lang.String jrsvrURL)
                                     throws java.net.MalformedURLException,
                                            java.io.IOException,
                                            JRResponseException
Returns the scheduled tasks from a report server.

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).
jrsvrURL - the URL string of the JRServlet. For examples: http://jrserver:8888/ or http://server:8888/servlet/jrservlet/
Returns:
the ischeduled tasks in a report server. Format: the Vector contains the Hashtable objects. a Hashtable object contains the information of a task.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

deleteScheduled

public static void deleteScheduled(java.awt.Frame frame,
                                   java.lang.String jrsvrURL,
                                   java.lang.String taskID)
                            throws java.net.MalformedURLException,
                                   java.io.IOException,
                                   JRResponseException
Deletes a scheduled task by the task ID from a report server.

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).
jrsvrURL - the URL string of the JRServlet. For examples: http://jrserver:8888/ or http://server:8888/servlet/jrservlet/
taskID - the scheduled task ID.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

enableScheduled

public static void enableScheduled(java.awt.Frame frame,
                                   java.lang.String jrsvrURL,
                                   java.lang.String taskID)
                            throws java.net.MalformedURLException,
                                   java.io.IOException,
                                   JRResponseException
Enables a scheduled task by the task ID from a report server.

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).
jrsvrURL - the URL string of the JRServlet. For examples: http://jrserver:8888/ or http://server:8888/servlet/jrservlet/
taskID - the scheduled task ID.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

disableScheduled

public static void disableScheduled(java.awt.Frame frame,
                                    java.lang.String jrsvrURL,
                                    java.lang.String taskID)
                             throws java.net.MalformedURLException,
                                    java.io.IOException,
                                    JRResponseException
Disables a scheduled task by the task ID from a report server.

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).
jrsvrURL - the URL string of the JRServlet. For examples: http://jrserver:8888/ or http://server:8888/servlet/jrservlet/
taskID - the scheduled task ID.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

getActive

public static java.util.Vector getActive(java.awt.Frame frame,
                                         java.lang.String jrsvrURL)
                                  throws java.net.MalformedURLException,
                                         java.io.IOException,
                                         JRResponseException
Returns the active task from a report server.

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).
jrsvrURL - the URL string of the JRServlet. For example: http://jrserver:8888/ or http://server:8888/servlet/jrservlet/
Returns:
the active task from a report server. Format: the Vector contains the Active objects.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
See Also:
jet.client.api.Active

stopActive

public static void stopActive(java.awt.Frame frame,
                              java.lang.String jrsvrURL,
                              java.lang.String taskID)
                       throws java.net.MalformedURLException,
                              java.io.IOException,
                              JRResponseException
Stops an active task by the task ID from a report server.

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).
jrsvrURL - the URL string of the JRServlet. For example: http://jrserver:8888/ or http://server:8888/servlet/jrservlet/
taskID - the active task ID.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
See Also:
getActive(Frame, String)

getCompleted

public static java.util.Vector getCompleted(java.awt.Frame frame,
                                            java.lang.String jrsvrURL)
                                     throws java.net.MalformedURLException,
                                            java.io.IOException,
                                            JRResponseException
Returns the completed tasks from a report server.

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).
jrsvrURL - the URL string of the JRServlet. For examples: http://jrserver:8888/ or http://server:8888/servlet/jrservlet/
Returns:
the completed task from a report server. Format: the Vector contains the Completed objects.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
See Also:
jet.client.api.Completed

deleteCompleted

public static void deleteCompleted(java.awt.Frame frame,
                                   java.lang.String jrsvrURL,
                                   java.lang.String completedID)
                            throws java.net.MalformedURLException,
                                   java.io.IOException,
                                   JRResponseException
Deletes a completed task by the completed ID from a report server.

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).
jrsvrURL - the URL string of the JRServlet. For example: http://jrserver:8888/ or http://server:8888/servlet/jrservlet/
taskID - the completed ID.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
See Also:
getCompleted(Frame, String), jet.client.api.Completed

deleteAllCompleted

public static void deleteAllCompleted(java.awt.Frame frame,
                                      java.lang.String jrsvrURL)
                               throws java.net.MalformedURLException,
                                      java.io.IOException,
                                      JRResponseException
Throws:
java.net.MalformedURLException
java.io.IOException
JRResponseException

getBooleanNames

public static java.util.Vector getBooleanNames(java.awt.Frame frame,
                                               java.lang.String rptURL)
                                        throws java.net.MalformedURLException,
                                               java.io.IOException,
                                               JRResponseException
Returns the mapping names that have boolean value of a report. This is used for Value-based tasks.

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
Returns:
the mapping names that have boolean value of a report.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

getBooleanNames

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
Returns the mapping names that have boolean value of a report. This is used for Value-based tasks.

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
rptProp - a Hashtable contains report name, catalog name, report version, catalog version.
Returns:
the mapping names that have boolean value of a report.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

hasPageSecurity

public static boolean hasPageSecurity(java.awt.Frame frame,
                                      java.lang.String rptUrl)
                               throws java.net.MalformedURLException,
                                      java.io.IOException,
                                      JRResponseException
Checks if the report has page level security.

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
Returns:
if the report has page level security.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

hasPageSecurity

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
Checks if the report has page level security.

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
Returns:
if the report has page level security.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

getPrintersOfServer

public static java.util.Vector getPrintersOfServer(java.awt.Frame frame,
                                                   java.lang.String rptURL)
                                            throws java.net.MalformedURLException,
                                                   java.io.IOException,
                                                   JRResponseException
Returns printer names of the server. This methord be used for tasks "Publish To Printer" and "Publish to Version" to specify a printer.

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).
jrsvrURL - the URL string of the JRServlet. For example: http://jrserver:8888/ or http://server:8888/servlet/jrservlet/
Returns:
printer names of the server.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

getJDKVersionOfServer

public static java.lang.String getJDKVersionOfServer(java.awt.Frame frame,
                                                     java.lang.String rptURL)
                                              throws java.net.MalformedURLException,
                                                     java.io.IOException,
                                                     JRResponseException
Returns JDK version of the server. The value is got by the method System.getProperty("java.version") at server side.

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).
jrsvrURL - the URL string of the JRServlet. For example: http://jrserver:8888/ or http://server:8888/servlet/jrservlet/
Returns:
JDK version of the server. The value is got by the method System.getProperty("java.version") at server side.
Throws:
java.net.MalformedURLException
java.io.IOException
JRResponseException

getSubNodesInfo

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
Gets the child nodes information of a resource node from a report server.

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).
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
Returns:
the child nodes information of a resource node from a report server. The Vector contains NodeInfo objects.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
See Also:
jet.client.api.NodeInfo

getSubFileDirInfo

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
Deprecated. As of version 6, replaced by getSubNodesInfo();

Gets the child directories information of a resource node from a report server.

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).
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
Returns:
the child directories information of a resource node from a report server. The Vector contains NodeInfo objects.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
See Also:
jet.client.api.NodeInfo

getNodeInfo

public static NodeInfo getNodeInfo(java.awt.Frame frame,
                                   java.lang.String parentUrl,
                                   java.lang.String nodeName)
                            throws java.net.MalformedURLException,
                                   java.io.IOException,
                                   JRResponseException
Returns information of a resource node from a report server to test if the node is a catalog.

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).
parentUrl - the parent URL of the resource node in a report server. For example: http://jrserver:8888/or http://server:8888/SampleReports
nodeName - the name of the resource node in a report server to test if the node is a catalog. For example: SampleReports or SampleReports.cat
Returns:
information of a resource node from a report server.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

getNodeReferInfo

public static NodeInfo getNodeReferInfo(java.awt.Frame frame,
                                        java.lang.String parentUrl,
                                        java.lang.String nodeName)
                                 throws java.net.MalformedURLException,
                                        java.io.IOException,
                                        JRResponseException
Deprecated. As of version 6, replaced by getNodeInfo();

Returns information of a resource node from a report server to test if the node is a directory.

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).
parentUrl - the parent URL of the resource node in a report server. For example: http://jrserver:8888/or http://server:8888/SampleReports
nodeName - the name of the resource node in a report server. For example: SampleReports or SampleReports.cat
Returns:
information of a resource node from a report server to test if the node is a directory.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

getReports

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
Returns the name of reports of a catalog from a report server.

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).
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
Returns:
the name of reports of a catalog from a report server.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

setResultMaxVersionLimit

public static void setResultMaxVersionLimit(java.awt.Frame frame,
                                            java.lang.String reportURL,
                                            boolean needAmount,
                                            int amount)
                                     throws java.net.MalformedURLException,
                                            JRResponseException
Submit the max result version limit of a report of a catalog to a report server.

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/CustomerAnalysis.cls
needAmount - true if the report's result version amount limit enabled.
amount - the max result version amount limit of the report
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
Since:
version 6

getResultMaxVersionLimit

public static int getResultMaxVersionLimit(java.awt.Frame frame,
                                           java.lang.String reportURL,
                                           java.lang.String user)
                                    throws java.net.MalformedURLException,
                                           java.io.IOException,
                                           JRResponseException
Returns the max result version limit of a report of a catalog from a report server.

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/CustomerAnalysis.cls
user - the user id that about rptURL.
Returns:
the max result version limit of a report from a report server.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
Since:
version 6

setMaxVersionLimit

public static void setMaxVersionLimit(java.awt.Frame frame,
                                      java.lang.String reportURL,
                                      boolean needAmount,
                                      int amount)
                               throws java.net.MalformedURLException,
                                      JRResponseException
Deprecated. As of version 6, replaced by setResultMaxVersionLimit()

Submit the max version limit of a report of a catalog to a report server.

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
needAmount - true if the report's amount limit enabled.
amount - the max version amount limit of the report
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

setResultMaxVersionLimit

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
Submit the max result version limit of a report of a catalog to a report server.

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/CustomerAnalysis.cls
needAmount - true if the report's result version amount limit enabled.
amount - the max result version amount limit of the report
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
Since:
version 6

getMaxVersionLimit

public static int getMaxVersionLimit(java.awt.Frame frame,
                                     java.lang.String reportURL,
                                     java.lang.String user)
                              throws java.net.MalformedURLException,
                                     java.io.IOException,
                                     JRResponseException
Deprecated. As of version 6, replaced by getResultVersionLimit()

Returns the max version limit of a report of a catalog from a report server.

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
user - the user id that about rptURL.
Returns:
the max version limit of a report of a catalog from a report server.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

getResultMaxVersionLimit

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
Returns the max result version limit of a report of a catalog from a report server.

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/CustomerAnalysis.cls
user - the user id that about rptURL.
Returns:
the max result version limit of a report from a report server.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
Since:
version 6

isCatalogExits

public static boolean isCatalogExits(java.awt.Frame frame,
                                     java.lang.String jrsvrURL,
                                     java.lang.String cat)
                              throws java.net.MalformedURLException,
                                     java.io.IOException,
                                     JRResponseException
Tests if a catalog exists in a report server.

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).
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
Returns:
if a catalog exists in a report server.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

getResultVersions

public static java.util.Vector getResultVersions(java.awt.Frame frame,
                                                 java.lang.String reportURL)
                                          throws java.net.MalformedURLException,
                                                 java.io.IOException,
                                                 JRResponseException
Deprecated. As of version 6, replaced by getResultVersions(Frame frame, String url, String report)

Returns the result versions of a report in a report server.

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
Returns:
the result versions of a report in a report server. The Vector contains VersionRecord objects.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
See Also:
jet.client.api.VersionRecord

getResultVersions

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
Returns the result versions of a report in a report server.

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
rpt - the report name.
Returns:
the result versions of a report in a report server. The Vector contains VersionRecord objects.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
See Also:
jet.client.api.VersionRecord

getReportVersions

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
Returns the report versions of a report in a report server.

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
rpt - the report name.
Returns:
the result versions of a report in a report server. The Vector contains VersionRecord objects.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
See Also:
jet.client.api.VersionRecord

getResultDocVersions

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
Returns the result doc versions of a result in a report server.

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
rst - the result name.
Returns:
the result versions of a report in a report server. The Vector contains VersionRecord objects.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
See Also:
jet.client.api.VersionRecord

getCatalogVersions

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
Returns the catalog versions of a catalog in a report server.

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
cat - the catalog name.
Returns:
the result versions of a report in a report server. The Vector contains VersionRecord objects.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
See Also:
jet.client.api.VersionRecord

getNodeProperties

public static NodeProp getNodeProperties(java.awt.Frame frame,
                                         java.lang.String reportURL,
                                         java.lang.String name)
                                  throws java.net.MalformedURLException,
                                         java.io.IOException,
                                         JRResponseException
Returns the catalog versions of a catalog in a report server.

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
name - the name of resource
Returns:
the properties of a resource(report,catalog and folder).
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
See Also:
jet.client.api.VersionRecord

setJDBCConnection

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
Deprecated. Replaced by properties jrs.jdbc_url and jrs.jdbc_driver in sendCmdRunAndView(...).

set the JDBC connection parameters of a catalog

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).
catURL - the url string of the catalog in a report server. For example: http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat
paramValues - 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.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

makeViewTempResultURL

public 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. The result name is returned by calling sendCmdRunAndView(...).

Parameters:
rptURL - the url string of the report in a report server. For example: http://jrserver:8888/SampleReports/SampleReports.cat/CustomerAnalysis.cls
rst - the temp result name of the report in the report server. The result name is returned by calling sendCmdRunAndView(...).
Returns:
the URL string to view a temp result of a report.

makeViewTempResultURL

public 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. The result name is returned by calling sendCmdRunAndView(...).

Parameters:
rptURL - the url string of the report in a report server. For example: http://jrserver:8888/SampleReports/SampleReports.cat/CustomerAnalysis.cls
rst - the temp result name of the report in the report server. The result name is returned by calling sendCmdRunAndView(...).
sheet - the report sheet name.
Returns:
the URL string to view a temp result of a report.

makeViewVersionURL

public 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. The VersionRecord list of a report can be got from the method getVersionList(...) of this class.

Parameters:
rptURL - the url string of the report in a report server. For example: http://jrserver:8888/SampleReports/SampleReports.cat/CustomerAnalysis.cls
resultVersion - 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.
Returns:
the URL string to view a result version of a report.

makeViewVersionURL

public 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. The VersionRecord list of a report can be got from the method getVersionList(...) of this class.

Parameters:
rptURL - the url string of the report in a report server. For example: http://jrserver:8888/SampleReports/SampleReports.cat/CustomerAnalysis.cls
resultVersion - 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.
Returns:
the URL string to view a result version of a report.

exportTempResult

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
Deprecated. As of version 6, replaced by exportTempResultEx(String, String, Hashtable, boolean).

Exporting a temporary result to JReport result, HTML, PDF, TEXT, Excel, PostScript and RTF.

Parameters:
rptURL - the url string of the report in a report server. For example: http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.cls
tempResult - 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.
Returns:
if failed or not. boolean[0]: if fail to export to JReport result boolean[1]: if fail to export to HTML boolean[2]: if fail to export to PDF boolean[3]: if fail to export to TEXT boolean[4]: if fail to export to Excel boolean[5]: if fail to export to PS boolean[6]: if fail to export to RTF
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

exportTempResult

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
Deprecated. As of version 6, replaced by exportTempResultEx(String, String, Hashtable, boolean).

Exporting a temporary result to JReport result, HTML, PDF, TEXT, Excel, PostScript and RTF.

Parameters:
rptURL - the url string of the report in a report server. For example: http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.cls
tempResult - 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).
Returns:
if failed or not. boolean[0]: if fail to export to JReport result boolean[1]: if fail to export to HTML boolean[2]: if fail to export to PDF boolean[3]: if fail to export to TEXT boolean[4]: if fail to export to Excel boolean[5]: if fail to export to PS boolean[6]: if fail to export to RTF
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

exportTempResult

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
Deprecated. As of version 6, replaced by exportTempResultEx(String, String, Hashtable, boolean).

Exporting a temporary result to JReport result, HTML, PDF, TEXT, Excel, PostScript and RTF.

Parameters:
rptURL - the url string of the report in a report server. For example: http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.cls
tempResult - 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).
Returns:
if failed or not. boolean[0]: if fail to export to JReport result boolean[1]: if fail to export to HTML boolean[2]: if fail to export to PDF boolean[3]: if fail to export to TEXT boolean[4]: if fail to export to Excel boolean[5]: if fail to export to PS boolean[6]: if fail to export to RTF
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

exportTempResult

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
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).

Exporting a temporary result to JReport result, HTML, PDF, TEXT, Excel and PostScript.

Parameters:
rptURL - the url string of the report in a report server. For example: http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.cls
tempResult - 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).
Returns:
if failed or not. boolean[0]: if fail to export to JReport result boolean[1]: if fail to export to HTML boolean[2]: if fail to export to PDF boolean[3]: if fail to export to TEXT boolean[4]: if fail to export to Excel boolean[5]: if fail to export to PS
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

exportTempResult

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
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).

Exporting a temporary result to JReport result, HTML, PDF, TEXT, Excel, PostScript, RTF and XML.

Parameters:
rptURL - the url string of the report in a report server. For example: http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.cls
tempResult - 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.
Returns:
if failed or not. boolean[0]: if fail to export to JReport result boolean[1]: if fail to export to HTML boolean[2]: if fail to export to PDF boolean[3]: if fail to export to TEXT boolean[4]: if fail to export to Excel boolean[5]: if fail to export to PS boolean[6]: if fail to export to RTF boolean[7]: if fail to export to XML
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

exportTempResult

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
Deprecated. As of version 6, replaced by exportTempResultEx(String, String, Hashtable, boolean).

Exporting a temporary result to JReport result, HTML, PDF, TEXT, Excel, PostScript, RTF and XML.

Parameters:
rptURL - the url string of the report in a report server. For example: http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.cls
tempResult - 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.
Returns:
if failed or not. boolean[0]: if fail to export to JReport result boolean[1]: if fail to export to HTML boolean[2]: if fail to export to PDF boolean[3]: if fail to export to TEXT boolean[4]: if fail to export to Excel boolean[5]: if fail to export to PS boolean[6]: if fail to export to RTF boolean[7]: if fail to export to XML
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

exportTempResult

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
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).

Exporting a temporary result to JReport result, HTML, PDF, TEXT, Excel, PostScript, RTF and XML.

Parameters:
rptURL - the url string of the report in a report server. For example: http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.cls
tempResult - 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).
Returns:
if failed or not. boolean[0]: if fail to export to JReport result boolean[1]: if fail to export to HTML boolean[2]: if fail to export to PDF boolean[3]: if fail to export to TEXT boolean[4]: if fail to export to Excel boolean[5]: if fail to export to PS boolean[6]: if fail to export to RTF boolean[7]: if fail to export to XML
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

exportTempResult

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
Deprecated. As of version 6, replaced by exportTempResultEx(String, String, Hashtable, boolean).

Exporting a temporary result to JReport result, HTML, PDF, TEXT, Excel, PostScript, RTF and XML.

Parameters:
rptURL - the url string of the report in a report server. For example: http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.cls
tempResult - 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).
Returns:
if failed or not. boolean[0]: if fail to export to JReport result boolean[1]: if fail to export to HTML boolean[2]: if fail to export to PDF boolean[3]: if fail to export to TEXT boolean[4]: if fail to export to Excel boolean[5]: if fail to export to PS boolean[6]: if fail to export to RTF boolean[7]: if fail to export to XML
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

exportTempResult

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
Deprecated. As of JREntViewer version 5.0,

Exporting a temporary result to JReport result, HTML, PDF, TEXT, Excel, PostScript, RTF and XML.

Parameters:
rptURL - the url string of the report in a report server. For example: http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.cls
tempResult - 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).
Returns:
if failed or not. boolean[0]: if fail to export to JReport result boolean[1]: if fail to export to HTML boolean[2]: if fail to export to PDF boolean[3]: if fail to export to TEXT boolean[4]: if fail to export to Excel boolean[5]: if fail to export to PS boolean[6]: if fail to export to RTF boolean[7]: if fail to export to XML
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

exportTempResult

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
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).

Exporting a temporary result to JReport result, HTML, PDF, TEXT, Excel, PostScript, RTF and XML.

Parameters:
rptURL - the url string of the report in a report server. For example: http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.cls
tempResult - 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).
Returns:
if failed or not. boolean[0]: if fail to export to JReport result boolean[1]: if fail to export to HTML boolean[2]: if fail to export to PDF boolean[3]: if fail to export to TEXT boolean[4]: if fail to export to Excel boolean[5]: if fail to export to PS boolean[6]: if fail to export to RTF boolean[7]: if fail to export to XML
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

exportTempResult

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
Deprecated. As of version 6, replaced by exportTempResultEx(String, String, Hashtable, boolean).

Exporting a temporary result to JReport result, HTML, PDF, TEXT, Excel, PostScript, RTF and XML.

Parameters:
rptURL - the url string of the report in a report server. For example: http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.cls
tempResult - 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).
Returns:
if failed or not. boolean[0]: if fail to export to JReport result boolean[1]: if fail to export to HTML boolean[2]: if fail to export to PDF boolean[3]: if fail to export to TEXT boolean[4]: if fail to export to Excel boolean[5]: if fail to export to PS boolean[6]: if fail to export to RTF boolean[7]: if fail to export to XML
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

exportTempResult

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
Deprecated. As of version 6, replaced by exportTempResultEx(String, String, Hashtable, boolean).

Exporting a temporary result to JReport result, HTML, PDF, TEXT, Excel, PostScript, RTF and XML.

Parameters:
rptURL - the url string of the report in a report server. For example: http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.cls
tempResult - 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.
Returns:
if failed or not. boolean[0]: if fail to export to JReport result boolean[1]: if fail to export to HTML boolean[2]: if fail to export to PDF boolean[3]: if fail to export to TEXT boolean[4]: if fail to export to Excel boolean[5]: if fail to export to PS boolean[6]: if fail to export to RTF boolean[7]: if fail to export to XML
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

exportTempResult

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
Deprecated. As of version 6, replaced by exportTempResultEx(String, String, Hashtable, boolean).

Exporting a temporary result to JReport result, HTML, PDF, TEXT, Excel, PostScript, RTF and XML.

Parameters:
rptURL - the url string of the report in a report server. For example: http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.cls
tempResult - 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).
Returns:
if failed or not. boolean[0]: if fail to export to JReport result boolean[1]: if fail to export to HTML boolean[2]: if fail to export to PDF boolean[3]: if fail to export to TEXT boolean[4]: if fail to export to Excel boolean[5]: if fail to export to PS boolean[6]: if fail to export to RTF boolean[7]: if fail to export to XML
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

exportTempResult

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
Deprecated. As of version 6, replaced by exportTempResultEx(String, String, Hashtable, boolean).

Exporting a temporary result to JReport result, HTML, PDF, TEXT, Excel, PostScript, RTF and XML.

Parameters:
rptURL - the url string of the report in a report server. For example: http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.cls
tempResult - 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).
Returns:
if failed or not. boolean[0]: if fail to export to JReport result boolean[1]: if fail to export to HTML boolean[2]: if fail to export to PDF boolean[3]: if fail to export to TEXT boolean[4]: if fail to export to Excel boolean[5]: if fail to export to PS boolean[6]: if fail to export to RTF boolean[7]: if fail to export to XML
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

exportTempResultEx

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
Exporting a temporary result to JReport result, HTML, PDF, TEXT, Excel, PostScript, RTF and XML.

Parameters:
rptURL - the url string of the report in a report server. For example: http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.cls
tempResult - 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.
Returns:
if failed or not. boolean[0]: if fail to export to JReport result boolean[1]: if fail to export to HTML boolean[2]: if fail to export to PDF boolean[3]: if fail to export to TEXT boolean[4]: if fail to export to Excel boolean[5]: if fail to export to PS boolean[6]: if fail to export to RTF boolean[7]: if fail to export to XML
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

exportVersionResult

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
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).

Exporting a version result to JReport result, HTML, PDF, TEXT, Excel, PostScript, RTF and XML.

Parameters:
rptURL - the url string of the report in a report server. For example: http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.cls
versionResult - 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.
Returns:
if failed or not. boolean[0]: if fail to export to JReport result boolean[1]: if fail to export to HTML boolean[2]: if fail to export to PDF boolean[3]: if fail to export to TEXT boolean[4]: if fail to export to Excel boolean[5]: if fail to export to PS boolean[6]: if fail to export to RTF boolean[7]: if fail to export to XML
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

exportVersionResult

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
Deprecated. As of version 6, replaced by exportVersionResultEx(String, String, Hashtable, boolean).

Exporting a version result to JReport result, HTML, PDF, TEXT, Excel, PostScript, RTF and XML.

Parameters:
rptURL - the url string of the report in a report server. For example: http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.cls
versionResult - 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.
Returns:
if failed or not. boolean[0]: if fail to export to JReport result boolean[1]: if fail to export to HTML boolean[2]: if fail to export to PDF boolean[3]: if fail to export to TEXT boolean[4]: if fail to export to Excel boolean[5]: if fail to export to PS boolean[6]: if fail to export to RTF boolean[7]: if fail to export to XML
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

exportVersionResult

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
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).

Exporting a version result to JReport result, HTML, PDF, TEXT, Excel, PostScript, RTF and XML.

Parameters:
rptURL - the url string of the report in a report server. For example: http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.cls
versionResult - 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).
Returns:
if failed or not. boolean[0]: if fail to export to JReport result boolean[1]: if fail to export to HTML boolean[2]: if fail to export to PDF boolean[3]: if fail to export to TEXT boolean[4]: if fail to export to Excel boolean[5]: if fail to export to PS boolean[6]: if fail to export to RTF boolean[7]: if fail to export to XML
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

exportVersionResult

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
Deprecated. As of version 6, replaced by exportVersionResultEx(String, String, Hashtable, boolean).

Exporting a version result to JReport result, HTML, PDF, TEXT, Excel, PostScript, RTF and XML.

Parameters:
rptURL - the url string of the report in a report server. For example: http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.cls
versionResult - 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).
Returns:
if failed or not. boolean[0]: if fail to export to JReport result boolean[1]: if fail to export to HTML boolean[2]: if fail to export to PDF boolean[3]: if fail to export to TEXT boolean[4]: if fail to export to Excel boolean[5]: if fail to export to PS boolean[6]: if fail to export to RTF boolean[7]: if fail to export to XML
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

exportVersionResult

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
Deprecated. As of JREntViewer version 5.0,

Exporting a version result to JReport result, HTML, PDF, TEXT, Excel, PostScript, RTF and XML.

Parameters:
rptURL - the url string of the report in a report server. For example: http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.cls
versionResult - 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).
Returns:
if failed or not. boolean[0]: if fail to export to JReport result boolean[1]: if fail to export to HTML boolean[2]: if fail to export to PDF boolean[3]: if fail to export to TEXT boolean[4]: if fail to export to Excel boolean[5]: if fail to export to PS boolean[6]: if fail to export to RTF boolean[7]: if fail to export to XML
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

exportVersionResult

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
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).

Exporting a version result to JReport result, HTML, PDF, TEXT, Excel, PostScript, RTF and XML.

Parameters:
rptURL - the url string of the report in a report server. For example: http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.cls
versionResult - 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).
Returns:
if failed or not. boolean[0]: if fail to export to JReport result boolean[1]: if fail to export to HTML boolean[2]: if fail to export to PDF boolean[3]: if fail to export to TEXT boolean[4]: if fail to export to Excel boolean[5]: if fail to export to PS boolean[6]: if fail to export to RTF boolean[7]: if fail to export to XML
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

exportVersionResult

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
Deprecated. As of version 6, replaced by exportVersionResultEx(String, String, Hashtable, boolean).

Exporting a version result to JReport result, HTML, PDF, TEXT, Excel, PostScript, RTF and XML.

Parameters:
rptURL - the url string of the report in a report server. For example: http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.cls
versionResult - 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).
Returns:
if failed or not. boolean[0]: if fail to export to JReport result boolean[1]: if fail to export to HTML boolean[2]: if fail to export to PDF boolean[3]: if fail to export to TEXT boolean[4]: if fail to export to Excel boolean[5]: if fail to export to PS boolean[6]: if fail to export to RTF boolean[7]: if fail to export to XML
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

exportVersionResult

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
Deprecated. As of version 6, replaced by exportVersionResultEx(String, String, Hashtable, boolean).

Exporting a version result to JReport result, HTML, PDF and TEXT.

Parameters:
rptURL - the url string of the report in a report server. For example: http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.cls
versionResult - 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).
Returns:
if failed or not. boolean[0]: if fail to export to JReport result boolean[1]: if fail to export to HTML boolean[2]: if fail to export to PDF boolean[3]: if fail to export to TEXT boolean[4]: if fail to export to Excel boolean[5]: if fail to export to PS
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

exportVersionResult

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
Deprecated. As of version 6, replaced by exportVersionResultEx(String, String, Hashtable, boolean).

Exporting a version result to JReport result, HTML, PDF and TEXT.

Parameters:
rptURL - the url string of the report in a report server. For example: http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.cls
versionResult - 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.
Returns:
if failed or not. boolean[0]: if fail to export to JReport result boolean[1]: if fail to export to HTML boolean[2]: if fail to export to PDF boolean[3]: if fail to export to TEXT boolean[4]: if fail to export to Excel boolean[5]: if fail to export to PS
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

exportVersionResult

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
Deprecated. As of version 6, replaced by exportVersionResultEx(String, String, Hashtable, boolean).

Exporting a version result to JReport result, HTML, PDF and TEXT.

Parameters:
rptURL - the url string of the report in a report server. For example: http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.cls
versionResult - 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).
Returns:
if failed or not. boolean[0]: if fail to export to JReport result boolean[1]: if fail to export to HTML boolean[2]: if fail to export to PDF boolean[3]: if fail to export to TEXT boolean[4]: if fail to export to Excel boolean[5]: if fail to export to PS
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

exportVersionResult

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
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).

Exporting a version result to JReport result, HTML, PDF and TEXT.

Parameters:
rptURL - the url string of the report in a report server. For example: http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.cls
versionResult - 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).
Returns:
if failed or not. boolean[0]: if fail to export to JReport result boolean[1]: if fail to export to HTML boolean[2]: if fail to export to PDF boolean[3]: if fail to export to TEXT boolean[4]: if fail to export to Excel boolean[5]: if fail to export to PS
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

exportVersionResult

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
Deprecated. As of version 6, replaced by exportVersionResultEx(String, String, Hashtable, boolean).

Exporting a version result to JReport result, HTML, PDF, TEXT, Excel, PostScript, RTF and XML.

Parameters:
rptURL - the url string of the report in a report server. For example: http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.cls
versionResult - 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.
Returns:
if failed or not. boolean[0]: if fail to export to JReport result boolean[1]: if fail to export to HTML boolean[2]: if fail to export to PDF boolean[3]: if fail to export to TEXT boolean[4]: if fail to export to Excel boolean[5]: if fail to export to PS boolean[6]: if fail to export to RTF boolean[7]: if fail to export to XML
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

exportVersionResult

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
Deprecated. As of version 6, replaced by exportVersionResultEx(String, String, Hashtable, boolean).

Exporting a version result to JReport result, HTML, PDF, TEXT, Excel, PostScript, RTF and XML.

Parameters:
rptURL - the url string of the report in a report server. For example: http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.cls
versionResult - 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).
Returns:
if failed or not. boolean[0]: if fail to export to JReport result boolean[1]: if fail to export to HTML boolean[2]: if fail to export to PDF boolean[3]: if fail to export to TEXT boolean[4]: if fail to export to Excel boolean[5]: if fail to export to PS boolean[6]: if fail to export to RTF boolean[7]: if fail to export to XML
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

exportVersionResult

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
Deprecated. As of version 6, replaced by exportVersionResultEx(String, String, Hashtable, boolean).

Exporting a version result to JReport result, HTML, PDF, TEXT, Excel, PostScript, RTF and XML.

Parameters:
rptURL - the url string of the report in a report server. For example: http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.cls
versionResult - 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).
Returns:
if failed or not. boolean[0]: if fail to export to JReport result boolean[1]: if fail to export to HTML boolean[2]: if fail to export to PDF boolean[3]: if fail to export to TEXT boolean[4]: if fail to export to Excel boolean[5]: if fail to export to PS boolean[6]: if fail to export to RTF boolean[7]: if fail to export to XML
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

exportVersionResultEx

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
Exporting a version result to JReport result, HTML, PDF, TEXT, Excel, PostScript, RTF and XML.

Parameters:
rptURL - the url string of the report in a report server. For example: http://server:8888/servlet/jrservlet/SampleReports/SampleReports.cat/CustomerAnalysis.cls
versionResult - 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.
Returns:
if failed or not. boolean[0]: if fail to export to JReport result boolean[1]: if fail to export to HTML boolean[2]: if fail to export to PDF boolean[3]: if fail to export to TEXT boolean[4]: if fail to export to Excel boolean[5]: if fail to export to PS boolean[6]: if fail to export to RTF boolean[7]: if fail to export to XML
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

isTempResultReady

public static boolean isTempResultReady(java.awt.Frame frame,
                                        java.lang.String rptURL,
                                        java.lang.String tempResult)
                                 throws java.net.MalformedURLException,
                                        java.io.IOException,
                                        JRResponseException
Tests if the temporary result on the server side is ready. The temporary result name is returned by sendCmdRunAndView(...).

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
tempResult - the temporary result filename of the report on the server side.
Returns:
if the temporary result on the server side is ready.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

waitTempResultReady

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
Waits the temporary result on the server side ready. The temporary result name is returned by sendCmdRunAndView(...).

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
tempResult - the temporary result filename of the report on the server side.
Throws:
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.

waitTempResultReady

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
Waits the temporary result on the server side ready. The temporary result name is returned by sendCmdRunAndView(...).

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
tempResult - the temporary result filename of the report on the server side.
timeout - the timeout in milliseconds.
Throws:
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.

getTempResultInputStream

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
Gets the InputStream of temporary result. The temporary result name is returned by sendCmdRunAndView(...). The method waits the temporary result ready at first, then gets the InputStream of the temporary result from the server.

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
tempResult - the temporary result filename of the report on the server side.
Returns:
the InputStream of the temporary result from the server.
Throws:
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.

getTempResultInputStream

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
Gets the InputStream of temporary result. The temporary result name is returned by sendCmdRunAndView(...). The method waits the temporary result ready at first, then gets the InputStream of the temporary result from the server.

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
tempResult - the temporary result filename of the report on the server side.
timeout - the timeout in milliseconds.
Returns:
the InputStream of the temporary result from the server.
Throws:
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.

getFoldersInputStream

public static java.io.InputStream getFoldersInputStream(java.awt.Frame frame,
                                                        java.lang.String svrURL)
                                                 throws java.net.MalformedURLException,
                                                        java.io.IOException,
                                                        JRResponseException,
                                                        TimeoutException
Gets the InputStream of folder resource list. The method waits the folder resource ready at first, then gets the InputStream of the folder resource list from the server.

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/jrserver
tempResult - the properties of folder resource list on the server side.
timeout - the timeout in milliseconds.
Returns:
the InputStream of the folder resource list from the server.
Throws:
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.

downloadResultFiles

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
Gets the all of result files. The method waits the result file list ready at first, then gets the InputStreams of the result files from the server, and creats these temporary file at specified path.

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).
svrURL - the url string of the report in a report server. For example: http://server:8888/jrserver
rptPath - the path of the report on the server side. For example: /SampleReports/CustomerAnalysis.cls
versionNum - the number of the version.
suffix - the type of the result.
restorePath - the specified path who be used to restore the temporary files.
Returns:
the name of the first file of the result list of this type.
Throws:
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.
Since:
Server 6.1.0

downloadResultFiles

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
Gets the all of result files. The method waits the result file list ready at first, then gets the InputStreams of the result files from the server, and creats these temporary file at specified path.

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).
svrURL - the url string of the report in a report server. For example: http://server:8888/jrserver
rptPath - the path of the report on the server side. For example: /SampleReports/CustomerAnalysis.cls
versionNum - 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.
Returns:
the name of the first file of the result list of this type.
Throws:
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.
Since:
Server 8.0

hasResultFiles

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
Throws:
java.net.MalformedURLException
java.io.IOException
JRResponseException
TimeoutException

getSelectedFolderComment

public static java.io.InputStream getSelectedFolderComment(java.awt.Frame frame,
                                                           java.lang.String svrURL)
                                                    throws java.io.IOException,
                                                           JRResponseException
Gets the InputStream of the folder's files list. The method waits the folder's files list ready at first, then gets the InputStream of the folder's files list from the server.

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/jrserver/foldername
tempResult - the properties of the folder's files list on the server side.
timeout - the timeout in milliseconds.
Returns:
the InputStream of the folder's files list from the server.
Throws:
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.

getSupportedEncodingNames

public static java.lang.String[] getSupportedEncodingNames()
Gets supported encoding names(same to java ecodings).

Returns:
supported encoding names(same to java ecodings).

getSSL

public static boolean getSSL()
Gets current SSL status

Returns:
current SSL status

setSSL

public static boolean setSSL(boolean SSL)
Set whether use SSL on current connection

Parameters:
useSSL - if set to true to enable SSL on current connection

isNoLoginDialog

public static boolean isNoLoginDialog()
Test if the login dialog pops up when the user is unauthorized to access the server.

Returns:
true throw Exception instead of poping up the login dialog. false pops up a login dialog.

setNoLoginDialog

public static void setNoLoginDialog(boolean isNoLoginDialog)
Set whether to pop up the login dialog when the user is unauthorized to access the server.

Parameters:
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.

getVersionProperties

public static java.util.Hashtable getVersionProperties(java.awt.Frame frame,
                                                       java.lang.String url,
                                                       java.util.Hashtable ht)
                                                throws java.io.IOException,
                                                       JRResponseException
Gets the Hashtable of version properties. The method waits the version properties ready at first, then gets the Hashtable of the version properties from the server.

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/jrserver
the - properties of he version .
timeout - the timeout in milliseconds.
Returns:
the Hashtable of the version properties from the server.
Throws:
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.

saveVersionProperties

public static void saveVersionProperties(java.awt.Frame frame,
                                         java.lang.String url,
                                         java.util.Hashtable ht)
                                  throws java.io.IOException,
                                         JRResponseException
for saving the properties of the version. The method waits the version properties save ready at first.

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/jrserver
the - properties of the version on the server side.
timeout - the timeout in milliseconds.
Throws:
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.

checkPermission

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
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).
jrsvrURL - the URL string of the JRServlet. For examples: http://jrserver:8888/ or http://server:8888/servlet/jrservlet/
user - a user name. For example: Tom
path - a path. For example: /SampleReports/SampleReports.cat
permission - permission definition For example: jrs.visible
Returns:
the privilege value in a report server.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

isOnlyContainBurstRpt

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
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).
jrsvrURL - the URL string of the JRServlet. For examples: http://jrserver:8888/ or http://server:8888/servlet/jrserver/
user - a user name. For example: Tom
catalog - the catalog name with full path. For example: /SampleReports/SampleReports.cat
rptName - the report name For example: /SampleReports/CustomerAnalysis.cls
Returns:
true if the report set only contain bursting report, otherwise return false.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

isNoBurstRpt

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
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).
jrsvrURL - the URL string of the JRServlet. For examples: http://jrserver:8888/ or http://server:8888/servlet/jrserver/
user - a user name. For example: Tom
rptProp - a Hashtable contains report name, catalog name, report version, catalog version.
Returns:
true if the report set don't contain bursting report, otherwise return false.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

currentRptIsBursting

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
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).
jrsvrURL - the URL string of the JRServlet. For examples: http://jrserver:8888/ or http://server:8888/servlet/jrserver/
user - a user name. For example: Tom
catalog - the catalog name with full path. For example: /SampleReports/SampleReports.cat
rptName - the report name For example: /SampleReports/CustomerAnalysis.cls
Returns:
true if the current report is bursting report, otherwise return false.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

checkPrivilege

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
Parameters:
frame -
url -
user -
privilege -
Returns:
Throws:
java.io.IOException
JRResponseException

isAdminUser

public static boolean isAdminUser(java.awt.Frame frame,
                                  java.lang.String url,
                                  java.lang.String user)
                           throws java.io.IOException,
                                  JRResponseException
Gets a boolean value. The method waits user is ready at first, then gets the boolean of the user check from the server.

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/jrserver
user - the user name. For example: Tom.
timeout - the timeout in milliseconds.
Returns:
the boolean of user check from the server.
Throws:
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.

isEnableDuration

public static boolean isEnableDuration(java.awt.Frame frame,
                                       java.lang.String url)
                                throws java.io.IOException,
                                       JRResponseException
Gets a boolean value. Check whether server enable duration.

Parameters:
frame -
url -
Returns:
the boolean of enable duration check from the server.
Throws:
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

advancedDeploy

public static void advancedDeploy(java.awt.Frame frame,
                                  java.lang.String url,
                                  java.util.Hashtable prop)
                           throws java.io.IOException,
                                  JRResponseException
The method is used to do advanced deploy. If you want to deploy only a report, catalog or folder you should better use the simple deploy method. Since advanced deploy is used to deploy folder with contents, catalogs reports and folders in folder and catalogs and reports in folder and define the every node properties customerize.

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/jrserver
prop - the deploy node properties.
Throws:
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

deploy

public static void deploy(java.awt.Frame frame,
                          java.lang.String url,
                          java.util.Hashtable prop)
                   throws java.io.IOException,
                          JRResponseException
The method is used to do simple deploy. At the condition that deploy a folder, a report or catalog to server resource. If you want to deploy folder with contents, catalogs reports and folders in folder and catalogs and reports in folder with the default node properties. It is should use simple deploy API.

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/jrserver
prop - the deploy node properties.
Throws:
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
Note: If the APIConst.TAG_NODE_TYPE is APIConst.NODE_FOLDER, using the constants APIConst.TAG_ONLY_DEPLOY_FILES, APIConst.TAG_ONLY_DEPLOY_FILES_AND_SUBFOLDERS and APIConst.TAG_FOLDER_WITH_CONTENTS to define the deploy type as catalogs and reports in folder, folder with contents or catalogs and reports and folders in folder.

connect

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
connect to the JReport Enterprise Server, user can get these parameters from jet.client.api.gui.ConnectionDialog

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).
host - the host address of server
port - the server port
servletPath - the path of servlet which responds client request
enableSSL - indicate whether to enable SSL on current connection or not
userName - the login user name
password - the login password of the user
Throws:
java.lang.Exception
java.net.MalformedURLException
java.io.IOException
JRResponseException

getRealPath

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
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).
url - the url string of the report in a report server. For example: http://server:8888/jrserver
resName -
resVersion -
resType - 0 report 1 result 2 result doc 3 catalog
Returns:
Throws:
java.io.IOException
JRResponseException

getLatestVersionNumber

public static int getLatestVersionNumber(java.awt.Frame frame,
                                         java.lang.String url,
                                         java.lang.String path)
                                  throws java.net.MalformedURLException,
                                         java.io.IOException,
                                         JRResponseException
Get the latest version number of specific resource.

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).
url - the url string of the report in a report server. For example: http://server:8888/jrserver
path - resource path to specify a resource
Returns:
the latest verison number of specific resource, if specific resource does not exist or input string does not specify a resource, return -1.
Throws:
java.net.MalformedURLException
java.io.IOException
JRResponseException

canExportDhtmlResult

public static boolean canExportDhtmlResult(java.awt.Frame frame,
                                           java.lang.String url,
                                           java.util.Hashtable prop)
                                    throws java.net.MalformedURLException,
                                           java.io.IOException,
                                           JRResponseException
Judge whether the report supports being exported to DHTML result.

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).
url - the url string of the report in a report server. For example: http://server:8888/jrserver
prop - 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);
Returns:
Throws:
java.net.MalformedURLException
java.io.IOException
JRResponseException

getCompletedPublishRecords

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
Returns the completed publish records from a report server.

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).
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
Returns:
Return a hashtable, whose key is sheet and value is vector. the Vector contains the CompletedPublishRecord objects.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.
See Also:
jet.client.api.Completed

getEnableDisplayPermissions

public static boolean[] getEnableDisplayPermissions(java.awt.Frame frame,
                                                    java.lang.String rptURL)
                                             throws java.net.MalformedURLException,
                                                    java.io.IOException,
                                                    JRResponseException
Get an array, indicating which Permissions can be displayed on sever resource. Order of values in this array is Role, Group and User.

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 JRServlet. For examples: http://jrserver:8888/ or http://server:8888/servlet/jrservlet/
Returns:
a 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.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

getInheritedPermissions

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
Return get permissions hash table of the parent resource.

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 in a report server. For example: http://jrserver:8888/
path - the path which attachs permissions
versionNumber - version number to specify version of the path, if its value is 0, get the latest version.
Returns:
a 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.
Throws:
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>
     <userPermissionHt> ::= NULL | {<userName>, <permissionString>}...
     <rolePermissionHt> ::= NULL | {<roleName>, <permissionString>}...
     <groupPermissionHt> ::= NULL | (<groupName>, <permissionString>)...
     <userName> ::= a string of user name
     <roleName> ::= a string of role name
     <groupName> ::= a string of group name
     <permissionString> ::= {<visible><read><write><delete><exectue><schedule><grant>}...
     <visible> ::= CSPermission.DENY | CSPermission.ALLOW
     <read> ::= CSPermission.DENY | CSPermission.ALLOW
     <write> ::= CSPermission.DENY | CSPermission.ALLOW
     <delete> ::= CSPermission.DENY | CSPermission.ALLOW
     <execute> ::= CSPermission.DENY | CSPermission.ALLOW
     <schedule> ::= CSPermission.DENY | CSPermission.ALLOW
     <grant> ::= CSPermission.DENY | CSPermission.ALLOW

CSPermissions.DENY = 0

CSPermissions.ALLOW = 1

a permissionString has 7 chars and it could be like: 0110100
java.lang.ClassNotFoundException

getPermissions

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
Get defined permissions of users that attached to specific path

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 in a report server. For example: http://jrserver:8888/
path - the path which attachs permissions
versionNumber - version number to specify version of the path, if its value is 0, get the latest version.
Returns:
a 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.
Throws:
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>
     <userPermissionHt> ::= NULL | {<userName>, <permissionString>}...
     <rolePermissionHt> ::= NULL | {<roleName>, <permissionString>}...
     <groupPermissionHt> ::= NULL | (<groupName>, <permissionString>)...
     <userName> ::= a string of user name
     <roleName> ::= a string of role name
     <groupName> ::= a string of group name
     <permissionString> ::= {<visible><read><write><delete><exectue><schedule><grant>}...
     <visible> ::= CSPermission.DENY | CSPermission.ALLOW
     <read> ::= CSPermission.DENY | CSPermission.ALLOW
     <write> ::= CSPermission.DENY | CSPermission.ALLOW
     <delete> ::= CSPermission.DENY | CSPermission.ALLOW
     <execute> ::= CSPermission.DENY | CSPermission.ALLOW
     <schedule> ::= CSPermission.DENY | CSPermission.ALLOW
     <grant> ::= CSPermission.DENY | CSPermission.ALLOW

CSPermissions.DENY = 0

CSPermissions.ALLOW = 1

a permissionString has 7 chars and it could be like: 0110100
java.lang.ClassNotFoundException

getExportScripts

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
Get an string, indicating the generate script of the specified tasks.

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).
jrsvrURL - the URL string of the JRServlet. For examples: http://jrserver:8888/ or http://server:8888/servlet/jrservlet/
taskIds - specified tasks' ID.
Returns:
the scripts string.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

getParseScrips

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
Get an array, indicating the result with parse scripts.

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).
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.
Returns:
Properties array whose order corresponds to that of tasks described in scrips. Properties object can be submitted using the JRClient.submitScheduledTask method.
Throws:
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

submitTasks

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
Get an array, indicating the submitted tasks.

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).
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.
Returns:
string array that corresponds to array of the submitted tasks. When submission of the corresponding task is successfully, it is the taskID.
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException - if an I/O exception occurs.
JRResponseException - if a JRResponseException occurs.

getActionEditPermissions

public static boolean[] getActionEditPermissions(java.awt.Frame frame,
                                                 java.lang.String rptURL)
                                          throws java.net.MalformedURLException,
                                                 java.io.IOException,
                                                 JRResponseException
Get an array, indicating which Permissions can be edit on SecurityWebAdaptor. Order of values in this array is Role, Group and User.

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 JRServlet. For examples: http://jrserver:8888/ or http://server:8888/servlet/jrservlet/
Returns:
a 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.
Throws:
java.net.MalformedURLException
java.io.IOException
JRResponseException

getAllCoditionTrggersName

public static java.lang.String[] getAllCoditionTrggersName(java.awt.Frame frame,
                                                           java.lang.String rptURL)
                                                    throws java.net.MalformedURLException,
                                                           java.io.IOException,
                                                           JRResponseException
Get all triggers' name

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 JRServlet. For examples: http://jrserver:8888/ or http://server:8888/servlet/jrservlet/
Returns:
A string arrary contains all triggers' name
Throws:
java.net.MalformedURLException
java.io.IOException
JRResponseException
Since:
8.00

createConditionTrigger

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
Creates a new EXTERN trigger with specified trigger name and description in the inner collection if it is not already present.

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).
serverUrl - the URL string of the JRServlet. For examples: http://jrserver:8888/ or http://server:8888/servlet/jrservlet/
name - the new trigger's name
description - the new trigger's description
Throws:
java.net.MalformedURLException
java.io.IOException
JRResponseException
Since:
8.00

IsEnableDynamicResource

public static boolean IsEnableDynamicResource(java.awt.Frame frame,
                                              java.lang.String rptURL)
                                       throws java.net.MalformedURLException,
                                              java.io.IOException,
                                              JRResponseException
Tell whether resource from real path is enabled

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 JRServlet. For examples: http://jrserver:8888/ or http://server:8888/servlet/jrservlet/
Returns:
true if it is enabled, false if it is disnabled.
Throws:
java.net.MalformedURLException
java.io.IOException
JRResponseException

getMediaTray

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
Returns a hashtable of media tray.

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).
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
Returns:
Return a hashtable of media tray, whose key is sheet and value is vector.
Throws:
java.net.MalformedURLException
java.io.IOException
JRResponseException
java.lang.ClassNotFoundException
Since:
8.00

getPaperList

public static java.lang.String[] getPaperList(java.awt.Frame frame,
                                              java.lang.String rptURL)
                                       throws java.net.MalformedURLException,
                                              java.io.IOException,
                                              JRResponseException
Get all print size paper list.

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 JRServlet. For examples: http://jrserver:8888/ or http://server:8888/servlet/jrservlet/
Returns:
A string arrary contains all print paper size name
Throws:
java.net.MalformedURLException
java.io.IOException
JRResponseException
Since:
8.00

checkValidation

public static int checkValidation(java.awt.Frame frm,
                                  java.lang.String sURL,
                                  java.lang.String qry)
                           throws java.io.IOException,
                                  JRResponseException
Connect to the server and check the validation of passed parameters based on special rules.

Parameters:
sURL, - the requrest url including the parameters for being validated.
Returns:
the validation code based on some special rules. return -1, if the connection is failed or exception generated.
Throws:
java.io.IOException
JRResponseException

isPromptTaskQueueFull

public static boolean isPromptTaskQueueFull(java.awt.Frame frame,
                                            java.lang.String jrsvrURL)
                                     throws java.net.MalformedURLException,
                                            java.io.IOException,
                                            JRResponseException
return whether enable prompt message when task queue is full.

Parameters:
jrsvrURL - the URL string of the JRServlet. For example: http://jrserver:8888/ or http://server:8888/servlet/jrservlet/
Returns:
true is enable, false is disenable
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException
JRResponseException

isTaskQueueFull

public static boolean isTaskQueueFull(java.awt.Frame frame,
                                      java.lang.String jrsvrURL)
                               throws java.net.MalformedURLException,
                                      java.io.IOException,
                                      JRResponseException
use default ondemand task priority to check whether task queue is full

Parameters:
jrsvrURL - the URL string of the JRServlet. For example: http://jrserver:8888/ or http://server:8888/servlet/jrservlet/
Returns:
If task queue is full return true, otherwise return false
Throws:
java.net.MalformedURLException - if a malformed URL exception occurs.
java.io.IOException
JRResponseException