DeltaXML.com - Change Control For XML, In XML.(spacer) Home    About Us    Contact Us    Search
(spacer)

Stream File Example

Introduction

This code shows how Stream input and output can be used with Java File objects. The pipeline consists of a single DeltaXML comparator.

Compile and Run

Please use the provided Ant script, or for Windows Systems with J2SE 1.4.x, use the following commands:

Compile:
  javac StreamFile.java

Run:
  java -cp ../deltaxml.jar;. StreamFile demo1.xml demo2.xml demo1to2.xml

Manifest

README.txt

This file

build.xml

Ant script for compilation, running, tidyup

StreamFile.java

Pipeline source code

demo1.xml

Example input data

demo2.xml

Example input data

 (spacer)Copyright © 2000-2005 DeltaXML Ltd, Malvern, UK. All rights reserved.
info@deltaxml.com