Home
Categories
Dictionnary
Download
Project Details
Changes Log
FAQ
License

Groovy scripts



Groovy scripts in XUL files use the Groovy scripting language.

Implementation

Groovy scripts are implemented with the Groovy library.

MIME types

The MIME types supported for Groovy scripts are:
  • "text/groovy"
  • "application/javascript"
  • "application/groovy"
  • "application/x-groovy"

Import declarations

Groovy import declarations are as in java. For example:
      import java.util.List;
      
      public int computeSize(List list) {
        return list.size();
      }

See also


Categories: scripts

Copyright 2008-2020 Herve Girod. All Rights Reserved. Documentation and source under the LGPL licence