Class Util

java.lang.Object
quadbase.reportorganizer.menuAPI.Util

public class Util extends Object
  • Constructor Details

    • Util

      public Util()
  • Method Details

    • getParamName

      public static String[] getParamName(QbReport qbreport)
      retrieve parameter names for specified report
      Parameters:
      qbreport - a report object
      Returns:
      returns array of parameter names
    • getParamName

      public static String[] getParamName(QbChart chart)
      retrieve parameter names for specified chart
      Parameters:
      chart - a chart object
      Returns:
      returns array of parameter names
    • toString

      public static String toString(Object obj)
      convert object to string
      Parameters:
      obj - an object of String, Vector, Timestamp, Time, Date, or Number
      Returns:
      returns a string which represent this object
    • lastModifiedTime

      public static long lastModifiedTime(String fileName)
      retrieve the last modified time for specified file
      Parameters:
      fileName - name of the file
      Returns:
      returns the last modified time
    • getServletContext

      public static String getServletContext() throws Exception
      returns servlet context
      Throws:
      Exception
    • createURL

      public static String createURL(QbMenu qbMenu, String filePath) throws Exception
      returns URL for specified file path
      Throws:
      Exception