Package com.vaadin.flow.polymer2lit
Class FrontendConverter
java.lang.Object
com.vaadin.flow.polymer2lit.FrontendConverter
- All Implemented Interfaces:
AutoCloseable
A converter that converts Polymer-based
*.js source files to Lit.
Effectively, this is a wrapper around the convert.ts script.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()booleanconvertFile(Path filePath, boolean useLit1, boolean disableOptionalChaining)
-
Constructor Details
-
FrontendConverter
- Throws:
IOException
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Throws:
IOException
-
convertFile
public boolean convertFile(Path filePath, boolean useLit1, boolean disableOptionalChaining) throws IOException, InterruptedException, FrontendUtils.CommandExecutionException
-