net.jangaroo.extxml.util
Class FileScanner<State>

java.lang.Object
  extended by net.jangaroo.extxml.util.FileScanner<State>

public class FileScanner<State>
extends Object

An awk-like file processor that scans a text file line by line and dispatches to processing functions based on regular expressions.


Constructor Summary
FileScanner()
           
 
Method Summary
 FileScanner<State> add(Rule<State> rule)
           
 State scan(File file, State state)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileScanner

public FileScanner()
Method Detail

add

public FileScanner<State> add(Rule<State> rule)

scan

public State scan(File file,
                  State state)
           throws IOException
Throws:
IOException


Copyright © 2002-2011 CoreMedia AG. All Rights Reserved.