Re: Re: [OGNL] Mask operators

2012-03-06 Thread Stephan . DCosta
@Daniel: Of course I do not use OGNL for only selecting an entry from a simple Map. My application uses OGNL for navigating thru a complex (unknown) graph and doing calculations based on the values inside the graph. I just gave a simple example to explain my needs... @Chris: I have tried this

Re: Re: [OGNL] Mask operators

2012-03-06 Thread Maurizio Cucchiara
This should be work: Ognl.getValue( ['a-b'],m ) Twitter :http://www.twitter.com/m_cucchiara G+ :https://plus.google.com/107903711540963855921 Linkedin:http://www.linkedin.com/in/mauriziocucchiara Maurizio Cucchiara On 6 March 2012 09:10, stephan.dco...@arz.at wrote:

Re: [Collections] Circular Buffer

2012-03-06 Thread James Carman
what exactly are you trying to do? Perhaps a circular buffer isn't what you're looking for. On Mar 6, 2012 1:48 AM, manoj mokashi manojmoka...@gmail.com wrote: The existing CircularFifoBuffer would suffice if it had an efficient get(index) method, which gets an element with the specified

Antwort: Re: Re: [OGNL] Mask operators

2012-03-06 Thread Stephan . DCosta
Thanks Maurizio, this works perfectly! If somebody else needs this: Use parentheses if you need this inside a longer path (data graph), i.e. Ognl.getValue( keyInOuterMap.(['a-b']).keyInNestedMap,m ) maurizio.cucchi...@gmail.com schrieb am 06.03.2012 10:54:36: Von: Maurizio Cucchiara

[sanselan] Writing EXIF data to JPEG

2012-03-06 Thread Kasper Føns
Hi Sanselan. I have a hard time finding out how to use Sanselan. Suppose I have some JPEG picture which I want to add some attributes to. If for example I want to add some user comment or date I try this: TiffOutputSet outputSet = new TiffOutputSet(); TiffOutputField dateTaken =