OSDN Git Service

Convenience method.
authorNathanSweet <nathan.sweet@gmail.com>
Mon, 5 Aug 2013 12:14:19 +0000 (14:14 +0200)
committerNathanSweet <nathan.sweet@gmail.com>
Mon, 5 Aug 2013 12:14:19 +0000 (14:14 +0200)
extensions/gdx-tools/src/com/badlogic/gdx/tools/FileProcessor.java

index 41fbd68..6b2f84c 100644 (file)
@@ -103,6 +103,11 @@ public class FileProcessor {
                return this;\r
        }\r
 \r
+       /** @see #process(File, File) */\r
+       public ArrayList<Entry> process (String inputFile, String outputRoot) throws Exception {\r
+               return process(new File(inputFile), new File(outputRoot));\r
+       }\r
+\r
        /** Processes the specified input file or directory.\r
         * @param outputRoot May be null if there is no output from processing the files.\r
         * @return the processed files added with {@link #addProcessedFile(Entry)}. */\r