gpl.fredy.datadrill
Class ReadFile

java.lang.Object
  extended by gpl.fredy.datadrill.ReadFile

public class ReadFile
extends java.lang.Object


Constructor Summary
ReadFile()
           
ReadFile(java.lang.String fileName)
           
 
Method Summary
 java.lang.String getFileName()
          Get the value of fileName.
 MyFileFilter getFilter()
          Get the value of filter.
 java.util.Vector getLines()
           
 java.lang.String getPath()
          Get the value of path.
 java.lang.String getText()
          Get the value of text.
static void main(java.lang.String[] args)
           
 void readIt()
           
 void selectFile()
           
 void setFileName(java.lang.String v)
          Set the value of fileName.
 void setFilter(java.lang.String[] f)
          Set the Filefilter
 void setPath(java.lang.String v)
          Set the the path.
 void setText(java.lang.String v)
          Set the value of text.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReadFile

public ReadFile()

ReadFile

public ReadFile(java.lang.String fileName)
Method Detail

getPath

public java.lang.String getPath()
Get the value of path.

Returns:
value of path.

setPath

public void setPath(java.lang.String v)
Set the the path.

Parameters:
v - Value to assign to path.

getFileName

public java.lang.String getFileName()
Get the value of fileName.

Returns:
value of fileName.

setFileName

public void setFileName(java.lang.String v)
Set the value of fileName.

Parameters:
v - Value to assign to fileName.

selectFile

public void selectFile()

getFilter

public MyFileFilter getFilter()
Get the value of filter.

Returns:
value of filter.

setFilter

public void setFilter(java.lang.String[] f)
Set the Filefilter

Parameters:
extensions - are the desired File-extensions
description - the description of the filter

getLines

public java.util.Vector getLines()

getText

public java.lang.String getText()
Get the value of text.

Returns:
Value of text.

setText

public void setText(java.lang.String v)
Set the value of text.

Parameters:
v - Value to assign to text.

readIt

public void readIt()

main

public static void main(java.lang.String[] args)