Welcome To Snipplr
Everyone's Recent Snippets Tagged groovy
- All /
 - JavaScript /
 - HTML /
 - PHP /
 - CSS /
 - Ruby /
 - Objective C
 
Make sure Jackson core and Mappers are on classpath. So who can explain why userImage has a size of 7. I assume the byte-Array is encoded. What format?
        
        
        
            0 
        
        
            1178 
        
                    posted 14 years ago by hansamann
            
            Groovy
        
            Groovy Swing data binding example that works on a freshly created object (online example does not)  
        
                    
        
        
        
            0 
        
        
            2613 
        
                    posted 14 years ago by laurenceosx
            
An example of how to configure the CliBuilder to read command line arguments in Groovy.
        
        
        
            0 
        
        
            1061 
        
                    posted 14 years ago by miceno
            Groovy has the as keyword which enables the implementation of a Java interface by using the as keyword, its quite easy to mimic this in JRuby.
        
        
        
            0 
        
        
            1507 
        
                    posted 16 years ago by narkisr
            Groovy script that creates an XML file using an XML template containing ${params} and a standard Java Properties file
        
        
        
            0 
        
        
            1478 
        
                    posted 16 years ago by gripnrip
            Expected Behaviour
==================
*	Both classes should be rendered in the specified custom format when `store/book/list.json` is loaded.
*	Order of how the marshallers are added should not matter.
*	It should be possible to register more t...
        
        
        
            0 
        
        
            1103 
        
                    posted 16 years ago by kungfoo
            An easy way to launch an external process (http://docs.codehaus.org/display/GroovyJSR/Run+Sub-Process+Safely).
        
        
        
            1 
        
        
            1570 
        
                    posted 16 years ago by narkisr
            Put this script in your path and you can start your scripts located in ~/.groovy/scripts from everywhere.
Tags: Bash, Linux, Groovy
        
        
        
            0 
        
        
            1378 
        
                    posted 16 years ago by mahome
            Clojsure composition in Groovy (functional style programing).
@http://www.ibm.com/developerworks/java/library/j-pg08235/index.html
        
        
        
            0 
        
        
            1242 
        
                    posted 16 years ago by narkisr