Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 337900

Summary: [TMF] Buffered random access file
Product: z_Archived Reporter: Patrick Tasse <patrick.tasse>
Component: LinuxToolsAssignee: Francois Chouinard <fchouinard>
Status: CLOSED FIXED QA Contact: Francois Chouinard <fchouinard>
Severity: enhancement    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Proposed patch in org.eclipse.linuxtools.tmf
none
Proposed patch in org.eclipse.linuxtools.tmf fchouinard: iplog+

Description Patrick Tasse CLA 2011-02-22 15:56:02 EST
Build Identifier: 

Introduce a BufferedRandomAccessFile class which wraps a RandomAccessFile and provides greatly improved performance.

The method getNextLine is added and should be used instead of the final base class method readLine.


Reproducible: Always
Comment 1 Patrick Tasse CLA 2011-02-22 15:57:56 EST
Created attachment 189540 [details]
Proposed patch in org.eclipse.linuxtools.tmf

Legal Message: I, Patrick Tasse, declare that I developed attached code from
scratch, without referencing any 3rd party materials except material licensed
under the EPL. I am authorized by my employer to make this contribution under
the EPL.
Comment 2 Patrick Tasse CLA 2011-02-22 16:23:34 EST
Created attachment 189543 [details]
Proposed patch in org.eclipse.linuxtools.tmf

Updated patch with change to MANIFEST.MF.
Comment 3 Francois Chouinard CLA 2011-03-10 13:37:58 EST
Looks nice.

How about some unit tests to complete it?
Comment 4 Francois Chouinard CLA 2011-03-29 18:27:16 EDT
Patch committed. Thanks Patrick.
Comment 5 Francois Chouinard CLA 2011-07-22 15:02:09 EDT
Delivered with 0.8