|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.mebigfatguy.tomailer.CssParser
public class CssParser
parses a css block that is found in between style tags, or referenced from an external link tag.
Constructor Summary | |
---|---|
CssParser()
|
Method Summary | |
---|---|
void |
add(java.lang.String cssBlock)
takes a block of css, and parses out individual rules, and adds them to a collection of rules found. |
CssItem[] |
prioritizeCss()
sorts the css based on how specific the rules are. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CssParser()
Method Detail |
---|
public void add(java.lang.String cssBlock)
cssBlock
- text that represents a set of rules found in a style blockpublic CssItem[] prioritizeCss()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |