public class DomLessSourceExtractor extends JSSourceExtractor
| Modifier and Type | Class and Description |
|---|---|
protected static class |
DomLessSourceExtractor.HtmlCallback |
protected static interface |
DomLessSourceExtractor.IGeneratorCallback |
| Modifier and Type | Field and Description |
|---|---|
static com.ibm.wala.util.functions.Function<Void,JSSourceExtractor> |
factory |
DELETE_UPON_EXIT, USE_TEMP_NAME| Constructor and Description |
|---|
DomLessSourceExtractor() |
| Modifier and Type | Method and Description |
|---|---|
protected DomLessSourceExtractor.IGeneratorCallback |
createHtmlCallback(URL entrypointUrl,
IUrlResolver urlResolver) |
Set<MappedSourceModule> |
extractSources(URL entrypointUrl,
IHtmlParser htmlParser,
IUrlResolver urlResolver) |
File |
getTempFile()
Returns the temporary file created by a call to
JSSourceExtractor.extractSources(URL, IHtmlParser, IUrlResolver) which holds all the
discovered JS source. |
static void |
main(String[] args) |
public static com.ibm.wala.util.functions.Function<Void,JSSourceExtractor> factory
public Set<MappedSourceModule> extractSources(URL entrypointUrl, IHtmlParser htmlParser, IUrlResolver urlResolver) throws IOException, com.ibm.wala.cast.ir.translator.TranslatorToCAst.Error
extractSources in class JSSourceExtractorIOExceptioncom.ibm.wala.cast.ir.translator.TranslatorToCAst.Errorprotected DomLessSourceExtractor.IGeneratorCallback createHtmlCallback(URL entrypointUrl, IUrlResolver urlResolver)
public static void main(String[] args) throws IOException, com.ibm.wala.cast.ir.translator.TranslatorToCAst.Error
IOExceptioncom.ibm.wala.cast.ir.translator.TranslatorToCAst.Errorpublic File getTempFile()
JSSourceExtractorJSSourceExtractor.extractSources(URL, IHtmlParser, IUrlResolver) which holds all the
discovered JS source. If no such file exists, returns nullgetTempFile in class JSSourceExtractorCopyright © 2017. All rights reserved.