Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

About this example

This example shows how to use the <regex:reader> to process a somewhat arbitrary
flat file format.  In this example we process a Log4J log file, splitting each log
out into a <log> record and then splitting each log into 4 fields for <time>,
<severity>, <category> and <message>.

See:
    1. The "Main" class in src/main/java/example/Main.java.
    2. The input message in input.log.
    3. smooks-config.xml.

How to Run?

Requirements:
    1. JDK 1.5
    2. Maven 2.x (http://maven.apache.org/download.html)

Running:
    1. "mvn clean install"
    2. "mvn exec:java"