public static class IBMCompatiblePrinterDriver.GenericIBMPrinterSpecification extends Object implements PrinterSpecification
Constructor and Description |
---|
GenericIBMPrinterSpecification() |
Modifier and Type | Method and Description |
---|---|
String |
getDisplayName() |
PrinterEncoding |
getEncoding(String encoding)
Returns the encoding definition for the given java encoding.
|
String |
getName()
Returns the name of the encoding mapping.
|
boolean |
isEncodingSupported(String encoding)
Checks whether the given Java-encoding is supported.
|
boolean |
isFeatureAvailable(String operationName)
Returns true, if a given operation is supported, false otherwise.
|
public String getDisplayName()
getDisplayName
in interface PrinterSpecification
public PrinterEncoding getEncoding(String encoding)
getEncoding
in interface PrinterSpecification
encoding
- the java encoding that should be mapped into a printer specific encoding.IllegalArgumentException
- if the given encoding is not supported.public String getName()
getName
in interface PrinterSpecification
public boolean isEncodingSupported(String encoding)
isEncodingSupported
in interface PrinterSpecification
encoding
- the java encoding that should be mapped into a printer specific encoding.public boolean isFeatureAvailable(String operationName)
isFeatureAvailable
in interface PrinterSpecification
operationName
- the operation, that should be performed