edu.rice.cs.hpc.common.util.UserInputHistory Class Reference

Collaboration diagram for edu.rice.cs.hpc.common.util.UserInputHistory:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 UserInputHistory (String name)
 UserInputHistory (String name, int depth)
String getName ()
int getDepth ()
String[] getHistory ()
void addLine (String line)
void clear ()

Static Public Member Functions

static Preferences getPreference (String node)
static void setPreference (Preferences pref)

Protected Member Functions

void loadHistoryLines ()
void saveHistoryLines ()

Static Package Attributes

static final String NODE_HPC = "edu.rice.cs.hpc"

Private Attributes

String name
int depth
List< String > history

Static Private Attributes

static final String HISTORY_NAME_BASE = "history."
static final String ENCODING = "UTF-8"
static final Preferences CONFIGURATION = ConfigurationScope.INSTANCE.getNode(NODE_HPC)

Detailed Description

Definition at line 21 of file UserInputHistory.java.


Constructor & Destructor Documentation

edu.rice.cs.hpc.common.util.UserInputHistory.UserInputHistory ( String  name  ) 

Definition at line 38 of file UserInputHistory.java.

edu.rice.cs.hpc.common.util.UserInputHistory.UserInputHistory ( String  name,
int  depth 
)

Member Function Documentation

void edu.rice.cs.hpc.common.util.UserInputHistory.addLine ( String  line  ) 
void edu.rice.cs.hpc.common.util.UserInputHistory.clear (  ) 
int edu.rice.cs.hpc.common.util.UserInputHistory.getDepth (  ) 
String [] edu.rice.cs.hpc.common.util.UserInputHistory.getHistory (  ) 
String edu.rice.cs.hpc.common.util.UserInputHistory.getName (  ) 
static Preferences edu.rice.cs.hpc.common.util.UserInputHistory.getPreference ( String  node  )  [static]
void edu.rice.cs.hpc.common.util.UserInputHistory.loadHistoryLines (  )  [protected]
void edu.rice.cs.hpc.common.util.UserInputHistory.saveHistoryLines (  )  [protected]
static void edu.rice.cs.hpc.common.util.UserInputHistory.setPreference ( Preferences  pref  )  [static]

Member Data Documentation

final Preferences edu.rice.cs.hpc.common.util.UserInputHistory.CONFIGURATION = ConfigurationScope.INSTANCE.getNode(NODE_HPC) [static, private]
final String edu.rice.cs.hpc.common.util.UserInputHistory.ENCODING = "UTF-8" [static, private]

Definition at line 23 of file UserInputHistory.java.

final String edu.rice.cs.hpc.common.util.UserInputHistory.HISTORY_NAME_BASE = "history." [static, private]
final String edu.rice.cs.hpc.common.util.UserInputHistory.NODE_HPC = "edu.rice.cs.hpc" [static, package]

Definition at line 29 of file UserInputHistory.java.


The documentation for this class was generated from the following file:

Generated on 5 May 2015 for HPCVIEWER by  doxygen 1.6.1