org.encog.app.analyst.util
Class ConvertStringConst

java.lang.Object
  extended by org.encog.app.analyst.util.ConvertStringConst

public final class ConvertStringConst
extends Object

Convert several Analyst String to the correct object.


Method Summary
static String analystFileFormat2String(AnalystFileFormat af)
          Convert a file format to a string.
static CSVFormat convertToCSVFormat(AnalystFileFormat af)
          Convert an analyst format to a csv format.
static AnalystFileFormat string2AnalystFileFormat(String str)
          Convert a string to an analyst file format.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

analystFileFormat2String

public static String analystFileFormat2String(AnalystFileFormat af)
Convert a file format to a string.

Parameters:
af - The file format.
Returns:
A string.

convertToCSVFormat

public static CSVFormat convertToCSVFormat(AnalystFileFormat af)
Convert an analyst format to a csv format.

Parameters:
af - The analyst format.
Returns:
The CSV format.

string2AnalystFileFormat

public static AnalystFileFormat string2AnalystFileFormat(String str)
Convert a string to an analyst file format.

Parameters:
str - The string.
Returns:
The analyst file format.


Copyright © 2011. All Rights Reserved.