Interface SpincastCssAutoprefixerManager

All Known Implementing Classes:
SpincastCssAutoprefixerManagerDefault

public interface SpincastCssAutoprefixerManager
  • Method Details

    • isValidAutoprefixerEnvironment

      boolean isValidAutoprefixerEnvironment()
      Return true if Autoprefixer can be run properly.

      Read the documentation in order to learn how to install the requirements.

    • autoPrefix

      String autoPrefix(String cssContent)
      Apply Autoprefixer on the specified CSS String.
    • autoPrefix

      String autoPrefix(String cssContent, JsonObject options)
      Apply Autoprefixer on the specified CSS String.
      Parameters:
      options - The Autoprefixer options to use.
    • autoPrefix

      void autoPrefix(File cssFile)
      Apply Autoprefixer on the specified CSS file.

      Use UTF-8 as the encoding.

    • autoPrefix

      void autoPrefix(File cssFile, JsonObject options)
      Apply Autoprefixer on the specified CSS file.

      Use UTF-8 as the encoding.

      Parameters:
      options - The Autoprefixer options to use.
    • autoPrefix

      void autoPrefix(File cssFile, Charset encoding)
      Apply Autoprefixer on the specified CSS file.
    • autoPrefix

      void autoPrefix(File cssFile, Charset encoding, JsonObject options)
      Apply Autoprefixer on the specified CSS file.
      Parameters:
      options - The Autoprefixer options to use.