Examples of dump()


Examples of org.tmatesoft.hg.util.LogFacility.dump()

  }
 
  private void testConsoleLog() {
    LogFacility fc = new StreamLogFacility(Debug, true, System.out);
    System.out.printf("isDebug: %s, isInfo:%s\n", fc.isDebug(), fc.getLevel() == Info);
    fc.dump(getClass(), Debug, "%d", 1);
    fc.dump(getClass(), Info, "%d\n", 2);
    fc.dump(getClass(), Warn, "%d\n", 3);
    fc.dump(getClass(), Error, "%d", 4);
    Exception ex = new Exception();
    fc.dump(getClass(), Debug, ex, "message");
View Full Code Here

Examples of org.w3c.jigsaw.http.Reply.dump()

    public ReplyInterface outgoingFilter(RequestInterface req,
           ReplyInterface rep)
    {
  Reply reply = (Reply) rep;
  if ( getOnOffFlag() )
      reply.dump(System.out);
  return null ;
    }

}
View Full Code Here

Examples of org.w3c.jigsaw.http.Request.dump()

     */

    public ReplyInterface ingoingFilter(RequestInterface req) {
  Request request = (Request) req;
  if ( getOnOffFlag() )
      request.dump(System.out);
  return null;
    }

    /**
     * The outgoing filter - As easy as the ingoing filter.
View Full Code Here

Examples of org.wso2.carbon.registry.core.session.UserRegistry.dump()

            }
            systemTenantRegistry.delete(targetPath);
        }
        // get a dump of source
        Writer writer = new StringWriter();
        systemZeroRegistry.dump(sourcePath, writer);

        // put the dump to the target
        Reader reader = new StringReader(writer.toString());
        systemTenantRegistry.restore(targetPath, reader);
View Full Code Here

Examples of org.xhtmlrenderer.render.Box.dump()

            return;
        }
        LayoutContext layoutContext = renderer.getLayoutContext();
        String inputFileName = page.getName();
        IOUtil.copyFile(page, outputDir);
        writeToFile(outputDir, inputFileName + RENDER_SFX, box.dump(layoutContext, "", Box.DUMP_RENDER));
        writeToFile(outputDir, inputFileName + LAYOUT_SFX, box.dump(layoutContext, "", Box.DUMP_LAYOUT));
        fileCount++;
    }

    private void saveImage(File page, File reference, int width) throws IOException {
View Full Code Here

Examples of org.xmlBlaster.util.xbformat.MsgInfo.dump()

            final MsgInfo receiver = msgInfoArr[0];
           
            //if (MethodName.CONNECT.equals(receiver.getMethodName()))
            //   log.info("Test: Got connectQos");

            if (log.isLoggable(Level.FINEST)) log.finest("Receiving message >" + receiver.toLiteral() + "<\n" + receiver.dump());

            if (this.acceptRemoteLoginAsTunnel
                  && receiver.isInvoke()
                  && !MethodName.UPDATE.equals(receiver.getMethodName())
                  && !MethodName.UPDATE_ONEWAY.equals(receiver.getMethodName())
View Full Code Here

Examples of org.yaml.snakeyaml.Yaml.dump()

    options.setExplicitStart(true);
    options.setCanonical(false);
    options.setPrettyFlow(true);
    options.setDefaultFlowStyle(FlowStyle.BLOCK);
    Yaml yaml = new Yaml(options);
    String manifestValue = yaml.dump(deploymentInfoYaml);

    if (manifestValue == null) {
      throw CloudErrorUtil.toCoreException("Manifest map for " + appModule.getDeployedApplicationName() //$NON-NLS-1$
          + " contained values but yaml parser failed to serialise the map. : " + deploymentInfoYaml); //$NON-NLS-1$
    }
View Full Code Here

Examples of org.zeromq.ZMsg.dump()

                    ZFrame frame = msg.getFirst();
                    if (PPP_HEARTBEAT.equals(new String(frame.getData())))
                        liveness = HEARTBEAT_LIVENESS;
                    else {
                        System.out.println ("E: invalid message\n");
                        msg.dump(System.out);
                    }
                    msg.destroy();
                }
                else {
                    System.out.println ("E: invalid message\n");
View Full Code Here

Examples of ptolemy.backtrack.test.ptolemy.backtrack.test.array1.ArrayTest1.dump()

    public static void main(String[] args) {
        ArrayTest1 test = new ArrayTest1();
        long handle = test.$GET$CHECKPOINT().createCheckpoint();
        test.modify();
        test.$GET$CHECKPOINT().rollback(handle, true);
        test.dump();
    }
}
View Full Code Here

Examples of siena.core.options.QueryOption.dump()

 
  public void testDumpQueryOption() {
    Query<PersonLongAutoID> query = pm.createQuery(PersonLongAutoID.class);
   
    QueryOption opt = query.option(QueryOptionPage.ID);
    Json dump = opt.dump();
    String str = JsonSerializer.serialize(dump).toString();
    assertNotNull(str);
    assertEquals("{\"value\": {\"pageType\": \"TEMPORARY\", \"state\": \"PASSIVE\", \"pageSize\": 0, \"type\": 1}, \"type\": \""+QueryOptionPage.class.getName()+"\"}", str);
  }
 
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.