|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.github.abrarsyed.jastyle.OptParser
public class OptParser
| Field Summary | |
|---|---|
ASFormatter |
formatter
|
| Constructor Summary | |
|---|---|
OptParser(ASFormatter formatter)
|
|
| Method Summary | |
|---|---|
void |
parseOption(java.lang.String opt)
|
java.util.ArrayList<java.lang.String> |
parseOptionFile(java.io.File file)
Parses an Astyle Options file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final ASFormatter formatter
| Constructor Detail |
|---|
public OptParser(ASFormatter formatter)
formatter - The formatter to which the parsed options will apply. Options are parsed and applied immediately.| Method Detail |
|---|
public java.util.ArrayList<java.lang.String> parseOptionFile(java.io.File file)
file - Options file to parse. Extension is irrelevant.log - A logger to output stuff to. if this is null, the Global logger will be used.
public void parseOption(java.lang.String opt)
throws MalformedOptionException
opt - This string is assumed to be starting with one or two hyphens.
MalformedOptionException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||