thinkui.db.io
Class AbstractStringBufferDataObjectWriter
java.lang.Object
thinkui.db.io.AbstractDataObjectWriter
thinkui.db.io.AbstractStringBufferDataObjectWriter
- All Implemented Interfaces:
- DataObjectWriter
- Direct Known Subclasses:
- CSVDataObjectWriter, EchoDataObjectWriter
- public abstract class AbstractStringBufferDataObjectWriter
- extends AbstractDataObjectWriter
Extends AbstractDataObjectWriter to implement a base class for
writing strings using the StringBuffer class.
| Methods inherited from class thinkui.db.io.AbstractDataObjectWriter |
close, commit, getFormatFactory, getOutputStream, getWriter, init, isWriteHeader, isWriteUppercase, rollback, setFormatFactory, setOutputStream, setWriteHeader, setWriter, setWriteUppercase |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractStringBufferDataObjectWriter
public AbstractStringBufferDataObjectWriter()
- AbstractStringBufferDataObjectWriter constructor.
getCount
public final int getCount()
- Returns:
- the number of objects that has been written.
write
public final void write(DataClass dataClass)
throws java.lang.Exception
- Write the given data class.
- Throws:
java.lang.Exception
write
public final DataObject write(DataObject dataObject)
throws java.lang.Exception
- Write the given data object and return it (unmodified).
- Returns:
- the given data object unmodified.
- Throws:
java.lang.Exception
Copyright © 2007-2009. ThinkUI Software Inc. All rights reserved.