All Packages Class Hierarchy This Package Previous Next Index
Class bvyy.io.TextFileObjectProcessor
java.lang.Object
|
+----bvyy.io.TextFileObjectProcessor
- public class TextFileObjectProcessor
- extends Object
This class converts between the internal reprsentation of a list of
parameters for an object and a text representation of the same object.
It is a helper class to simplify the io aspects of the application.
- Version:
- 0.0.1 14 June 1998
- Author:
- (c)1998 Brian Voon Yee Yap
-
COLUMN_TITLES_ROW
-
-
DEFAULT_ROW
-
-
endTag
-
-
GAME_ROW
-
-
startTag
-
-
trailerTag
-
-
TextFileObjectProcessor()
-
-
convertObjectToText(DefaultableVectorSet)
- Convert an text representation to a internal representation.
-
convertTextToObject(Vector, String)
- Convert an internal representation to a text representation.
startTag
public static final String startTag
endTag
public static final String endTag
trailerTag
public static final String trailerTag
DEFAULT_ROW
public static final String DEFAULT_ROW
GAME_ROW
public static final String GAME_ROW
COLUMN_TITLES_ROW
public static final String COLUMN_TITLES_ROW
TextFileObjectProcessor
public TextFileObjectProcessor()
convertTextToObject
public static DefaultableVectorSet convertTextToObject(Vector theInput,
String theTag)
- Convert an internal representation to a text representation.
- Parameters:
- theInput - a vector to be converted to text.
- theTag, - the name of the section of text to convert to an object.
- Returns:
- s a vector of strings, one string per line for the text file.
convertObjectToText
public static Vector convertObjectToText(DefaultableVectorSet theInput)
- Convert an text representation to a internal representation.
- Parameters:
- theInput - a vector of strings to be converted to an internal
representation.
- Returns:
- s a defautlable vector
All Packages Class Hierarchy This Package Previous Next Index
|