gistoolkit.server.mapservice.adminextender
Class ShaderHandler
java.lang.Object
gistoolkit.server.mapservice.adminextender.ShaderHandler
- public class ShaderHandler
- extends java.lang.Object
Class for selecting amung the available shaders.
Method Summary |
static void |
doGet(Request inRequest,
Response inResponse,
Server inServer,
Service inService,
LayerDefinition inLayer,
Style inStyle)
|
static int |
rationalize(java.lang.String inString)
Given a string, this will try to convert it to a integer between 0 and 255. |
static void |
showShaderSelectPage(Request inRequest,
Response inResponse,
Server inServer,
Service inService,
LayerDefinition inLayer,
Style inStyle,
Shader inCurrentShader)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SHADER_NAME_TAG
public static final java.lang.String SHADER_NAME_TAG
- See Also:
- Constant Field Values
ShaderHandler
public ShaderHandler()
- Creates new ShaderHandler
doGet
public static void doGet(Request inRequest,
Response inResponse,
Server inServer,
Service inService,
LayerDefinition inLayer,
Style inStyle)
throws java.lang.Exception
- Throws:
java.lang.Exception
showShaderSelectPage
public static void showShaderSelectPage(Request inRequest,
Response inResponse,
Server inServer,
Service inService,
LayerDefinition inLayer,
Style inStyle,
Shader inCurrentShader)
rationalize
public static int rationalize(java.lang.String inString)
- Given a string, this will try to convert it to a integer between 0 and 255. If it fails, it will return 0.