com.mytrendtimer.trendtimer
Class QuoteSourceFile

java.lang.Object
  extended by java.io.File
      extended by com.mytrendtimer.trendtimer.QuoteSourceFile
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<java.io.File>

public class QuoteSourceFile
extends java.io.File

The quote file used as arg0. Output files name are based on this "input" file name. We extends the file class in order to use the File class default methods.

Version:
v0.98.1
Author:
FRM
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.io.File
pathSeparator, pathSeparatorChar, separator, separatorChar
 
Constructor Summary
QuoteSourceFile(java.lang.String fileArg)
          Main constructor used to create an output file object
 
Method Summary
static java.lang.String[] getAllQuoteFileNameTillDate()
          Return all the possible quote file name (till the date) based on .xml config file content.
 java.lang.String getChartImageFileName()
          Return the name of the output csv file ("Chart_xxxx.png")
 java.lang.String getCsvOutputFileName()
          Return the name of the csv output file ("Result_xxxx.csv")
 java.lang.String getDateInQuoteFileName()
          Getter dateInQuoteFileName
static java.lang.String getDefaultSingleFileName()
           
static java.lang.String getDefaultValueFileDate()
          Return the default date to be found in filenames (default value used fi for the GUI textField)
 java.lang.String getIDInQuoteFileName()
          Getter iDInQuoteFileName
 java.lang.String getOutHtmlFileName()
          Return the name of the html output file ("xxxx.inc")
 java.lang.String getOutXmlFileName()
          Return the name of the xml file ("xxxx.xml")
 
Methods inherited from class java.io.File
canExecute, canRead, canWrite, compareTo, createNewFile, createTempFile, createTempFile, delete, deleteOnExit, equals, exists, getAbsoluteFile, getAbsolutePath, getCanonicalFile, getCanonicalPath, getFreeSpace, getName, getParent, getParentFile, getPath, getTotalSpace, getUsableSpace, hashCode, isAbsolute, isDirectory, isFile, isHidden, lastModified, length, list, list, listFiles, listFiles, listFiles, listRoots, mkdir, mkdirs, renameTo, setExecutable, setExecutable, setLastModified, setReadable, setReadable, setReadOnly, setWritable, setWritable, toString, toURI, toURL
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QuoteSourceFile

public QuoteSourceFile(java.lang.String fileArg)
                throws java.io.FileNotFoundException
Main constructor used to create an output file object

Throws:
java.io.FileNotFoundException
Method Detail

getAllQuoteFileNameTillDate

public static java.lang.String[] getAllQuoteFileNameTillDate()
Return all the possible quote file name (till the date) based on .xml config file content. Example output : "C:\local\java\TrendTimer\data\SMI_"

Returns:
argsToPass

getChartImageFileName

public java.lang.String getChartImageFileName()
Return the name of the output csv file ("Chart_xxxx.png")

Returns:
chartImageFileName

getCsvOutputFileName

public java.lang.String getCsvOutputFileName()
Return the name of the csv output file ("Result_xxxx.csv")

Returns:
csvOutputFileName

getDateInQuoteFileName

public java.lang.String getDateInQuoteFileName()
Getter dateInQuoteFileName

Returns:
the dateInQuoteFileName

getDefaultSingleFileName

public static java.lang.String getDefaultSingleFileName()

getDefaultValueFileDate

public static java.lang.String getDefaultValueFileDate()
Return the default date to be found in filenames (default value used fi for the GUI textField)

Returns:
defaultValueFileDate

getIDInQuoteFileName

public java.lang.String getIDInQuoteFileName()
Getter iDInQuoteFileName

Returns:
the iDInQuoteFileName

getOutHtmlFileName

public java.lang.String getOutHtmlFileName()
Return the name of the html output file ("xxxx.inc")

Returns:
outHtmlFileName

getOutXmlFileName

public java.lang.String getOutXmlFileName()
Return the name of the xml file ("xxxx.xml")

Returns:
outXmlFileName