Package org.jdesktop.wonderland.client.assetmgr.modules

Examples of org.jdesktop.wonderland.client.assetmgr.modules.ModuleAssetRepositoryFactory


    public InputStream getInputStream() throws IOException {
        try {
            // Since we know this asset belongs to a module, first create a
            // factory to handle its loading.
            JarURI uri = new JarURI(this.url.toExternalForm());
            ModuleAssetRepositoryFactory factory = new ModuleAssetRepositoryFactory(uri);

            // Next, we ask the asset manager for the asset and wait for it to
            // be loaded
            Asset asset = AssetManager.getAssetManager().getAsset(uri, factory);
            if (asset == null || AssetManager.getAssetManager().waitForAsset(asset) == false) {
View Full Code Here

TOP

Related Classes of org.jdesktop.wonderland.client.assetmgr.modules.ModuleAssetRepositoryFactory

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.