holoedit.fileio
Class STYPreader

java.lang.Object
  extended by holoedit.fileio.STYPreader

public class STYPreader
extends java.lang.Object

Classe permettant la lecture du fichier STYP


Field Summary
private  java.lang.String fileName
           
(package private)  java.io.BufferedReader reader
           
private  java.lang.String unknownType
           
 
Constructor Summary
STYPreader(java.lang.String fileName, java.lang.String unknownType)
          That constructor is used when we look for the fields of a particular matrix type in a *.STYP file.
STYPreader(java.lang.String TYPframeString, java.lang.String unknownType, boolean b)
          That constructor is used when we look for the fields of a particular matrix type in a String.
 
Method Summary
 java.lang.String[] getData()
          Returns the fields of the matrix.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

unknownType

private java.lang.String unknownType

fileName

private java.lang.String fileName

reader

java.io.BufferedReader reader
Constructor Detail

STYPreader

public STYPreader(java.lang.String fileName,
                  java.lang.String unknownType)
That constructor is used when we look for the fields of a particular matrix type in a *.STYP file.

Parameters:
fileName - : the path+name of the .STYP file to read.
unknownType - : the type of the matrix that we look for.

STYPreader

public STYPreader(java.lang.String TYPframeString,
                  java.lang.String unknownType,
                  boolean b)
That constructor is used when we look for the fields of a particular matrix type in a String.

Parameters:
TYPframeString - : the String to read.
unknownType - : the type of the matrix that we look for.
b - : a boolean; just to make the difference with the other constructor.
Method Detail

getData

public java.lang.String[] getData()
Returns the fields of the matrix.

Returns:
An array of Strings that are the matrix fields names,