MOA 12.03
Real Time Analytics for Data Streams
moa.core.StringUtils Class Reference

Class implementing some string utility methods. More...

List of all members.

Static Public Member Functions

static String doubleToString (double value, int fractionDigits)
static String doubleToString (double value, int minFractionDigits, int maxFractionDigits)
static void appendNewline (StringBuilder out)
static void appendIndent (StringBuilder out, int indent)
static void appendIndented (StringBuilder out, int indent, String s)
static void appendNewlineIndented (StringBuilder out, int indent, String s)
static String secondsToDHMSString (double seconds)

Static Public Attributes

static final String newline = System.getProperty("line.separator")

Detailed Description

Class implementing some string utility methods.

Author:
Richard Kirkby (rkirkby@cs.waikato.ac.nz)
Version:
Revision:
7

Definition at line 30 of file StringUtils.java.


Member Function Documentation

static void moa.core.StringUtils.appendIndent ( StringBuilder  out,
int  indent 
) [static]

Definition at line 50 of file StringUtils.java.

Referenced by moa.core.StringUtils.appendIndented(), and moa.options.Options.getHelp().

Here is the caller graph for this function:

static void moa.core.StringUtils.appendNewlineIndented ( StringBuilder  out,
int  indent,
String  s 
) [static]
static String moa.core.StringUtils.doubleToString ( double  value,
int  minFractionDigits,
int  maxFractionDigits 
) [static]

Definition at line 38 of file StringUtils.java.

static String moa.core.StringUtils.doubleToString ( double  value,
int  fractionDigits 
) [static]
static String moa.core.StringUtils.secondsToDHMSString ( double  seconds) [static]

Definition at line 67 of file StringUtils.java.

Referenced by moa.gui.TaskManagerPanel.TaskTableModel.getValueAt(), moa.DoTask.main(), and moa.gui.PreviewPanel.setLatestPreview().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

final String moa.core.StringUtils.newline = System.getProperty("line.separator") [static]

Definition at line 32 of file StringUtils.java.

Referenced by moa.core.StringUtils.appendNewline().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations