org.gnu.jcifs
Class CifsPrinterSpoolInfo

java.lang.Object
  |
  +--org.gnu.jcifs.CifsPrinterSpoolInfo

public class CifsPrinterSpoolInfo
extends java.lang.Object

Spool queue entry


Field Summary
static int AWAITING
           
static int FILE_ERROR
           
static int IN_INTERCEPT
           
static int PRINTER_ERROR
           
static int PRINTING
           
static int STOPPED
           
 
Method Summary
 java.util.Date getCreationTime()
          Returns the time the file was queued
 java.lang.String getSpoolFileName()
          Returns the spool file name
 int getSpoolFileNumber()
          Returns the number of bytes in the spool file
 int getStatus()
          Returns the spool status
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STOPPED

public static final int STOPPED

PRINTING

public static final int PRINTING

AWAITING

public static final int AWAITING

IN_INTERCEPT

public static final int IN_INTERCEPT

FILE_ERROR

public static final int FILE_ERROR

PRINTER_ERROR

public static final int PRINTER_ERROR
Method Detail

getCreationTime

public java.util.Date getCreationTime()
Returns the time the file was queued
Returns:
date

getStatus

public int getStatus()
Returns the spool status
Returns:
status (see constants)

getSpoolFileNumber

public int getSpoolFileNumber()
Returns the number of bytes in the spool file
Returns:
number of bytes

getSpoolFileName

public java.lang.String getSpoolFileName()
Returns the spool file name
Returns:
spool file name

Norbert Hranitzky