org.simoes.lpd.common
Class ControlFile

java.lang.Object
  extended byorg.simoes.lpd.common.PrintFile
      extended byorg.simoes.lpd.common.ControlFile
All Implemented Interfaces:
java.lang.Cloneable

public class ControlFile
extends PrintFile
implements java.lang.Cloneable

Represents the ControlFile sent with a print job when the command is 02 Receive Print Job. The control file contains information about the print job. The information is encapsulated in ControlFileCommands. The body of the print job itself is found at DataFile.

Author:
Chris Simoes

Constructor Summary
ControlFile()
           
 
Method Summary
 java.lang.Object clone()
           
 ControlFileCommands getControlFileCommands()
           
 void setControlFileCommands(byte[] a)
           
 
Methods inherited from class org.simoes.lpd.common.PrintFile
getContents, getCount, getHostName, getJobNumber, setContents, setCount, setHostName, setJobNumber
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ControlFile

public ControlFile()
Method Detail

setControlFileCommands

public void setControlFileCommands(byte[] a)
                            throws LPDException
Throws:
LPDException

getControlFileCommands

public ControlFileCommands getControlFileCommands()

clone

public java.lang.Object clone()