Package com.iizix.js.build
Class InfoFromSources
java.lang.Object
com.iizix.js.build.InfoFromSources
Class to extract build information from a HTML file used to launch an application. The information is JavaScript files and CSS files.
- Author:
- Christopher Mindus
Method Summary
Modifier and TypeMethodDescriptionstatic InfoFromSourcesGets the instance of the run support.voidgetSources(String fileName, BufferedReader reader, List<String> jsList, List<String> dynamicJSList, List<String> cssList, Map<String, String> settings) Gets the JavaScript and CSS sources required for a HTML file.voidGets the JavaScript and CSS sources required for a HTML file.static voidMain routine.
Method Details
getInstance
Gets the instance of the run support.main
Main routine.getSources
public void getSources(String fileName, List<String> jsList, List<String> dynamicJSList, List<String> cssList) throws IOException, ParseException Gets the JavaScript and CSS sources required for a HTML file.- Parameters:
fileName- File name of the HTML file.jsList- List of JavaScript sources filled in.dynamicJSList- List of JavaScript sources filled in.cssList- List of CSS sources filled in.- Throws:
IOException- When file read errors occurs.ParseException- For parsing errors in the file.
getSources
public void getSources(String fileName, BufferedReader reader, List<String> jsList, List<String> dynamicJSList, List<String> cssList, Map<String, String> settings) throws IOException, ParseExceptionGets the JavaScript and CSS sources required for a HTML file.- Parameters:
fileName- The file name.reader- The reader of the HTML file.jsList- List of JavaScript sources filled in.dynamicJSList- List of JavaScript sources filled in.cssList- List of CSS sources filled in.settings- Settings to fill in from HTML file, null for none.- Throws:
IOException- When file read errors occurs.ParseException- For parsing errors in the file.