Examples of AssetType


Examples of org.terasology.asset.AssetType

            }
            int extensionSeparator = parts[1].lastIndexOf(".");
            if (extensionSeparator != -1) {
                String name = parts[1].substring(0, extensionSeparator);
                String extension = parts[1].substring(extensionSeparator + 1);
                AssetType assetType = AssetType.getTypeFor(parts[0], extension);
                if (assetType != null) {
                    return assetType.getUri(moduleId, name);
                }
            }
        }
        return null;
    }
View Full Code Here
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.