com.ibatis.common.flatfile
Class FixedColFlatFileOut
java.lang.Object
com.ibatis.common.flatfile.FixedColFlatFileOut
- All Implemented Interfaces:
- FlatFileOut
- public class FixedColFlatFileOut
- extends java.lang.Object
- implements FlatFileOut
- Author:
- clinton_begin
Constructor Summary |
FixedColFlatFileOut(java.lang.String filename,
int[] coldef)
Creates new FixedColFlatFileOut |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
writer
private java.io.Writer writer
values
private java.util.ArrayList values
coldef
private int[] coldef
linelength
private int linelength
spaces
private java.lang.String spaces
FixedColFlatFileOut
public FixedColFlatFileOut(java.lang.String filename,
int[] coldef)
throws java.io.IOException
- Creates new FixedColFlatFileOut
getColumnCount
public int getColumnCount()
throws java.io.IOException
- Specified by:
getColumnCount
in interface FlatFileOut
- Throws:
java.io.IOException
setValueAt
public void setValueAt(int col,
java.lang.String value)
throws java.io.IOException
- Specified by:
setValueAt
in interface FlatFileOut
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Specified by:
close
in interface FlatFileOut
- Throws:
java.io.IOException
nextRecord
public void nextRecord()
throws java.io.IOException
- Specified by:
nextRecord
in interface FlatFileOut
- Throws:
java.io.IOException