Package net.minecraftforge.srg2source.rangeapplier

Examples of net.minecraftforge.srg2source.rangeapplier.RangeApplier


            throw new IllegalArgumentException("Can only make suppliers out of directories and zips right now!");
    }
   
    private void applyRangeMap(InputSupplier inSup, OutputSupplier outSup, FileCollection srg, FileCollection exc, File rangeMap, File rangeLog) throws IOException
    {
        RangeApplier app = new RangeApplier().readSrg(srg.getFiles());
       
        final PrintStream debug = new PrintStream(Constants.createLogger(getLogger(), LogLevel.DEBUG));
        final PrintStream stream = new PrintStream(rangeLog)
        {
            @Override
            public void println(String line)
            {
                debug.println(line);
                super.println(line);
            }
        };
        app.setOutLogger(stream);
       
        if (!exc.isEmpty())
        {
            app.readParamMap(exc);
        }
       
        // for debugging.
        app.dumpRenameMap();
       
        app.remapSources(inSup, outSup, rangeMap, false);
    }
View Full Code Here

TOP

Related Classes of net.minecraftforge.srg2source.rangeapplier.RangeApplier

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.