|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mapfish.print.MapPrinter
public class MapPrinter
The main class for printing maps. Will parse the spec, create the PDF document and generate it.
| Constructor Summary | |
|---|---|
MapPrinter(java.io.File config)
|
|
MapPrinter(java.io.InputStream instreamConfig,
java.lang.String configDir)
|
|
MapPrinter(java.lang.String strConfig,
java.lang.String configDir)
|
|
| Method Summary | |
|---|---|
static PJsonObject |
parseSpec(java.lang.String spec)
|
RenderingContext |
print(java.lang.String spec,
java.io.OutputStream outFile,
java.lang.String referer)
Generate the PDF using the given spec. |
void |
printClientConfig(org.json.JSONWriter json)
Use by /info.json to generate its returned content. |
void |
stop()
Stop the thread pool or others. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MapPrinter(java.io.File config)
throws java.io.FileNotFoundException
java.io.FileNotFoundException
public MapPrinter(java.io.InputStream instreamConfig,
java.lang.String configDir)
public MapPrinter(java.lang.String strConfig,
java.lang.String configDir)
| Method Detail |
|---|
public RenderingContext print(java.lang.String spec,
java.io.OutputStream outFile,
java.lang.String referer)
throws com.lowagie.text.DocumentException
com.lowagie.text.DocumentExceptionpublic static PJsonObject parseSpec(java.lang.String spec)
public void printClientConfig(org.json.JSONWriter json)
throws org.json.JSONException
org.json.JSONExceptionpublic void stop()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||