Examples of dump()


Examples of de.fub.bytecode.classfile.JavaClass.dump()

  classes = _classes.elements();
  while (classes.hasMoreElements()) {
      final JavaClass cl = (JavaClass)classes.nextElement();
      jos.putNextEntry(new JarEntry(classFileName(cl.getClassName())));
      final ByteArrayOutputStream out = new ByteArrayOutputStream(2048);
      cl.dump(out)// dump() closes it's output stream
      out.writeTo(jos);
  }
  jos.close();
    }
   
View Full Code Here

Examples of de.mhus.lib.parser.CompiledString.dump()

  public void  testSimple() throws ParseException {
    String sql = "SELECT * FROM hamster where aaa = 'alpha' AND bbb='beta'";
    SqlCompiler compiler = new SqlCompiler();
    CompiledString compiled = compiler.compileString(sql);
    StringBuffer sb = new StringBuffer();
    compiled.dump(sb);
    System.out.println(sb.toString());
   
    HashMap<String, Object> attributes = new HashMap<String, Object>();
    sb = new StringBuffer();
    compiled.execute(sb, attributes);
View Full Code Here

Examples of edu.brown.logging.RingBufferAppender.dump()

        // -------------------------------
        else if (catalog_proc.getName().equalsIgnoreCase("@ExecutorStatus")) {
            if (this.status_monitor != null) {
                this.status_monitor.printStatus();
                RingBufferAppender appender = RingBufferAppender.getRingBufferAppender(LOG);
                if (appender != null) appender.dump(System.err);
            }
            ClientResponseImpl cresponse = new ClientResponseImpl(
                    -1,
                    client_handle,
                    -1,
View Full Code Here

Examples of edu.mit.csail.sdg.alloy4.Err.dump()

                if (ex.pos==Pos.UNKNOWN)
                    span.logBold("A "+text+" error has occurred:  ");
                else
                    span.logLink("A "+text+" error has occurred:  ", "POS: "+ex.pos.x+" "+ex.pos.y+" "+ex.pos.x2+" "+ex.pos.y2+" "+ex.pos.filename);
                if (verbosity>2) {
                    span.log("(see the "); span.logLink("stacktrace", "MSG: "+ex.dump()); span.log(")\n");
                } else {
                    span.log("\n");
                }
                span.logIndented(ex.msg.trim());
                span.log("\n");
View Full Code Here

Examples of er.selenium.SeleniumTest.dump()

    } catch (Exception e) {
      throw new RuntimeException("Error parsing document.", e);
    }
   
    SeleniumTest test = new SeleniumTest(name, elements);
    test.dump();
    return test;
  }
}
View Full Code Here

Examples of fr.insalyon.citi.golo.compiler.parser.ASTCompilationUnit.dump()

      }
    } else if (file.getName().endsWith(".golo")) {
      System.out.println(">>> AST for: " + goloFile);
      try (FileInputStream in = new FileInputStream(goloFile)) {
        ASTCompilationUnit ast = compiler.parse(goloFile, new GoloOffsetParser(in));
        ast.dump("% ");
        System.out.println();
      } catch (IOException e) {
        System.out.println("[error] " + goloFile + " does not exist or could not be opened.");
      }
    }
View Full Code Here

Examples of freemarker.template.Template.dump()

        File convertedFile = new File(dir, filename + ".canonical");
        config.setDirectoryForTemplateLoading(dir);
        Template template = config.getTemplate(filename);
        FileWriter output = new FileWriter(convertedFile);
        try {
            template.dump(output);
        } finally {
            output.close();
        }
    }
View Full Code Here

Examples of fri.patterns.interpreter.parsergenerator.Lexer.dump()

      do  {
        t = lexer.getNextToken(null);
        //System.err.println(ts.getInterval()+" was time to read token "+t.symbol+" -> "+t.text);
       
        if (t.symbol == null)  {
          lexer.dump(System.err);
          throw new LexerException("Uninterpretable input!");
        }
        System.out.println(t.symbol+" "+">"+t.text+"<");
      }
      while (Token.isEpsilon(t) == false);
View Full Code Here

Examples of javax.tools.diagnostics.vm.DumpHandle.dump()

      }
     
    }
    if(handle==null)handle=d.createDumpHandle();
   
    handle.dump();
   
  }

  public void setDumpFormat(String dumpFormat) {
    this.format=dumpFormat;
View Full Code Here

Examples of l2p.gameserver.model.L2Object.dump()

      {
        target = activeChar;
      }
      if(target.isCharacter())
      {
        Log.add(target.dump() + "AI: " + Util.dumpObject(target.getAI(), true, true, true) + "\n ========================================================================================== \n", "mobDbg");
        activeChar.sendMessage(target.getName() + "'s info dumped");
        return true;
      }
    }
    return false;
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.