Package com.stimulsoft.webviewer.helper
Class StiResourcesHelper
java.lang.Object
com.stimulsoft.webviewer.helper.StiResourcesHelper
Copyright Stimulsoft
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StiWebActionResultget(String contextURL, StiRequestParams requestParams) getImagesArray(StiRequestParams requestParams, double scaleFactor_) getImagesArray(StiRequestParams requestParams, String url) static StringBuildergetScripts(StiRequestParams requestParams, String url) protected static StringBuildergetViewerStyles(String url, String theme) protected static StringgetViewerStylesBase64(String theme)
-
Constructor Details
-
StiResourcesHelper
public StiResourcesHelper()
-
-
Method Details
-
getViewerStylesBase64
protected static String getViewerStylesBase64(String theme) throws UnsupportedEncodingException, IOException -
getViewerStyles
protected static StringBuilder getViewerStyles(String url, String theme) throws UnsupportedEncodingException, IOException -
getScripts
public static StringBuilder getScripts(StiRequestParams requestParams, String url) throws UnsupportedEncodingException, IOException, NoSuchAlgorithmException -
getImagesArray
public static HashMap<String,String> getImagesArray(StiRequestParams requestParams, String url) throws IOException - Throws:
IOException
-
getImagesArray
public static HashMap<String,String> getImagesArray(StiRequestParams requestParams, double scaleFactor_) throws IOException - Throws:
IOException
-
get
public static StiWebActionResult get(String contextURL, StiRequestParams requestParams) throws IOException, JSONException, NoSuchAlgorithmException
-