net.sgoliver.jrtftree.core
Class RtfLex

java.lang.Object
  extended bynet.sgoliver.jrtftree.core.RtfLex

public class RtfLex
extends java.lang.Object

Analizador léxico (tokenizador) para documentos en formato RTF. Analiza el documento y devuelve de forma secuencial todos los elementos RTF leidos (tokens).


Constructor Summary
RtfLex(java.io.Reader rtfreader)
          Constructor de la clase RtfLex
 
Method Summary
 RtfToken nextToken()
          Lee un nuevo token del documento RTF.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RtfLex

public RtfLex(java.io.Reader rtfreader)
Constructor de la clase RtfLex

Parameters:
rtfreader - Stream del fichero a analizar.
Method Detail

nextToken

public RtfToken nextToken()
                   throws java.io.IOException
Lee un nuevo token del documento RTF.

Throws:
java.io.IOException