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
           
(package private)  java.util.Date fCreationTime
           
static int FILE_ERROR
           
(package private)  java.lang.String fSpoolFileName
           
(package private)  int fSpoolFileNumber
           
(package private)  long fSpoolFileSize
           
(package private)  int fStatus
           
static int IN_INTERCEPT
           
static int PRINTER_ERROR
           
static int PRINTING
           
static int STOPPED
           
 
Constructor Summary
(package private) CifsPrinterSpoolInfo()
           
 
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
, clone, equals, finalize, 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

fCreationTime

java.util.Date fCreationTime

fStatus

int fStatus

fSpoolFileNumber

int fSpoolFileNumber

fSpoolFileSize

long fSpoolFileSize

fSpoolFileName

java.lang.String fSpoolFileName
Constructor Detail

CifsPrinterSpoolInfo

CifsPrinterSpoolInfo()
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