holoedit.fileio
Class TextFileReader
java.lang.Object
holoedit.fileio.TextFileReader
- All Implemented Interfaces:
- java.lang.Runnable
public class TextFileReader
- extends java.lang.Object
- implements java.lang.Runnable
Permet la crŽation d'une holoData ˆ partir d'un fichier texte.
Le fichier doit etre constituŽ de plusieurs colones,
la premire correspond au temps, les autres aux diffŽrents fields.
Les nombres ˆ virgules doivent etre avec des points, pas des virgules.
Les colonnes doivent etre sŽparŽes par des espaces ou tabulations (1 ou +).
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
error
private int error
NO_ERROR
public static final int NO_ERROR
- See Also:
- Constant Field Values
TYPE_ERROR
public static final int TYPE_ERROR
- See Also:
- Constant Field Values
LOAD_ERROR
public static final int LOAD_ERROR
- See Also:
- Constant Field Values
FILE_ERROR
public static final int FILE_ERROR
- See Also:
- Constant Field Values
TEXT_FORMAT_ERROR
public static final int TEXT_FORMAT_ERROR
- See Also:
- Constant Field Values
progressBar
private ProgressBar progressBar
- Pour l'affichage d'une barre de progression pendant l'ouverture du fichier
runner
private java.lang.Thread runner
hSDIFdts
private HoloSDIFdata[] hSDIFdts
fine
private boolean fine
done
private boolean done
textFile
public java.io.File textFile
- associated text file
hashMap
private java.util.HashMap<java.lang.Double,java.util.Vector<java.util.Vector<java.lang.Double>>> hashMap
TextFileReader
public TextFileReader(java.io.File f)
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
createSDIFdata
private void createSDIFdata(HoloSDIFdata data)
isFine
public boolean isFine()
isDone
public boolean isDone()
getError
public int getError()
getHoloSDIFdatas
public HoloSDIFdata[] getHoloSDIFdatas()
stop
public void stop()