MakeTiles: refactor to simplify main() method body
This commit is contained in:
parent
7b890e9d89
commit
0bf95f4b19
1 changed files with 6 additions and 0 deletions
|
@ -39,6 +39,12 @@ public class MakeTiles
|
|||
File recipeFile = new File(args[0]);
|
||||
File outputFile = new File(args[1]);
|
||||
|
||||
generateFromRecipe(recipeFile, outputFile);
|
||||
}
|
||||
|
||||
static void generateFromRecipe(File recipeFile, File outputFile)
|
||||
throws IOException
|
||||
{
|
||||
Properties recipe = new Properties();
|
||||
recipe.load(
|
||||
new InputStreamReader(
|
||||
|
|
Reference in a new issue