Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 337900 - [TMF] Buffered random access file
Summary: [TMF] Buffered random access file
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: LinuxTools (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Francois Chouinard CLA
QA Contact: Francois Chouinard CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-22 15:56 EST by Patrick Tasse CLA
Modified: 2022-01-13 14:53 EST (History)
0 users

See Also:


Attachments
Proposed patch in org.eclipse.linuxtools.tmf (4.43 KB, patch)
2011-02-22 15:57 EST, Patrick Tasse CLA
no flags Details | Diff
Proposed patch in org.eclipse.linuxtools.tmf (4.89 KB, patch)
2011-02-22 16:23 EST, Patrick Tasse CLA
fchouinard: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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