|
ThinkUI Data Generator 1.0.2 API | |||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
Data object writer.
| Method Summary | |
void |
close()
Closes the writer. |
void |
commit()
Commit the current database transaction (if any). |
int |
getCount()
|
FormatFactory |
getFormatFactory(java.lang.String attrName)
|
java.io.OutputStream |
getOutputStream()
Returns the output stream to be used or null if not applicable. |
java.io.Writer |
getWriter()
Returns the writer to be used or null if not applicable. |
void |
init()
Initializes the writer. |
boolean |
isWriteHeader()
Returns whether or not an output header should be written. |
boolean |
isWriteUppercase()
Returns whether or not output should be written in uppercase. |
void |
rollback()
Rollback the current database transaction (if any). |
void |
setFormatFactory(java.lang.String attrName,
FormatFactory factory)
Sets the format factory for the given attribute name. |
void |
setOutputStream(java.io.OutputStream out)
Sets the output stream to be used for writing the output. |
void |
setWriteHeader(boolean writeHeader)
Sets whether or not an output header should be written. |
void |
setWriter(java.io.Writer writer)
Sets the writer to be used for writing the output. |
void |
setWriteUppercase(boolean writeUppercase)
Sets whether or not output should be written in uppercase. |
void |
write(DataClass dataClass)
Write the given data class. |
DataObject |
write(DataObject dataObject)
Write the given data object. |
| Method Detail |
public void close()
throws java.lang.Exception
java.lang.Exception
public void commit()
throws java.lang.Exception
java.lang.Exceptionpublic int getCount()
public FormatFactory getFormatFactory(java.lang.String attrName)
public java.io.OutputStream getOutputStream()
public java.io.Writer getWriter()
public void init()
throws java.lang.Exception
java.lang.Exceptionpublic boolean isWriteHeader()
public boolean isWriteUppercase()
public void rollback()
throws java.lang.Exception
java.lang.Exception
public void setFormatFactory(java.lang.String attrName,
FormatFactory factory)
public void setOutputStream(java.io.OutputStream out)
public void setWriteHeader(boolean writeHeader)
public void setWriter(java.io.Writer writer)
public void setWriteUppercase(boolean writeUppercase)
public void write(DataClass dataClass)
throws java.lang.Exception
java.lang.Exception
public DataObject write(DataObject dataObject)
throws java.lang.Exception
java.lang.Exception
|
ThinkUI Data Generator 1.0.2 API | |||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
Copyright © 2007-2009. ThinkUI Software Inc. All rights reserved.