Package diva.resource

Examples of diva.resource.DefaultBundle


            if ((pubID != null) && !pubID.equals("")) {
                /* To find the DTD from the public ID, create a DefaultBundle
                 * and look up the ID in that. If it is not null, then it
                 * is an input stream that the parser can use.
                 */
                DefaultBundle resources = new DefaultBundle();

                try {
                    Object str = resources.getResourceAsStream(pubID);

                    if (str != null) {
                        result = str;
                    }
                } catch (Exception ex) {
View Full Code Here

TOP

Related Classes of diva.resource.DefaultBundle

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.