Back to index

plone3  3.1.7
Public Member Functions
GenericSetup.interfaces.ICSVAware Class Reference
Inheritance diagram for GenericSetup.interfaces.ICSVAware:
Inheritance graph
[legend]
Collaboration diagram for GenericSetup.interfaces.ICSVAware:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def getId
def as_csv
def put_csv

Detailed Description

Interface for objects which dump / load 'text/comma-separated-values'.

Definition at line 773 of file interfaces.py.


Member Function Documentation

Return a string representing the object as CSV.

Definition at line 780 of file interfaces.py.

00780 
00781     def as_csv():
00782         """ Return a string representing the object as CSV.
00783         """

Interface for objects which dump / load 'text/comma-separated-values'.
Return the Zope id of the object.

Definition at line 776 of file interfaces.py.

00776 
00777     def getId():
00778         """ Return the Zope id of the object.
00779         """

Parse CSV and update the object.

o 'fd' must be a file-like object whose 'read' method returns
  CSV text parseable by the 'csv.reader'.

Definition at line 784 of file interfaces.py.

00784 
00785     def put_csv(fd):
00786         """ Parse CSV and update the object.
00787 
00788         o 'fd' must be a file-like object whose 'read' method returns
00789           CSV text parseable by the 'csv.reader'.
00790         """


The documentation for this class was generated from the following file: