Groovyã®ç·´ç¿ã ç¹ã«è¦å´ã¯ãªããã·ã¼ãåã«æ¥æ¬èªã使ã£ã¦ãå ¨ç¶åé¡ãªãããã¾ããã import org.apache.poi.hssf.usermodel.HSSFWorkbook // XSSFã¯2007以éã®å½¢å¼ï¼xlsxï¼ã2003以åã®å½¢å¼ï¼xlsï¼ã¯HSSF def workbook = new HSSFWorkbook() def sheet = workbook.createSheet() workbook.setSheetName(0, "æ¹ç¼ç´") for (i in 0..255) { sheet.setColumnWidth(i, 640); } new File("output/test.xls").withOutputStream{workbook.write(it)} LibreOfficeãããªãã®ã§ãããªæãã§ãã
ãã¡ãã®è¨äºã§ãGroovy ãã¤ã³ã¹ãã¼ã«ãã¦ããªãç°å¢ã§ Groovy ã¹ã¯ãªãããå®è¡ããæ¹æ³ãæ¸ããã¦ã¾ãããããã®æ¹æ³ã§ã¯ãã¹ã¯ãªããã®å®è¡ã«å¿ è¦ãª Groovy 㨠Ivy*1 ã® Jar ãã¡ã¤ã«èªä½ã¯å®è¡è ã«ç¨æãã¦ãããå¿ è¦ãããã¾ããã æè¿ãClojure ã®åå¼·ã«ã¨æã£ã¦ Leiningen ã¨ãããã¼ã«ãã¤ã¸ã£ã¦ããã§ãã*2ããã®ãã¼ã«ã§ã¯ Clojure ã® Jar ã¯ãã¡ãããLeiningen ã® Jar ããããã¼ã«ã«ãã£ã¦ãã¦ã³ãã¼ããã¡ãããï¼ã£ã¦ãã¤ã§ãã¦ã¼ã¶ã¼ããã¦ã³ãã¼ãããå¿ è¦ãããã®ã¯ã·ã§ã«ã»ã¹ã¯ãªããï¼*nixãMac ä¸ï¼ãããã¯ãããã»ãã¡ã¤ã«ï¼Windowsï¼ã ããã¨ããæ軽極ã¾ããªãï¼ï¼ï¼ã¦ã¼ã¶ããªãã£ã¨ãªã£ã¦ããã¾ããããã§ããããã¡ãã£ã¨ Groovy ã¹ã¯ãªããã®å®è¡ã«å¿ç¨ãã¦ã¿ããï¼ã¨è©¦è¡é¯èª¤ãã¦ã¿ã¾ãããã以ä¸ãWind
ã ãã¶åããGroovyé¢é£ã®åå¼·ä¼ã«åå ããããã¦å æ¥ãStartupGroovy#1ã«åå ãã¦ããããBoostããªãããããªããï¼ã¨æããªãããã¨ã³ã¸ã³ãæãã£ã¦ãªãä»æ¥ãã®é ãçæ§å¦ä½ãéããã§ããããã ã¨è¨ã訳ã§ã(Groovy/G*çéã)Boost(å é)ãã¹ããããã¾ã§ã«æ°ã ã®ããã°ãã¬ãã¼ãçã§è¨ããã¦ããè¨é²ãæ´çãã足æããã¨ãããã¨æãã¨ã³ããªã¨ãã¦ã¾ã¨ãã¦ã¿ã¾ããã ã¾ãã¯ä»£è¡¨çãªã¨ãããããGroovyãå§ããã«ã¯æ¬ ãããªã第1æ©ã å ¬å¼ Groovy - Home Groovy - Japanese Home å½å (ã¦ã¼ã¶ã¼ãºã°ã«ã¼ãçé) æ¥æ¬ Grails/Groovy ã¦ã¼ã¶ã¼ã°ã«ã¼ã(JGGUG) G*Mag Japan â»æ¥æ¬Grails/Groovyã¦ã¼ã¶ã¼ã°ã«ã¼ããæä¾ãããGroovyé¢é£æ å ±èªã Groovyé¢é£åå¼·ä¼ã»ã¤ãã³ã ããã¦ãã
æãã¯è¨èã«ã ã¯ã¦ãªããã°ã¯ãããªãã®æããèããæ®ãããã ãã¾ãã¾ãªäººã綴ã£ãå¤æ§ãªä¾¡å¤è¦³ã«è§¦ãããã§ããå ´æã§ãã
ã¤ã©ã³æçè¨#5ãã«ãããã®ããã¦ãÙÙÛج Ù¾ÙÙ ãã°ãã¡ããã«æãã£ãã«ãããããã¦ãã¨è¨ãã¤ã¤ãã°ãã¡ãããä½ã£ã¦ãããã®ã¯ä¸åº¦ã ãã§ãå ã¯ãã°ãã¡ããã®å§ªã£åããã®å¾ææçã§ããããã°ãã¡ããã¨ãã®å§ã姪ã£åã®ã¨ããã«ããããã¨å¤§å¦ã®åæã3人ã§ãã¼ã ã¹ãã¤ãã¦ãã¦ãããããã®å®¶ã«éã³ã«è¡ããâ¦
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}