Package com.owens.oobjloader.test

Source Code of com.owens.oobjloader.test.Test

package com.owens.oobjloader.test;

// Written by Sean R. Owens, sean at guild dot net, released to the
// public domain. Share and enjoy. Since some people argue that it is
// impossible to release software to the public domain, you are also free
// to use this code under any version of the GPL, LPGL, Apache, or BSD
// licenses, or contact me for use of another license.

import com.owens.oobjloader.parser.Parse;
import com.owens.oobjloader.builder.Build;


public class Test {

    public static void main(String[] argv) {

        for (String filename : argv) {

            System.err.println("LOADING FILE " + filename);
            try {
                Build builder = new Build();
                Parse obj = new Parse(builder, filename);
            } catch (java.io.FileNotFoundException e) {
                System.err.println("Exception loading object!  e=" + e);
                e.printStackTrace();
            } catch (java.io.IOException e) {
                System.err.println("Exception loading object!  e=" + e);
                e.printStackTrace();
            }
        }
    }
}
TOP

Related Classes of com.owens.oobjloader.test.Test

TOP
Copyright © 2018 www.massapi.com. 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.