Code example for Preferences

Methods: put

0
	public void storePath(String path_vlc_in) {
		if (token == null) {
			this.token = path_vlc_in;
		} 
 
		this.preferences.put(TOKEN, this.token);
 
	} 
 
	@Override 
	public String getPath() {
		String value = "default";
		String temp_path = this.preferences.get(TOKEN, value);
		if (temp_path.equals("default")) {
			return null; 
		} 
		return temp_path;
	} 
 
	@Override 
	public void deletePath() {