[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[birt-dev] CheckIn: Modification of DocumentArchive
|
Title: [birt-dev] CheckIn: Modification of DocumentArchive
Description:
Add createStream method to IDocumentArchive interface.
Modify getStream method of DocumentArchive, which will return a File no matter the stream with the specified name exist or not. If the stream doesn't exist, users can call method of the File to create the stream or directory.
Why: Previously, there is no interface for use to create a stream with their own stream name, which is very inconvenient. For example, DtE need to store query result set with their randomly generated names. DocumentArchive should support this feature.
Fix: Add createStream method to IDocumentArchive interface, which create the user specified stream. Modify getStream to return a File object no mather the specific stream exists or not. User can use this File object to create directory or stream if the file doesn't exists.
Regression: Yes/No
No
Code Owner:
Shanghai Engine Team
Code Reviewers:
Shanghai Engine Team
Tests:
Unit test
Test Automated: Yes/No (if “No”, then explain why)
Yes
Branches Involved:
Eclipse CVS
Files Changed:
src/org/eclipse/birt/core/archive/IDocumentArchive.java
src/org/eclipse/birt/core/archive/DocumentArchive.java
test/org/eclipse/birt/core/archive/DocumentArchiveTest.java
Files Shared:
None
Files Added:
None
Files Deleted:
None
Defect Entries Resolved:
None
Case Entries Resolved:
None
Notes to Developers:
None
Notes to QA:
None
Notes to Documentation:
None
Notes to Configuration Management:
None
Notes to Support:
None
Notes to Product Marketing:
None