ar.edu.unr.fceia.bottallo
Class Utils

java.lang.Object
  extended by ar.edu.unr.fceia.bottallo.Utils

public class Utils
extends java.lang.Object

Global functions and variables, generation of log files


Field Summary
static java.lang.String _NIX_TEMP_DIR
           
static java.lang.String ACTIVE_STYLE
           
static java.lang.String DRAW
           
static java.lang.String UC
           
static java.lang.String WIN_TEMP_DIR
           
 
Constructor Summary
Utils()
           
 
Method Summary
static void pantalla(java.lang.String texto)
          Silly replace of System.out.println() and output to file
static java.lang.String removeSpaces(java.lang.String str)
          Remove spaces in strings
protected static void setOutputFile(java.lang.String f)
          Set the name of the output log file
protected static float string2float(java.lang.String s)
          Convert a String to float
protected static int string2int(java.lang.String s)
          Convert a String to int
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UC

public static final java.lang.String UC
See Also:
Constant Field Values

DRAW

public static final java.lang.String DRAW
See Also:
Constant Field Values

ACTIVE_STYLE

public static final java.lang.String ACTIVE_STYLE
See Also:
Constant Field Values

_NIX_TEMP_DIR

public static final java.lang.String _NIX_TEMP_DIR
See Also:
Constant Field Values

WIN_TEMP_DIR

public static final java.lang.String WIN_TEMP_DIR
See Also:
Constant Field Values
Constructor Detail

Utils

public Utils()
Method Detail

setOutputFile

protected static void setOutputFile(java.lang.String f)
Set the name of the output log file


string2int

protected static int string2int(java.lang.String s)
Convert a String to int


string2float

protected static float string2float(java.lang.String s)
Convert a String to float


removeSpaces

public static java.lang.String removeSpaces(java.lang.String str)
Remove spaces in strings


pantalla

public static void pantalla(java.lang.String texto)
Silly replace of System.out.println() and output to file