Package org.jdesktop.wonderland.common

Examples of org.jdesktop.wonderland.common.JarURI


    @Override
    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);
View Full Code Here


    /**
     * Takes a module name, jar name, and jar type (client or common) and
     * returns the URL to represent it.
     */
    private JarURI getPluginJarURI(String moduleName, String jarName, String type) throws URISyntaxException {
        return new JarURI("wlj://" + moduleName + "/" + type + "/" + jarName);
    }
View Full Code Here

TOP

Related Classes of org.jdesktop.wonderland.common.JarURI

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.