org.hsqldb.rowio
Class RowInputTextQuoted
java.lang.Object
java.io.InputStream
org.hsqldb.lib.HsqlByteArrayInputStream
org.hsqldb.rowio.RowInputBase
org.hsqldb.rowio.RowInputText
org.hsqldb.rowio.RowInputTextQuoted
- All Implemented Interfaces:
- DataInput, 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
- Version:
- 1.7.2
- Author:
- sqlbob@users (RMP)
Methods inherited from class org.hsqldb.rowio.RowInputText |
checkNull, getLineNumber, readBigint, readBinary, readBit, readChar, readDate, readDecimal, readIntData, readInteger, readOther, readReal, readSmallint, readString, readTime, readTimestamp, readType, reset, setNextPos, skippedLine |
Methods inherited from class org.hsqldb.lib.HsqlByteArrayInputStream |
available, close, mark, markSupported, read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skip |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RowInputTextQuoted
public RowInputTextQuoted(String fieldSep,
String varSep,
String longvarSep,
boolean allQuoted)
throws IOException
setSource
public void setSource(String text,
int pos)
- Overrides:
setSource
in class RowInputText
setSource
public void setSource(String text,
int pos,
int len)
- Overrides:
setSource
in class RowInputText
getField
protected String getField(String sep,
int sepLen,
boolean isEnd)
throws IOException
- Overrides:
getField
in class RowInputText
- Throws:
IOException
Copyright © 2001 - 2004 HSQL Development Group. All Rights Reserved.