|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spagobi.geo.render.MapRenderer
public class MapRenderer
Defines methods which transform and render the map
Constructor Summary | |
---|---|
MapRenderer()
|
Method Summary | |
---|---|
java.io.File |
renderMap(byte[] template,
it.eng.spago.base.SourceBean servRequest)
Gets the original svg map and the datawarehouse data and then transfor the svg map based on the template configuration and data recovered. |
void |
sVGToJPEGTransform(java.io.InputStream inputStream,
java.io.OutputStream outputStream)
Transform the svg file into a jpeg image |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MapRenderer()
Method Detail |
---|
public java.io.File renderMap(byte[] template, it.eng.spago.base.SourceBean servRequest) throws java.lang.Exception
template
- the configuration of the map renderingservRequest
- The Spago Service Request
java.lang.Exception
- If some errors occur during the elaborationpublic void sVGToJPEGTransform(java.io.InputStream inputStream, java.io.OutputStream outputStream) throws java.lang.Exception
inputStream
- the strema of the svg mapoutputStream
- the output stream where the jpeg image is written
java.lang.Exception
- raised if some errors occur during the elaboration
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |