Created
September 30, 2013 15:20
-
-
Save yuki2006/6765365 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (args.length==1){ | |
Builder builder; | |
if (args[0].equals("plain")) | |
{ | |
builder=new TextBuilder(); | |
}else{ | |
builder=new HTMLBuilder(); | |
} | |
Director director=new Director(builder); | |
director.construct(); | |
String result=builder.getResult(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment