com.northconcepts.datapipeline.core
Class DebugReader
java.lang.Object
com.northconcepts.datapipeline.core.DataEndpoint
com.northconcepts.datapipeline.core.DataReader
com.northconcepts.datapipeline.core.ProxyReader
com.northconcepts.datapipeline.core.DebugReader
public class DebugReader
- extends ProxyReader
A proxy that prints records passing through to a stream in a human-readable format
| Methods inherited from class com.northconcepts.datapipeline.core.DataEndpoint |
assertNotOpened, assertOpened, decrementRecordCount, exception, exception, exception, finalize, getRecordCount, getRecordCountAsBigInteger, getRecordCountAsString, getState, incrementRecordCount, isClosed, isOpen, isRecordCountBigInteger, resetRecordCount, toString |
DebugReader
public DebugReader(DataReader nestedDataReader,
String id,
Writer writer)
DebugReader
public DebugReader(DataReader nestedDataReader,
String id,
OutputStream outputStream)
close
public void close()
throws DataException
- Description copied from class:
DataEndpoint
- Indicates that this endpoint has finished reading or writing.
- Overrides:
close in class ProxyReader
- Throws:
DataException
getCloseWriterOnClose
public boolean getCloseWriterOnClose()
setCloseWriterOnClose
public void setCloseWriterOnClose(boolean closeWriterOnClose)
interceptRecord
protected Record interceptRecord(Record record)
throws Throwable
- Overrides:
interceptRecord in class ProxyReader
- Throws:
Throwable
Copyright (c) 2007-2009 North Concepts Inc. All Rights Reserved.