cctools
ndcctools.taskvine.file.File Class Reference

TaskVine File Object. More...

Inheritance diagram for ndcctools.taskvine.file.File:

Public Member Functions

def contents
 Return the contents of a file object as a string. More...
 
def __len__
 Return the size of a file object, in bytes. More...
 

Detailed Description

TaskVine File Object.

The superclass of all TaskVine file types.

Member Function Documentation

def ndcctools.taskvine.file.File.contents (   self)

Return the contents of a file object as a string.

Typically used to return the contents of an output buffer.

Parameters
selfA file object.
def ndcctools.taskvine.file.File.__len__ (   self)

Return the size of a file object, in bytes.

Parameters
selfA file object.

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