Top Description Fields Constructors Methods
org.python.modules._csv

public Class PyDialect

extends PyObject
Class Inheritance
Known Direct Subclasses
org.python.modules._csv.PyDialectDerived
Annotations
@Untraversable
@ExposedType
name:_csv.Dialect
doc:CSV dialect The Dialect type records CSV parsing and generation options.
Imports
org.python.core.ArgParser, .Py, .PyBaseString, .PyInteger, .PyNewWrapper, .PyObject, .PyString, .PyType, .PyUnicode, .Untraversable, org.python.expose.ExposedDelete, .ExposedGet, .ExposedNew, .ExposedSet, .ExposedType

The Python CSV Dialect type.

Field Summary

Modifier and TypeField and Description
public char
delimiter

Field separator.

public static final String
public boolean
doublequote

Whether " is represented by "".

public char
escapechar

Escape character.

public String
lineterminator

String to write between records.

public char
quotechar

Quote character.

public QuoteStyle
quoting

Style of quoting to write.

public boolean
skipinitialspace

Ignore spaces following delimiter?

public boolean
strict

Whether an exception is raised on bad CSV.

public static final PyType
Inherited from org.python.core.PyObject:
attributesgcMonitorGlobalobjtype

Constructor Summary

AccessConstructor and Description
public
public
PyDialect(PyType subType)

Method Summary

Modifier and TypeMethod and Description
public void
pack-priv static final PyObject
Dialect___new__(PyNewWrapper new_, boolean init, PyType subtype, PyObject[] args, String[] keywords)

public PyObject
public PyObject
public PyObject
public void
private static boolean
toBool(String name, PyObject src, boolean dflt)

private static char
toChar(String name, PyObject src, char dflt)

private static int
toInt(String name, PyObject src, int dflt)

private static String
toStr(String name, PyObject src, String dflt)

Inherited from org.python.core.PyObject:
__abs____add____and____call____call____call____call____call____call____call____call____call____call____call____call____call____call____call____call____cmp____coerce____coerce_ex____complex____contains____delattr____delattr____delete____delitem____delitem____delslice____delslice____dir____div____divmod____ensure_finalizer____eq____findattr____findattr____findattr_ex____finditem____finditem____finditem____float____floordiv____format____ge____get____getattr____getattr____getitem____getitem____getnewargs____getslice____getslice____gt____hash____hex____iadd____iand____idiv____idivmod____ifloordiv____ilshift____imod____imul____index____int____invert____ior____ipow____irshift____isub____iter____iternext____itruediv____ixor____le____len____long____lshift____lt____mod____mul____ne____neg____nonzero____not____oct____or____pos____pow____pow____radd____rand____rawdir____rdiv____rdivmod____reduce____reduce_ex____reduce_ex____repr____rfloordiv____rlshift____rmod____rmul____ror____rpow____rrshift____rshift____rsub____rtruediv____rxor____set____setattr____setattr____setitem____setitem____setitem____setslice____setslice____str____sub____tojava____truediv____trunc____unicode____xor___add_and_callextra_cmp_div_divmod_doget_doget_doset_eq_floordiv_ge_gt_iadd_iand_idiv_idivmod_ifloordiv_ilshift_imod_imul_in_ior_ipow_irshift_is_isnot_isub_itruediv_ixor_jcall_jcallexc_jthrow_le_lshift_lt_mod_mul_ne_notin_or_pow_rshift_sub_truediv_unsupportedop_xoradaptToCoerceTupleasDoubleasIndexasIndexasIntasIntasIterableasLongasLongasNameasNameasStringasStringasStringOrNullasStringOrNullbit_lengthconjugatedelDictdelTypedispatch__init__equalsfastGetClassfastGetDictfinalizegetDictgetJavaProxygetTypehashCodeimpAttrimplementsDescrDeleteimplementsDescrGetimplementsDescrSetinvokeinvokeinvokeinvokeinvokeinvokeisCallableisDataDescrisIndexisIntegerisMappingTypeisNumberTypeisSequenceTypemergeClassDictmergeDictAttrmergeListAttrnoAttributeErrorobject___subclasshook__readonlyAttributeErrorrunsupportedopMessagesetDictsetTypetoStringunsupportedopMessage

Field Detail

delimiterback to summary
public char delimiter

Field separator.

Annotations
@ExposedGet

Dialect_docback to summary
public static final String Dialect_doc
doublequoteback to summary
public boolean doublequote

Whether " is represented by "".

Annotations
@ExposedGet

escapecharback to summary
public char escapechar

Escape character.

lineterminatorback to summary
public String lineterminator

String to write between records.

Annotations
@ExposedGet

quotecharback to summary
public char quotechar

Quote character.

quotingback to summary
public QuoteStyle quoting

Style of quoting to write.

skipinitialspaceback to summary
public boolean skipinitialspace

Ignore spaces following delimiter?

Annotations
@ExposedGet

strictback to summary
public boolean strict

Whether an exception is raised on bad CSV.

Annotations
@ExposedGet

TYPEback to summary
public static final PyType TYPE

Hides org.python.core.PyObject.TYPE.

Constructor Detail

PyDialectback to summary
public PyDialect()
PyDialectback to summary
public PyDialect(PyType subType)

Method Detail

delQuotingback to summary
public void delQuoting()
Annotations
@ExposedDelete
name:quoting
Dialect___new__back to summary
pack-priv static final PyObject Dialect___new__(PyNewWrapper new_, boolean init, PyType subtype, PyObject[] args, String[] keywords)
Annotations
@ExposedNew
getEscapecharback to summary
public PyObject getEscapechar()
Annotations
@ExposedGet
name:escapechar
getQuotecharback to summary
public PyObject getQuotechar()
Annotations
@ExposedGet
name:quotechar
getQuotingback to summary
public PyObject getQuoting()
Annotations
@ExposedGet
name:quoting
setQuotingback to summary
public void setQuoting(PyObject obj)
Annotations
@ExposedSet
name:quoting
toBoolback to summary
private static boolean toBool(String name, PyObject src, boolean dflt)
toCharback to summary
private static char toChar(String name, PyObject src, char dflt)
toIntback to summary
private static int toInt(String name, PyObject src, int dflt)
toStrback to summary
private static String toStr(String name, PyObject src, String dflt)