Package com.springsource.util.parser.manifest

Examples of com.springsource.util.parser.manifest.RecoveringManifestParser


            throw new RuntimeException(e);
        }
    }

    public static ManifestContents getManifest(Reader reader) {
        ManifestParser parser = new RecoveringManifestParser();
        try {
            ManifestContents manifest = parser.parse(reader);
            if (parser.foundProblems()) {
                for (ManifestProblem problem : parser.getProblems()) {
                    System.err.println(problem.toStringWithContext());
                    System.err.println();
                }
                throw new RuntimeException("There was a problem with the manifest");
            }
View Full Code Here

TOP

Related Classes of com.springsource.util.parser.manifest.RecoveringManifestParser

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.