com.norconex.jef.progress.snapshot
Class XMLProgressSnapshotSerializer
java.lang.Object
com.norconex.jef.progress.snapshot.XMLProgressSnapshotSerializer
- All Implemented Interfaces:
- IProgressSnapshotSerializer, Serializable
public class XMLProgressSnapshotSerializer
- extends Object
- implements IProgressSnapshotSerializer
Renders the a job suite progress snapshot in XML format.
- Since:
- 2.0
- Author:
- Pascal Essiembre
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLProgressSnapshotSerializer
public XMLProgressSnapshotSerializer()
writeProgressSnapshot
public void writeProgressSnapshot(Writer writer,
IProgressSnapshot snapshot)
- Description copied from interface:
IProgressSnapshotSerializer
- Writes a job progress snapshot.
- Specified by:
writeProgressSnapshot
in interface IProgressSnapshotSerializer
- Parameters:
writer
- where to write the progresssnapshot
- the job progress snapshopt to write
readProgressSnapshot
public IProgressSnapshot readProgressSnapshot(Reader in)
- Description copied from interface:
IProgressSnapshotSerializer
- Reads a job progress snapshot.
- Specified by:
readProgressSnapshot
in interface IProgressSnapshotSerializer
- Parameters:
in
- reader for the progress
- Returns:
- the job progress snapshot
Copyright © 2007-2013 Norconex Inc.. All Rights Reserved.