com.northconcepts.datapipeline.core
Class TextWriter
java.lang.Object
com.northconcepts.datapipeline.core.DataEndpoint
com.northconcepts.datapipeline.core.DataWriter
com.northconcepts.datapipeline.core.AbstractWriter
com.northconcepts.datapipeline.core.TextWriter
- Direct Known Subclasses:
- LinedTextWriter, XmlWriter
public abstract class TextWriter
- extends AbstractWriter
| 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 |
TextWriter
public TextWriter(File file)
TextWriter
public TextWriter(Writer writer)
addExceptionProperties
public DataException addExceptionProperties(DataException exception)
- Description copied from class:
DataEndpoint
- Adds this endpoint's current state to a
DataException. Since this method is called whenever an
exception is thrown, subclasses should override it to add their specific information.
- Overrides:
addExceptionProperties in class AbstractWriter
getWriter
public BufferedWriter getWriter()
getFile
public File getFile()
close
public void close()
- Description copied from class:
DataEndpoint
- Indicates that this endpoint has finished reading or writing.
- Overrides:
close in class DataEndpoint
Copyright (c) 2007-2009 North Concepts Inc. All Rights Reserved.