Css2Gss (GWT Javadoc)

Overview | Package | Class | Use | Deprecated | Help
| GWT 2.7.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.google.gwt.resources.converter
Class Css2Gss

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

    public class Css2Gss

extends java.lang.Object

Converter from Css to Gss.

Constructor Summary
`Css2Gss(java.lang.String filePath)`
`Css2Gss(java.net.URL resource, boolean lenient)`
`Css2Gss(java.net.URL fileUrl, TreeLogger treeLogger)`
`Css2Gss(java.net.URL fileUrl, TreeLogger treeLogger, boolean lenient)`

Method Summary
`java.util.Map<java.lang.String,java.lang.String>` | `getDefNameMapping()` GSS allows only uppercase letters and numbers for a name of the constant.
`static void` | `main(java.lang.String... args)`
`java.lang.String` | `toGss()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### Css2Gss

    public Css2Gss(java.lang.String filePath)
            throws java.net.MalformedURLException

Throws:
  `java.net.MalformedURLException`

### Css2Gss

    public Css2Gss(java.net.URL fileUrl,
                   TreeLogger treeLogger)

### Css2Gss

    public Css2Gss(java.net.URL fileUrl,
                   TreeLogger treeLogger,
                   boolean lenient)

### Css2Gss

    public Css2Gss(java.net.URL resource,
                   boolean lenient)

Method Detail

### toGss

    public java.lang.String toGss()
                           throws UnableToCompleteException

  Throws:
    `UnableToCompleteException`

### getDefNameMapping

    public java.util.Map<java.lang.String,java.lang.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(java.lang.String... args)

Overview | Package | Class | Use | Deprecated | Help
| GWT 2.7.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD