org.relique.jdbc.csv
Class CsvRandomAccessFile

java.lang.Object
  extended by java.io.RandomAccessFile
      extended by org.relique.jdbc.csv.CsvRandomAccessFile
All Implemented Interfaces:
java.io.Closeable, java.io.DataInput, java.io.DataOutput

public class CsvRandomAccessFile
extends java.io.RandomAccessFile

Author:
Zoran Milakovic

Constructor Summary
CsvRandomAccessFile(java.lang.String fileName, java.lang.String charset)
           
 
Method Summary
 java.lang.String readCsvLine()
           
 void seek(long pos)
           
 
Methods inherited from class java.io.RandomAccessFile
close, getChannel, getFD, getFilePointer, length, read, read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, setLength, skipBytes, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CsvRandomAccessFile

public CsvRandomAccessFile(java.lang.String fileName,
                           java.lang.String charset)
                    throws java.io.FileNotFoundException,
                           java.io.UnsupportedEncodingException
Throws:
java.io.FileNotFoundException
java.io.UnsupportedEncodingException
Method Detail

readCsvLine

public java.lang.String readCsvLine()
                             throws java.io.IOException
Throws:
java.io.IOException

seek

public void seek(long pos)
          throws java.io.IOException
Overrides:
seek in class java.io.RandomAccessFile
Throws:
java.io.IOException


Copyright © 2002-2007 Together - the Workgroup. All Rights Reserved.