|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.ibm.as400.access.PrintObject
|
+--com.ibm.as400.access.WriterJob
The WriterJob class represents an AS/400 writer job. An instance of this class can be used to manipulate an individual AS/400 writer. Use the start method to obtain a instance of this class. See Writer Job Attributes for valid attributes.
| Field Summary |
| Method Summary | |
void |
end(java.lang.String endType)
Ends a writer on the AS/400. |
java.lang.String |
getName()
Returns the name of the writer. |
static WriterJob |
start(AS400 system,
Printer printer,
PrintParameterList options,
OutputQueue outputQueue)
Starts a writer on the AS/400. |
| Methods inherited from class com.ibm.as400.access.PrintObject |
addPropertyChangeListener, addVetoableChangeListener, getFloatAttribute, getIntegerAttribute, getSingleFloatAttribute, getSingleIntegerAttribute, getSingleStringAttribute, getStringAttribute, getSystem, removePropertyChangeListener, removeVetoableChangeListener, setSystem, update |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public void end(java.lang.String endType)
throws AS400Exception,
AS400SecurityException,
ErrorCompletingRequestException,
java.io.IOException,
java.lang.InterruptedException,
RequestNotSupportedException
endType - When to end the writer.
May be any of the following values:
AS400Exception - If the AS/400 system returns an error message.
AS400SecurityException - If a security or authority error occurs.
ErrorCompletingRequestException - If an error occurs before the request is completed.
java.io.IOException - If an error occurs while communicating with the AS/400.
java.lang.InterruptedException - If this thread is interrupted.
RequestNotSupportedException - If the requested function is not supported because the
AS/400 system is not at the correct level.public java.lang.String getName()
public static WriterJob start(AS400 system,
Printer printer,
PrintParameterList options,
OutputQueue outputQueue)
throws AS400Exception,
AS400SecurityException,
ErrorCompletingRequestException,
java.io.IOException,
java.lang.InterruptedException
system - The system on which to start the writer job.printer - The printer that should be used
to start the writer job. This printer
must reside on the same AS/400 system that the
writer job is being started.options - Optional. A print parameter list that contains
a list of attributes to start the writer job.
The output queue parameters set in this list override the
output queue parameter.
The following parameters may be set:
outputQueue - Optional. The output queue to start the
writer job. The output queue must reside on
the same AS/400 system that the writer job
is being created.
AS400Exception - If the AS/400 system returns an error message.
AS400SecurityException - If a security or authority error occurs.
ErrorCompletingRequestException - If an error occurs before the request is completed.
java.io.IOException - If an error occurs while communicating with the AS/400.
java.lang.InterruptedException - If this thread is interrupted.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||