Class SecurityUtils


  • public class SecurityUtils
    extends java.lang.Object
    • Constructor Detail

      • SecurityUtils

        public SecurityUtils()
    • Method Detail

      • getJavascriptUnsecure

        public static boolean getJavascriptUnsecure()
      • getenv

        public static java.lang.String getenv​(java.lang.String name)
      • getPath

        public static java.util.List<SFile> getPath​(java.lang.String prop)
      • allowSvgText

        public static boolean allowSvgText()
      • createPrintWriter

        public static java.io.PrintWriter createPrintWriter​(java.io.OutputStream os)
      • createPrintWriter

        public static java.io.PrintWriter createPrintWriter​(java.io.OutputStream os,
                                                            boolean append)
      • createPrintStream

        public static java.io.PrintStream createPrintStream​(java.io.OutputStream os)
      • createPrintStream

        public static java.io.PrintStream createPrintStream​(java.io.OutputStream os,
                                                            boolean autoFlush,
                                                            java.lang.String charset)
                                                     throws java.io.UnsupportedEncodingException
        Throws:
        java.io.UnsupportedEncodingException
      • readRasterImage

        public static java.awt.image.BufferedImage readRasterImage​(javax.swing.ImageIcon imageIcon)
      • createFileReader

        public static java.io.FileReader createFileReader​(java.lang.String path)
                                                   throws java.io.FileNotFoundException
        Throws:
        java.io.FileNotFoundException
      • createPrintWriter

        public static java.io.PrintWriter createPrintWriter​(java.lang.String path)
                                                     throws java.io.FileNotFoundException
        Throws:
        java.io.FileNotFoundException
      • createFileOutputStream

        public static java.io.FileOutputStream createFileOutputStream​(java.lang.String path)
                                                               throws java.io.FileNotFoundException
        Throws:
        java.io.FileNotFoundException