Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[birt-dev]CheckIn: Add APIs into the RAInputStream, RAOutputStream

Title: [birt-dev]CheckIn: Add APIs into the RAInputStream, RAOutputStream

Summary 

Bugzilla Bug (s) Resolved:

Description:
RAInputStream/RAOutputStream is the basic stream used by the report documents. It simulates interfaces of the RandomAccessFile. In the implementation, to random access the streams, it is necessary to get the current offset of the stream. Add the getOffset() to return the current file pointer in RaInputStream and RaOutputStream.

Also add readInt/readLong, writeInt/writeLong to the those interfaces.
 
Test Description:
Unit Test
 
Files Edited:
cvs ci -m "add getOffset, readLong, readInt in RAInputStream, add getOffset, writeLong, writeInt into RAOutputStream" -l "/org.eclipse.birt.core/src/org/eclipse/birt/core/archive/RAFolderInputStream.java" "/org.eclipse.birt.core/src/org/eclipse/birt/core/archive/RAFileOutputStream.java" "/org.eclipse.birt.core/src/org/eclipse/birt/core/archive/RAFolderOutputStream.java" "/org.eclipse.birt.core/src/org/eclipse/birt/core/archive/RAFileOutputStream.java" "/org.eclipse.birt.core/src/org/eclipse/birt/core/archive/RAInputStream.java" "/org.eclipse.birt.core/src/org/eclipse/birt/core/archive/RAFolderInputStream.java" "/org.eclipse.birt.core/src/org/eclipse/birt/core/archive/RAInputStream.java" "/org.eclipse.birt.core/src/org/eclipse/birt/core/archive/RAFolderOutputStream.java" "/org.eclipse.birt.core/src/org/eclipse/birt/core/archive/RAFileInputStream.java" "/org.eclipse.birt.core/build.properties"

"/org.eclipse.birt.core/src/org/eclipse/birt/core/archive/RAOutputStream.java" "/org.eclipse.birt.core/src/org/eclipse/birt/core/archive/RAOutputStream.java" "/org.eclipse.birt.core/src/org/eclipse/birt/core/archive/RAFileInputStream.java"

Files Added:

Notes to Build Team:
 
Notes to Developers:

Notes to QA:
 
Quotes to Documentation:


-Wei Yan




Back to the top