Analytical Perspectives in Game Design


 

All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class bvyy.io.TextFileReader

java.lang.Object
   |
   +----java.lang.Thread
           |
           +----bvyy.io.TextFileReader

public class TextFileReader
extends Thread
This class converts reads in a text file into a vector of strings.

Version:
0.0.1 14 June 1998
Author:
(c)1998 Brian Voon Yee Yap

Constructor Index

 o TextFileReader()

Method Index

 o readTextFile(String)
This routine reads the text file, from the specified location and returns the text file as a vector of strings.

If the data file is empty or does not exist the Vector returned is empty.

Constructors

 o TextFileReader
 public TextFileReader()

Methods

 o readTextFile
 public Vector readTextFile(String theTextfile)
This routine reads the text file, from the specified location and returns the text file as a vector of strings.

If the data file is empty or does not exist the Vector returned is empty.

Parameters:
the - name (including location) of the text file. return a vector of strings

All Packages  Class Hierarchy  This Package  Previous  Next  Index

22/11/99

 


See also: [Role Playing Games] [Game Engine]
© 1998, 1999 Brian Yap. These pages are available under the GNU licence.