Package csa.jportal.ai.helper

Examples of csa.jportal.ai.helper.KeyTypeValueDataPool


            data.mKey.add(key);
            data.mType.add("String");
        }
        data.mClass="AIData";
        data.mName=getNamedName();
        KeyTypeValueDataPool pool = new KeyTypeValueDataPool("scripts"+File.separator+"namedAI"+File.separator+ getNamedName()+"Data.xml");
        pool.put(data);
        pool.save();
    }
View Full Code Here


        pool.save();
    }

    public void loadVars()
    {
        KeyTypeValueDataPool pool = new KeyTypeValueDataPool("scripts"+File.separator+"namedAI"+File.separator+ getNamedName()+"Data.xml");
        KeyTypeValueData data = pool.get(getNamedName());
        if (data == null) return;

        for (int i = 0; i < data.mKey.size(); i++)
        {
            String key = data.mKey.elementAt(i);
View Full Code Here

TOP

Related Classes of csa.jportal.ai.helper.KeyTypeValueDataPool

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.