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 SummaryModifier and TypeMethodDescription- static InfoFromSourcesGets the instance of the run support.- void- getSources- (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- getInstanceGets the instance of the run support.
- mainMain routine.
- getSourcespublic 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.
 
- getSourcespublic 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.