Package org.jdesktop.wonderland.modules.xappsconfig.common

Examples of org.jdesktop.wonderland.modules.xappsconfig.common.XAppRegistryItem.encode()


        // Write the XAppRegistryItem object as an XML stream to this new file
        ContentResource resource = (ContentResource)appNode;
        ByteArrayOutputStream os = new ByteArrayOutputStream();
        Writer w = new OutputStreamWriter(os);
        XAppRegistryItem item = new XAppRegistryItem(appName, command);
        item.encode(w);
        byte b[] = os.toByteArray();
        resource.put(b);

        // Tell the config connection that we have added a new X11 App, if
        // the config connection exists (it should)
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.