Package com.semanticcms.dia.servlet.impl
Class DiaImpl
- java.lang.Object
-
- com.semanticcms.dia.servlet.impl.DiaImpl
-
public final class DiaImpl extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static charDIMENSION_SEPARATORstatic charEMPTY_SIZEstatic StringPNG_EXTENSIONstatic charSIZE_SEPARATOR
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DiaExportexportDiagram(PageRef pageRef, Integer width, Integer height, File tmpDir)static voidwriteDiaImpl(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, Html html, Dia dia)
-
-
-
Field Detail
-
SIZE_SEPARATOR
public static final char SIZE_SEPARATOR
- See Also:
- Constant Field Values
-
EMPTY_SIZE
public static final char EMPTY_SIZE
- See Also:
- Constant Field Values
-
DIMENSION_SEPARATOR
public static final char DIMENSION_SEPARATOR
- See Also:
- Constant Field Values
-
PNG_EXTENSION
public static final String PNG_EXTENSION
- See Also:
- Constant Field Values
-
-
Method Detail
-
exportDiagram
public static DiaExport exportDiagram(PageRef pageRef, Integer width, Integer height, File tmpDir) throws InterruptedException, FileNotFoundException, IOException
-
writeDiaImpl
public static void writeDiaImpl(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, Html html, Dia dia) throws ServletException, IOException
- Throws:
ServletExceptionIOException
-
-