Class Css2Gss

java.lang.Object
com.google.gwt.resources.converter.Css2Gss

public class Css2Gss extends Object
Converter from Css to Gss.
  • Constructor Details

    • Css2Gss

      public Css2Gss(String filePath) throws MalformedURLException
      Throws:
      MalformedURLException
    • Css2Gss

      public Css2Gss(URL resource, boolean lenient)
    • Css2Gss

      public Css2Gss(URL resource, boolean lenient, com.google.gwt.thirdparty.guava.common.base.Predicate<String> simpleBooleanConditionPredicate, Set<URL> scopeFiles)
    • Css2Gss

      public Css2Gss(URL fileUrl, TreeLogger treeLogger, boolean lenient, com.google.gwt.thirdparty.guava.common.base.Predicate<String> simpleBooleanConditionPredicate, Set<URL> scopeFiles)
    • Css2Gss

      public Css2Gss(URL url, TreeLogger logger, boolean lenientConversion, com.google.gwt.thirdparty.guava.common.base.Predicate<String> simpleBooleanConditionPredicate)
  • Method Details

    • toGss

      public String toGss() throws UnableToCompleteException
      Throws:
      UnableToCompleteException
    • getDefNameMapping

      public Map<String,String> getDefNameMapping()
      GSS allows only uppercase letters and numbers for a name of the constant. The constants need to be renamed in order to be compatible with GSS. This method returns a mapping between the old name and the new name compatible with GSS.
    • main

      public static void main(String... args)