|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.reporting.engine.classic.core.modules.output.pageable.plaintext.helper.DefaultPrinterSpecification
public class DefaultPrinterSpecification
Constructor Summary | |
---|---|
DefaultPrinterSpecification(String name,
String displayName)
|
Method Summary | |
---|---|
void |
addEncoding(PrinterEncoding encoding)
|
Object |
clone()
|
boolean |
contains(PrinterEncoding encoding)
|
String |
getDisplayName()
|
PrinterEncoding |
getEncoding(String encoding)
Returns the encoding definition for the given java encoding. |
String |
getName()
Returns the name of the encoding mapping. |
PrinterEncoding[] |
getSupportedEncodings()
|
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. |
void |
removeEncoding(PrinterEncoding encoding)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultPrinterSpecification(String name, String displayName)
Method Detail |
---|
public String getDisplayName()
getDisplayName
in interface PrinterSpecification
public String getName()
getName
in interface PrinterSpecification
public boolean isEncodingSupported(String encoding)
PrinterSpecification
isEncodingSupported
in interface PrinterSpecification
encoding
- the java encoding that should be mapped into a printer specific encoding.
public boolean contains(PrinterEncoding encoding)
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 void addEncoding(PrinterEncoding encoding)
public void removeEncoding(PrinterEncoding encoding)
public PrinterEncoding[] getSupportedEncodings()
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public boolean isFeatureAvailable(String operationName)
isFeatureAvailable
in interface PrinterSpecification
operationName
- the operation, that should be performed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |