com.northconcepts.datapipeline.core
Class BinaryWriter
java.lang.Object
com.northconcepts.datapipeline.core.DataEndpoint
com.northconcepts.datapipeline.core.DataWriter
com.northconcepts.datapipeline.core.AbstractWriter
com.northconcepts.datapipeline.core.BinaryWriter
- Direct Known Subclasses:
- PdfWriter, RtfWriter
public abstract class BinaryWriter
- extends AbstractWriter
Abstract super-class for writing records to a binary stream.
| 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 |
BinaryWriter
public BinaryWriter(File file)
BinaryWriter
public BinaryWriter(OutputStream outputStream)
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
close
public void close()
- Description copied from class:
DataEndpoint
- Indicates that this endpoint has finished reading or writing.
- Overrides:
close in class DataEndpoint
getOutputStream
public BufferedOutputStream getOutputStream()
Copyright (c) 2007-2009 North Concepts Inc. All Rights Reserved.