Package org.codehaus.plexus.util

Examples of org.codehaus.plexus.util.StringInputStream


  public final static void main(String[] args) {
    StringBuffer builder = new StringBuffer();
    builder.append("<!ENTITY foo SYSTEM \"bar\">\n");
    builder.append("<!ENTITY bar SYSTEM \"foo\">\n");

    StringInputStream in = new StringInputStream(builder.toString());

    try {
      EntityFileParser.parse(in, new EntityVisitor() {
        public void visitSystemEntity(String name, String systemId) {
          System.out.println("Name: " + name);
View Full Code Here

TOP

Related Classes of org.codehaus.plexus.util.StringInputStream

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.