Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[birt-dev] Checkin: Enhance IOUtil of core to support Object, Llst and Map serialization

- Summary:
Enhance IOUtil of core to support Object, List and Map serialization


- Bugzilla Bug (s) Resolved:
N/A


- Description:
Six methods are added in IOUtil to support Object, Llst and Map serialization. When a data type is not supported to be serialized, null value will be written and an IOException will be thrown.

 

Object readObject(DataInputStream dis)

void writeObject(DataOutputStream dos, Object obValue)

 

List readList(DataInputStream dis)

void writeList(DataOutputStream dos, List listValue)

 

Map readMap(DataInputStream dis)

void writeMap(DataOutputStream dos, Map mapValue)


- Tests Description:
Junit Test


- Files Added:

/org.eclipse.birt.core/test/org/eclipse/birt/core/util/IOUtilTest.java

 

- Files Edited:

/org.eclipse.birt.core/src/org/eclipse/birt/core/util/IOUtil.java

 

/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/cache/IOUtil.java

/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/document/RDLoad.java

/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/document/RDSave.java

 

- Notes to Build Team:
N/A


- Notes to Developers:
N/A


- Notes to QA: 
 

N/A

 

- Notes to Documentation:  
N/A

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

s


Back to the top