Package org.jboss.profiler.filecollection

Examples of org.jboss.profiler.filecollection.FileCollection


        File referencesData = new File(basicFileName + "_references_1.data");
        File invertedReferencesData = new File(basicFileName + "_references_2.data");
        File objectsDataFile = new File(basicFileName + "_objects.data");

        //File referencesIndex = File.createTempFile("references_1_",".indx",classesFile.getParentFile());
        references = new FileCollection(referencesData,null,MemoryReference.class,false,17);
        invertedReferences = new FileCollection(invertedReferencesData,null,MemoryReference.class,false,17);
        objects = new FileCollection(objectsDataFile,null,MemoryObject.class,false,24);

        treatClasses(classesFile);

        if (references.size()==0)
        {
View Full Code Here


    /** a ReferenceContainer for the Object passed as parameter */
    public ReferenceContainer selectReferences(MemoryObject object, boolean forward) throws Exception
    {
        MemoryReference key = new MemoryReference();
        QuickSorter sorter = null;
        FileCollection collection = null;
        if (forward)
        {
            key.setReferee(object.getId());
            key.setReferred(-1);

View Full Code Here

    File fileIndex = File.createTempFile(strName,"index");
    fileIndex.deleteOnExit();

    RandomAccessFile randomContent = new RandomAccessFile(fileContent,"rw");
    RandomAccessFile managedIndex = new RandomAccessFile(fileIndex,"rw");
    return new FileCollection(randomContent,managedIndex,managedClass,false,0);
  }
View Full Code Here

TOP

Related Classes of org.jboss.profiler.filecollection.FileCollection

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.