public final class RenderSettings extends Object
Modifier and Type | Method and Description |
---|---|
void |
configure(javax.servlet.ServletConfig config)
Configures the single instance with the values from the specified ServletConfig.
|
int |
getBppForFormat(int format,
int defaultValue)
Gets the bpp setting for the specified format.
|
int |
getDpiForFormat(int format,
int defaultValue)
Gets the dpi setting for the specified format.
|
static RenderSettings |
getInstance()
Gets the single instance of DpiSettings.
|
public static RenderSettings getInstance()
public void configure(javax.servlet.ServletConfig config)
config
- the ServletConfig to read the settings frompublic int getDpiForFormat(int format, int defaultValue)
format
- the formatdefaultValue
- the default valuepublic int getBppForFormat(int format, int defaultValue)
format
- the formatdefaultValue
- the default valueCopyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.