KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > mmbase > util > transformers > Perl


1 /*
2
3 This software is OSI Certified Open Source Software.
4 OSI Certified is a certification mark of the Open Source Initiative.
5
6 The license (Mozilla version 1.0) can be read at the MMBase site.
7 See http://www.MMBase.org/license
8
9 */

10 package org.mmbase.util.transformers;
11
12 /**
13  * And yet another rather idiotic type of Transformer. Interpret the String as a perl program and
14  * transform it to its result. The perl interpretetor needs to be in the PATH.
15  *
16  * @author Michiel Meeuwissen
17  * @since MMBase-1.7
18  * @version $Id: Perl.java,v 1.1 2003/05/12 21:09:52 michiel Exp $
19  */

20
21 public class Perl extends AbstractCommandStringTransformer implements CharTransformer {
22     protected String JavaDoc[] getCommand() {
23         return new String JavaDoc[] {"perl"};
24     }
25 }
26
Popular Tags