|
Oracle Fusion Middleware Java API Reference for Oracle Enterprise Scheduler Service 11g Release 1 (11.1.1.6.2) E26229-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.as.scheduler.cp.exec.ProcessHelper
public class ProcessHelper
This class provides helper methods to obtain varioud process-related utilies like input,log and output files as well as some of the other applcore services like logging, messages, profiles and lookups. It must be noted that these APIs can only be called when a request execution is in progress. Created: Mon Mar 12 11:27:07 2007
Method Summary | |
---|---|
static void |
closeAllFiles() Close all open input/log/output files that were opened for this request. |
static InputFile |
getInputFile(java.lang.String fileToken) Get the input file described by the token |
static LogFile |
getLogFile() Get the log file associated with this request. |
static OutputFile |
getOutputFile() Get the default output file associated with this request. |
static OutputFile |
getOutputFile(java.lang.String fileName) Get the output file with the name fileName. |
static OutputFile |
getOutputFile(java.lang.String fileName, java.lang.String extension) Get the output file with the name fileName.extension. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static LogFile getLogFile() throws java.io.IOException
java.io.IOException
- if an error occurs accessing the log fileLogFile
public static OutputFile getOutputFile() throws java.io.IOException
java.io.IOException
- if an error occurs accessing the output filepublic static OutputFile getOutputFile(java.lang.String fileName) throws java.io.IOException
fileName
- the name of the output file to create/getjava.io.IOException
- if an error occurs accessing the filepublic static OutputFile getOutputFile(java.lang.String fileName, java.lang.String extension) throws java.io.IOException
fileName
- the name of the output file to create/getextension
- the extension of the output filejava.io.IOException
- if an error occurs accessing the filepublic static InputFile getInputFile(java.lang.String fileToken)
fileToken
- the string representing the input filepublic static void closeAllFiles() throws java.io.IOException
java.io.IOException
- if an error occurs closing any of the files
|
Oracle Fusion Middleware Java API Reference for Oracle Enterprise Scheduler Service 11g Release 1 (11.1.1.6.2) E26229-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |