control
Class Control_GetPath

java.lang.Object
  extended by control.Control_GetPath

public class Control_GetPath
extends java.lang.Object

a collection of methods to find out the correct paths on the systems


Constructor Summary
Control_GetPath()
          empty constructor
 
Method Summary
 void askWhereToSave()
          shows a Popup witch ask the user where to save the config file of StreamRipStar
 java.lang.String getStreamRipStarPath()
          looks for the home path and return the path as a string.
 void setPath(java.lang.String newPath)
          set the savePath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Control_GetPath

public Control_GetPath()
empty constructor

Method Detail

getStreamRipStarPath

public java.lang.String getStreamRipStarPath()
looks for the home path and return the path as a string. e.g: "/home/test/.StreamRipStar/"

Returns:
The home path as a String

setPath

public void setPath(java.lang.String newPath)
set the savePath

Parameters:
newPath -

askWhereToSave

public void askWhereToSave()
shows a Popup witch ask the user where to save the config file of StreamRipStar