Package org.python.modules
Class cStringIO
java.lang.Object
org.python.modules.cStringIO
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
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic cStringIO.StringIO
StringIO()
static cStringIO.StringIO
StringIO
(CharSequence buffer) Create a StringIO object, initialized by the value.static cStringIO.StringIO
Create a StringIO object, initialized by an array's byte stream.
-
Field Details
-
__doc__
- See Also:
-
InputType
-
OutputType
-
__doc__StringIO
- See Also:
-
-
Constructor Details
-
cStringIO
public cStringIO()
-
-
Method Details
-
StringIO
-
StringIO
Create a StringIO object, initialized by the value.- Parameters:
buffer
- The initial value.- Returns:
- a new StringIO object.
-
StringIO
Create a StringIO object, initialized by an array's byte stream.- Parameters:
array
- The initial value, from an array.- Returns:
- a new StringIO object.
-