Hi guys,
Proposal: create a new bridge called WikiAccessBridge whose purpose is,
for now, to get the temporary directory's location.
Reason: in my ChartMacro I need a temporary folder for storing images,
and then sending them to the output.
I'm thinking of providing two methods:
File getTemporaryDirectory() - to get the directory as a File, thus
having the ability to write files within it
URL getAttachmentURL(String fileName) - to get a newly created file as a
web URL (e.g:
http://localhost/my_newly_created_temporary_file.png)
I plan to put the specifications of the bridge within org.xwiki.bridge
and the implementation within com.xpn.xwiki
WDYT?
Tnx,
Dan