|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--com.mobileapps.pcre.PCREEngine
| Field Summary | |
static int |
engineClosed
|
static int |
engineOpened
|
static int |
GV_DLL
|
static int |
GV_ENGINE
|
| Constructor Summary | |
PCREEngine(PCREClient client)
Construct a PCRE Engine object. |
|
PCREEngine(PCREClient client,
boolean open)
Construct a PCRE Engine object and optionally call OpenEngine. |
|
| Method Summary | |
boolean |
CanClose()
Query the print engine to see if it is closeable. |
java.lang.Object |
clone()
PCREEngine objects are not clonable, this method simply throws an exception. |
void |
Close()
Close the print engine. |
PCREAPI |
getAPI()
Get the PCREAPI object used by this engine. |
PCREClient |
getClient()
Get the client instance for this engine. |
short |
GetErrorCode()
Issue a PEGetErrorCode call. |
java.lang.String |
GetErrorText()
Issue a PEGetErrorStr call. |
boolean |
GetHandleString(int textHandle,
short textLength,
java.lang.StringBuffer string)
Issue a PEGetHandleString call. |
PCREJobTable |
getJobTable()
Get the job-table used by this engine. |
int |
getStatus()
Get the current engine status. |
short |
GetVersion(int versionRequested)
Get the version of this report engine. |
boolean |
LogOffServer(java.lang.String dllName,
PCRELogOnInfo logOnInfo)
Log off a database server. |
boolean |
LogOnServer(java.lang.String dllName,
PCRELogOnInfo logOnInfo)
Log on to a database server. |
boolean |
Open()
Open a new print engine. |
PCREJob |
OpenJob(java.lang.String reportFileName)
Open a report using this engine |
PCREJob |
OpenSubreport(PCREJob parentJob,
java.lang.String subreportName)
Open a subreport within a job's current report. |
void |
PrintReport(java.lang.String reportFile)
Print a given report |
| Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Field Detail |
public static final int GV_DLL
public static final int GV_ENGINE
public static final int engineClosed
public static final int engineOpened
| Constructor Detail |
public PCREEngine(PCREClient client)
throws PCREClientError,
PCREServerError,
PCREAPIError
client - The PCREClient object that holds the PCRE server connection.
public PCREEngine(PCREClient client,
boolean open)
throws PCREClientError,
PCREServerError,
PCREAPIError
client - The PCREClient object that holds the PCRE server connection.open - If true, call OpenEngine to open the print engine.| Method Detail |
public boolean CanClose()
throws PCREServerError,
PCREAPIError
public final java.lang.Object clone()
throws java.lang.CloneNotSupportedException
public void Close()
throws PCREServerError,
PCREAPIError
public PCREAPI getAPI()
public PCREClient getClient()
public short GetErrorCode()
throws PCREServerError,
PCREAPIError
public java.lang.String GetErrorText()
throws PCREServerError,
PCREAPIError
public boolean GetHandleString(int textHandle,
short textLength,
java.lang.StringBuffer string)
throws PCREServerError,
PCREAPIError
textHandle - The handle of the string to retrieve.textLength - The length of the text.string - A buffer to store the result into.public PCREJobTable getJobTable()
public int getStatus()
public short GetVersion(int versionRequested)
throws PCREServerError,
PCREAPIError
public boolean LogOffServer(java.lang.String dllName,
PCRELogOnInfo logOnInfo)
throws PCREServerError,
PCREAPIError
dllName - The DLL to use for the data source which you wish to log off.logOnInfo - The login information to use for logging off the database.
public boolean LogOnServer(java.lang.String dllName,
PCRELogOnInfo logOnInfo)
throws PCREServerError,
PCREAPIError
dllName - The DLL to use for the data source which you wish to log on to.logOnInfo - The login information to use.
public boolean Open()
throws PCREServerError,
PCREAPIError
public PCREJob OpenJob(java.lang.String reportFileName)
throws PCREServerError,
PCREAPIError
reportFileName - The path and filename of the report file to open.
public PCREJob OpenSubreport(PCREJob parentJob,
java.lang.String subreportName)
throws PCREServerError,
PCREAPIError
parentJob - The job associated with the report containing the subreport.subreportName - The name of the subreport within parentJob's report.
public void PrintReport(java.lang.String reportFile)
throws PCREServerError,
PCREAPIError
reportFile - The path and filename of the report file which is to be printed.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||