Interface SpincastCssAutoprefixerManager
- All Known Implementing Classes:
SpincastCssAutoprefixerManagerDefault
public interface SpincastCssAutoprefixerManager
-
Method Summary
Modifier and TypeMethodDescriptionvoid
autoPrefix
(File cssFile) Apply Autoprefixer on the specified CSS file.void
autoPrefix
(File cssFile, Charset encoding) Apply Autoprefixer on the specified CSS file.void
autoPrefix
(File cssFile, Charset encoding, JsonObject options) Apply Autoprefixer on the specified CSS file.void
autoPrefix
(File cssFile, JsonObject options) Apply Autoprefixer on the specified CSS file.autoPrefix
(String cssContent) Apply Autoprefixer on the specified CSS String.autoPrefix
(String cssContent, JsonObject options) Apply Autoprefixer on the specified CSS String.boolean
Returntrue
if Autoprefixer can be run properly.
-
Method Details
-
isValidAutoprefixerEnvironment
boolean isValidAutoprefixerEnvironment()Returntrue
if Autoprefixer can be run properly.Read the documentation in order to learn how to install the requirements.
-
autoPrefix
Apply Autoprefixer on the specified CSS String. -
autoPrefix
Apply Autoprefixer on the specified CSS String.- Parameters:
options
- The Autoprefixer options to use.
-
autoPrefix
Apply Autoprefixer on the specified CSS file.Use
UTF-8
as the encoding. -
autoPrefix
Apply Autoprefixer on the specified CSS file.Use
UTF-8
as the encoding.- Parameters:
options
- The Autoprefixer options to use.
-
autoPrefix
Apply Autoprefixer on the specified CSS file. -
autoPrefix
Apply Autoprefixer on the specified CSS file.- Parameters:
options
- The Autoprefixer options to use.
-