Package snap.web
Class WebUtils
java.lang.Object
snap.web.WebUtils
Utility methods for Web classes.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
Copies a file to another file.static WebFile
getCommonAncestor
(WebFile aFile1, WebFile aFile2) Returns the common ancestor of this file and given file.static String
getCorsProxyAddress
(String urlAddr) Returns a cors proxy URL address for given address.
-
Constructor Details
-
WebUtils
public WebUtils()
-
-
Method Details
-
getCorsProxyAddress
Returns a cors proxy URL address for given address. -
getCommonAncestor
Returns the common ancestor of this file and given file. -
copyFile
Copies a file to another file.
-