/** * Write the given bytes to the given output file. <TT>ffd</TT> = 1 refers to the job's standard * output stream; <TT>ffd</TT> = 2 refers to the job's standard error stream; other values refer * to a previously opened file. * * @param theJobBackend Job Backend that is calling this method. * @param ffd Frontend file descriptor. * @param buf Array of bytes to write. * @param off Index of first byte to write. * @param len Number of bytes to write. * @exception IOException Thrown if an I/O error occurred. */ public synchronized void outputFileWrite( JobBackendRef theJobBackend, int ffd, byte[] buf, int off, int len) throws IOException { myFrontendFileWriter.outputFileWrite(theJobBackend, ffd, len); }
/** * Close the given output file. * * @param theJobBackend Job Backend that is calling this method. * @param ffd Frontend file descriptor. * @exception IOException Thrown if an I/O error occurred. */ public synchronized void outputFileClose(JobBackendRef theJobBackend, int ffd) throws IOException { myFrontendFileWriter.outputFileClose(theJobBackend, ffd); }
/** * Open the given output file for writing or appending. * * @param theJobBackend Job Backend that is calling this method. * @param bfd Backend file descriptor. * @param file File. * @param append True to append, false to overwrite. * @exception IOException Thrown if an I/O error occurred. */ public synchronized void outputFileOpen( JobBackendRef theJobBackend, int bfd, File file, boolean append) throws IOException { myFrontendFileWriter.outputFileOpen(theJobBackend, bfd, file, append); }