-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Streams #2
Comments
ok. Please describe the way you use the library, so it's easier to create an appropriate api. |
yes it is web app,
|
I suppose easier way to get api somthing like: |
Yeah, it makes sense. It will be a utility wrapper around file API at first. Thing I am aware of is output stream closing.. I will think it through. |
About cache, normal practice is to use cache key or id... |
Streaming and caching features are implemented in version 0.7. Please check it out. Note that the new version will appear at maven central as soon as sonatype sync happens. This may require a week or so. |
Why is not available outputstream api for processed template? |
Thanks for the note! Will add it ASAP. |
Now it's done: see |
Why does method return InputStream? Why just not copy data to outstream like in example above? Because it is no deffirance copy data from file or from inputstream, if i need for example put data in response. |
Makes sence... Will add soon, in .0.7.2. |
P.S. It is very usefull library. Realy i didnt meet any another library, that works stable with docx templates. I hope you will impove this. Thank You! |
That's nice! If you see an option of library promotion I would be pleased to listen. |
OutputStream feature added |
Now exists only File api. Streams api will be very usefull.
The text was updated successfully, but these errors were encountered: