org.hsqldb.rowio
Class RowOutputTextQuoted
java.lang.Object
java.io.OutputStream
org.hsqldb.lib.HsqlByteArrayOutputStream
org.hsqldb.rowio.RowOutputBase
org.hsqldb.rowio.RowOutputText
org.hsqldb.rowio.RowOutputTextQuoted
- All Implemented Interfaces:
- DataOutput, RowOutputInterface
- public class RowOutputTextQuoted
- extends RowOutputText
This class quotes strings only if they contain the quote character or
the separator for the field. The quote character is doubled.
- Since:
- 1.7.0
- Version:
- 1.7.2
- Author:
- sqlbob@users (RMP)
Methods inherited from class org.hsqldb.rowio.RowOutputText |
getSize, writeBigint, writeBinary, writeBit, writeByteArray, writeChar, writeDate, writeDecimal, writeFieldType, writeIntData, writeIntData, writeInteger, writeLongVarString, writeNull, writeOther, writePos, writeReal, writeSize, writeSmallint, writeString, writeTime, writeTimestamp, writeType, writeVarString |
Methods inherited from class org.hsqldb.lib.HsqlByteArrayOutputStream |
close, ensureRoom, fill, flush, getBuffer, reset, reset, size, toByteArray, toString, toString, toString, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeTo, writeUTF |
RowOutputTextQuoted
public RowOutputTextQuoted(String fieldSep,
String varSep,
String longvarSep,
boolean allQuoted)
throws IOException
RowOutputTextQuoted
public RowOutputTextQuoted(String fieldSep,
String varSep,
String longvarSep,
boolean allQuoted,
String encoding)
throws IOException
checkConvertString
protected String checkConvertString(String s,
String sep)
throws IOException
- Overrides:
checkConvertString
in class RowOutputText
- Throws:
IOException
Copyright © 2001 - 2004 HSQL Development Group. All Rights Reserved.