?? printerinfoinvoker.java
字號:
package jp.co.ntl.swing.ext.printer.printer;
import java.util.Vector;
import jp.co.ntl.Net;
import jp.co.ntl.NetworkException;
import jp.co.ntl.ServerException;
import jp.co.ntl.TimeOutException;
import jp.co.ntl.printer.PrinterInfo2;
///import jp.co.ntl.printer.PrinterRelationInfo;
///import jp.co.ntl.group.GroupRelationInfo;
public abstract class PrinterInfoInvoker {
public static PrinterInfoInvoker getInstance(Net net) {
return new PrinterInfoInvokerImpl(net);
}
public abstract Vector getPrinterInfo() throws NetworkException, ServerException, TimeOutException;
public abstract void setPrinterInfo(PrinterInfo2 printerInfo) throws NetworkException, ServerException, TimeOutException;
public abstract int addPrinter(PrinterInfo2 printerInfo) throws NetworkException, ServerException, TimeOutException;
public abstract void delPrinter(Vector vcPrinterInfo) throws NetworkException, ServerException, TimeOutException;
public abstract boolean isRelatedPrinter(Vector vcPrinterInfo) throws NetworkException, ServerException, TimeOutException;
public abstract Vector getPrinterList() throws NetworkException, ServerException, TimeOutException;
/* public abstract void addRelatedPrinterGroup(PrinterRelationInfo prInfo) throws NetworkException, ServerException, TimeOutException;
public abstract void releaseRelatedPrinterGroup(PrinterRelationInfo prInfo) throws NetworkException, ServerException, TimeOutException;*/
public abstract Vector getRelatedPrinterGroup(PrinterInfo2 printerInfo) throws NetworkException, ServerException, TimeOutException;
/* public abstract void addRelatedGroup(GroupRelationInfo grInfo) throws NetworkException, ServerException, TimeOutException;
public abstract void releaseRelatedGroup(GroupRelationInfo grInfo) throws NetworkException, ServerException, TimeOutException;*/
public abstract Vector getRelatedGroup(PrinterInfo2 printerInfo) throws NetworkException, ServerException, TimeOutException;
public abstract boolean isRelatedPrinterOnAccount(Vector vcPrinterInfo) throws NetworkException, ServerException, TimeOutException;
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -