[
https://issues.apache.org/jira/browse/ISIS-2155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andi Huber closed ISIS-2155.
----------------------------
Resolution: Fixed
Implemented, typical use showcasing both new classes ...
{code:java}
val zipWriter = ZipWriter.newInstance();
for (Map.Entry<String, String> entry : schemaMap.entrySet()) {
val namespaceUri = entry.getKey();
val schemaText = entry.getValue();
zipWriter.nextEntry(zipEntryNameFor(namespaceUri), writer->{
writer.write(schemaText);
});
}
return BlobClobFactory.blobZip(fileName, zipWriter.toBytes());
{code}
> Introduce a BlobClobFactory and a ZipWriter
> -------------------------------------------
>
> Key: ISIS-2155
> URL: https://issues.apache.org/jira/browse/ISIS-2155
> Project: Isis
> Issue Type: Improvement
> Reporter: Andi Huber
> Assignee: Andi Huber
> Priority: Major
> Fix For: 2.0.0
>
>
> To simplify common Blob/Clob/Zip idioms.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)