Examples of dump()


Examples of org.archive.io.arc.ARCRecord.dump()

       final Iterator<ArchiveRecord> i = reader.iterator();
       ARCRecord firstRecord = (ARCRecord)i.next();
       ByteArrayOutputStream baos =
         new ByteArrayOutputStream((int)firstRecord.getHeader().
             getLength());
       firstRecord.dump(baos);
         // Add ARC first record content as an ANVLRecord.
         ANVLRecord ar = new ANVLRecord();
         ar.addLabelValue("Filedesc", baos.toString());
         List<String> metadata = new ArrayList<String>(1);
         metadata.add(ar.toString());
View Full Code Here

Examples of org.aspectj.apache.bcel.generic.annotation.AnnotationGen.dump()

      riaDos.writeShort(countInvisible);

      // put the annotations in the right output stream
      for (int i=0; i<vec.size(); i++) {
        AnnotationGen a = (AnnotationGen)vec.get(i);
        if (a.isRuntimeVisible()) a.dump(rvaDos);
        else         a.dump(riaDos);
      }

    rvaDos.close();
    riaDos.close();
View Full Code Here

Examples of org.bioversityinternational.model.germplasm.CropDescriptorQuery.Crop.Species.dump()

    }

    public void dumpSpecies() {
      for(String key:species.keySet()) {
        Species s = species.get(key) ;
        s.dump("\t");
      }
    }

    public void dump() {
      super.dump();   
View Full Code Here

Examples of org.bioversityinternational.model.germplasm.CropDescriptorQuery.Trait.Method.dump()

   

    public void dumpMethods() {
      for(String key:methods.keySet()) {
        Method m = methods.get(key) ;
        m.dump("\t");
        m.dumpScales() ;
      }
    }

   
View Full Code Here

Examples of org.chaidb.db.index.btree.bufmgr.PageBufferManager.dump()

            //flush log buffer to disk.
            txnManager.getLogManager().flush();

            //Flush btree buffer to disk.
            PageBufferManager bpm = PageBufferManager.getInstance();
            bpm.dump(sync);

            //because dump() may generate new log records, so that
            //flush log again.
            txnManager.getLogManager().flush();
View Full Code Here

Examples of org.cometd.server.BayeuxServerImpl.dump()

        // processor.process(new ChatService());

        bayeux.createChannelIfAbsent("/foo/bar/baz", new ConfigurableServerChannel.Initializer.Persistent());

        if (logger.isDebugEnabled())
            logger.debug(bayeux.dump());
    }

    @Override
    public void destroy()
    {
View Full Code Here

Examples of org.drools.bpmn2.xml.XmlBPMNProcessDumper.dump()

                String packageName = item.getPackageName();
                String originalPackageName = process.getPackageName();
                if ( !packageName.equals( originalPackageName ) ) {
                    process.setPackageName( packageName );
                    XmlBPMNProcessDumper dumper = XmlBPMNProcessDumper.INSTANCE;
                    String out = dumper.dump( process );
                    item.updateContent( out );
                    item.checkin( "Changed BPMN2 process package from " + originalPackageName + " to " + packageName );
                }
            }
        }
View Full Code Here

Examples of org.drools.clips.Function.dump()

       
        String var = ( ( LispAtom ) listSpec.getSExpressions()[0] ).getValue();       
       
        appendable.append( "foreach( " + var + " : " );       
       
        createList.dump( (LispForm) listSpec.getSExpressions()[1], appendable );
       
        appendable.append( " ) {" );
       
        for ( int i = 2, length = sExpressions.length; i < length; i++ ) {
            FunctionHandlers.dump( sExpressions[i], appendable );
View Full Code Here

Examples of org.drools.compiler.compiler.xml.XmlDumper.dump()

        xmlPackageReader.getParser().setClassLoader( DumperTestHelper.class.getClassLoader() );
        xmlPackageReader.read( new InputStreamReader( DumperTestHelper.class.getResourceAsStream( filename ) ) );
        final PackageDescr pkgOriginal = xmlPackageReader.getPackageDescr();

        final XmlDumper dumper = new XmlDumper();
        final String result = dumper.dump( pkgOriginal );       
       
        String buffer = readFile( filename );
       
        System.out.println(buffer);
        System.out.println(result);
View Full Code Here

Examples of org.drools.compiler.lang.DrlDumper.dump()

                       list.get( 1 ) );
         assertEquals( "1 1",
                       list.get( 2 ) );

         final DrlDumper drlDumper = new DrlDumper();
         final String drlResult = drlDumper.dump( pkg );

         System.out.println( drlResult );

         kbase = SerializationHelper.serializeObject( loadKnowledgeBaseFromString( drlResult ) );
         ksession = kbase.newStatefulKnowledgeSession();
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.