Package com.Acrobot.Breeze.Database

Examples of com.Acrobot.Breeze.Database.Row


        if (METADATA_CACHE.containsKey(code)) {
            return METADATA_CACHE.get(code);
        }

        try {
            Row row = table.getRow("id='" + Base62.decode(code) + '\'');

            if (row.getSize() == 0) {
                return null;
            }

            String serialized = row.get("code");

            ItemStack item = (ItemStack) yaml.load((String) Base64.decodeToObject(serialized));
            METADATA_CACHE.put(code, item);

            return item;
View Full Code Here

TOP

Related Classes of com.Acrobot.Breeze.Database.Row

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.