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 java.lang.Object

Converts Token Objects into a JavaScript file

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

Constructor Summary
Detokenizer(java.io.PrintWriter out)
           
Detokenizer(java.io.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(java.io.PrintWriter out)
Parameters:
out - the file to write the output to.

Detokenizer

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

Method Detail

write

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

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


Copyright © 2001-2009 Apache Software Foundation. All Rights Reserved.