net.jangaroo.extxml.util
Class FileScanner<State>
java.lang.Object
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileScanner
public FileScanner()
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.