org.python.modules
Class cStringIO

java.lang.Object
  extended byorg.python.modules.cStringIO

public class cStringIO
extends Object

This module implements a file-like class, StringIO, that reads and writes a string buffer (also known as memory files). See the description on file objects for operations.

Version:
cStringIO.java,v 1.10 1999/05/20 18:03:20 fb Exp
Author:
Finn Bock, bckfnn@pipmail.dknet.dk

Nested Class Summary
static class cStringIO.StringIO
          The StringIO object
 
Constructor Summary
cStringIO()
           
 
Method Summary
static cStringIO.StringIO StringIO()
          Create an empty StringIO object
static cStringIO.StringIO StringIO(String buf)
          Create a StringIO object, initialized by the value.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

cStringIO

public cStringIO()
Method Detail

StringIO

public static cStringIO.StringIO StringIO()
Create an empty StringIO object

Returns:
a new StringIO object.

StringIO

public static cStringIO.StringIO StringIO(String buf)
Create a StringIO object, initialized by the value.

Parameters:
buf - The initial value.
Returns:
a new StringIO object.