Top Description Fields Constructors Methods
org.hsqldb.rowio

public Class RowInputTextQuoted

extends RowInputText
Class Inheritance
Imports
org.hsqldb.error.Error, .ErrorCode, org.hsqldb.persist.TextFileSettings

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.
Author
Bob Preston (sqlbob@users dot sourceforge.net)
Since
1.7.0
Version
2.3.4

Field Summary

Modifier and TypeField and Description
pack-priv int
private static final int
private static final int
private static final int
private final char
Inherited from org.hsqldb.rowio.RowInputText:
fieldlinenextscannertexttextFileSettings

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected String
getField(String sep, int sepLen, boolean isEnd)

Overrides org.hsqldb.rowio.RowInputText.getField.

public void
setSource(String text, long pos, int byteSize)

Overrides org.hsqldb.rowio.RowInputText.setSource.

Inherited from org.hsqldb.rowio.RowInputText:
getLineNumberreadArrayreadBigintreadBinaryreadBitreadBlobreadBoolereadBytereadCharreadCharreadClobreadDatereadDaySecondIntervalreadDecimalreadIntreadIntegerreadLongreadNullreadOtherreadRealreadShortreadSmallintreadStringreadTimereadTimestampreadTypereadUUIDreadYearMonthIntervalresetskippedLine

Field Detail

charLengthback to summary
pack-priv int charLength
FOUND_QUOTEback to summary
private static final int FOUND_QUOTE
NEED_END_QUOTEback to summary
private static final int NEED_END_QUOTE
NORMAL_FIELDback to summary
private static final int NORMAL_FIELD
quoteCharback to summary
private final char quoteChar

Constructor Detail

RowInputTextQuotedback to summary
public RowInputTextQuoted(TextFileSettings textFileSettings)

Method Detail

getFieldback to summary
protected String getField(String sep, int sepLen, boolean isEnd)

Overrides org.hsqldb.rowio.RowInputText.getField.

setSourceback to summary
public void setSource(String text, long pos, int byteSize)

Overrides org.hsqldb.rowio.RowInputText.setSource.