Documentation of 'org.hsqldb.rowio.RowInputTextQuoted' Java class
RowInputTextQuoted
org.hsqldb.rowio

Class RowInputTextQuoted

  • All Implemented Interfaces:
    java.io.Closeable, java.io.DataInput, java.lang.AutoCloseable, RowInputInterface


    public class RowInputTextQuoted
    extends RowInputText
    Fields in the source file need not be quoted. Methods in this class unquote the fields if they are quoted and handle quote character doubling in this case.
    Since:
    1.7.0
    • Constructor Detail

      • RowInputTextQuoted

        public RowInputTextQuoted(java.lang.String fieldSep,
                                  java.lang.String varSep,
                                  java.lang.String longvarSep,
                                  boolean allQuoted)
    • Method Detail

      • setSource

        public void setSource(java.lang.String text,
                              long pos,
                              int byteSize)
        Overrides:
        setSource in class RowInputText
      • getPos

        public long getPos()
      • getSize

        public int getSize()
      • readData

        public java.lang.Object[] readData(Type[] colTypes)
                                    throws java.io.IOException
        reads row data from a stream using the JDBC types in colTypes
        Parameters:
        colTypes -
        Throws:
        java.io.IOException
      • readData

        public java.lang.Object readData(Type type)
                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • resetRow

        public void resetRow(long filepos,
                             int rowsize)
        Used to reset the row, ready for a new row to be written into the byte[] buffer by an external routine.
      • resetBlock

        public void resetBlock(long filepos,
                               int rowsize)
        Used to reset the row, ready for a new row to be written into the byte[] buffer by an external routine.
      • getBuffer

        public byte[] getBuffer()
      • skipBytes

        public int skipBytes(int n)
                      throws java.io.IOException
        Specified by:
        skipBytes in interface java.io.DataInput
        Overrides:
        skipBytes in class HsqlByteArrayInputStream
        Throws:
        java.io.IOException
      • readLine

        public java.lang.String readLine()
                                  throws java.io.IOException
        Specified by:
        readLine in interface java.io.DataInput
        Overrides:
        readLine in class HsqlByteArrayInputStream
        Throws:
        java.io.IOException

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.