public class WebUtil extends Object
| Constructor and Description |
|---|
WebUtil() |
| Modifier and Type | Method and Description |
|---|---|
static com.ibm.wala.util.collections.Pair<Set<MappedSourceModule>,File> |
extractScriptFromHTML(URL url,
com.ibm.wala.util.functions.Function<Void,JSSourceExtractor> fSourceExtractor) |
static Reader |
getStream(URL url) |
static void |
main(String[] args) |
static void |
setFactory(IHtmlParserFactory factory) |
public static final String preamble
public static void setFactory(IHtmlParserFactory factory)
public static com.ibm.wala.util.collections.Pair<Set<MappedSourceModule>,File> extractScriptFromHTML(URL url, com.ibm.wala.util.functions.Function<Void,JSSourceExtractor> fSourceExtractor) throws com.ibm.wala.cast.ir.translator.TranslatorToCAst.Error
url - null if no
such file exists)com.ibm.wala.cast.ir.translator.TranslatorToCAst.Errorpublic static void main(String[] args) throws MalformedURLException, com.ibm.wala.cast.ir.translator.TranslatorToCAst.Error
MalformedURLExceptioncom.ibm.wala.cast.ir.translator.TranslatorToCAst.Errorpublic static Reader getStream(URL url) throws IOException
IOExceptionCopyright © 2017. All rights reserved.