org.apache.myfaces.buildtools.maven2.plugin.javascript.uixtools
Class Detokenizer

java.lang.Object
  extended by org.apache.myfaces.buildtools.maven2.plugin.javascript.uixtools.Detokenizer

public class Detokenizer
extends Object

Converts Token Objects into a JavaScript file

Version:
$Name: $ ($Revision: 606225 $) $Date: 2007-12-21 16:55:00 +0100 (Fri, 21 Dec 2007) $

Constructor Summary
Detokenizer(PrintWriter out)
           
Detokenizer(Writer out)
          Creates a new PrintWriter and calls the other constructor.
 
Method Summary
 void write(Token tok)
          decodes a token and writes the result
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Detokenizer

public Detokenizer(PrintWriter out)
Parameters:
out - the file to write the output to.

Detokenizer

public Detokenizer(Writer out)
Creates a new PrintWriter and calls the other constructor.

Method Detail

write

public void write(Token tok)
           throws IOException
decodes a token and writes the result

Parameters:
tok - the token to decode.
Throws:
IOException


Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.