|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--com.starla.smb.SMBPrinterList
SMB printer list class
The SMBPrinterList class contains a list of SMBPrintQueueInfo ojbects, which contain details of a remote print queue.
The SMBAdminSession.getPrinterList () method returns an SMBPrinterList containing the list of remote print queues on the remote server.
| Constructor Summary | |
SMBPrinterList()
Class constructor |
|
| Method Summary | |
void |
addPrinterInfo(SMBPrintQueueInfo prninf)
Add a printer queue information object to the list. |
void |
clearList()
Clear all printer information objects from the list |
SMBPrintQueueInfo |
getPrinterInfo(int idx)
Get a printer queue information object from the list |
int |
NumberOfPrinters()
Get the number of printers in the list |
| Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public SMBPrinterList()
| Method Detail |
public final void addPrinterInfo(SMBPrintQueueInfo prninf)
srvinf - SMBPrintQueueInfo to add to the list.public final void clearList()
public final SMBPrintQueueInfo getPrinterInfo(int idx)
throws java.lang.ArrayIndexOutOfBoundsException
idx - Index of the printer information to returnpublic final int NumberOfPrinters()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||