Interface SpincastCssAutoprefixerManager

All Known Implementing Classes:
SpincastCssAutoprefixerManagerDefault

public interface SpincastCssAutoprefixerManager
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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, org.spincast.core.json.JsonObject options)
    Apply Autoprefixer on the specified CSS file.
    void
    autoPrefix(File cssFile, org.spincast.core.json.JsonObject options)
    Apply Autoprefixer on the specified CSS file.
    autoPrefix(String cssContent)
    Apply Autoprefixer on the specified CSS String.
    autoPrefix(String cssContent, org.spincast.core.json.JsonObject options)
    Apply Autoprefixer on the specified CSS String.
    boolean
    Return true if Autoprefixer can be run properly.
  • 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, org.spincast.core.json.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, org.spincast.core.json.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, org.spincast.core.json.JsonObject options)
      Apply Autoprefixer on the specified CSS file.
      Parameters:
      options - The Autoprefixer options to use.