public class LastSelectedFolder extends Object implements Serializable
Constructor and Description |
---|
LastSelectedFolder()
Constructs a new last selected folder class.
|
LastSelectedFolder(String defaultFolder)
Constructs a new last selected folder class.
|
Modifier and Type | Method and Description |
---|---|
String |
getLastSelectedFolder()
Returns the last selected folder according to the given use case.
|
String |
getLastSelectedFolder(String useCase)
Returns the last selected folder according to the given use case.
|
void |
setLastSelectedFolder(String folderPath)
Sets the last selected folder.
|
void |
setLastSelectedFolder(String useCase,
String folderPath)
Sets the last selected folder of the given use case.
|
public LastSelectedFolder(String defaultFolder)
defaultFolder
- the default folderpublic LastSelectedFolder()
public void setLastSelectedFolder(String useCase, String folderPath)
useCase
- the use case, can be nullfolderPath
- the path to the last selected folderpublic void setLastSelectedFolder(String folderPath)
folderPath
- the path to the last selected folderpublic String getLastSelectedFolder(String useCase)
useCase
- the use casepublic String getLastSelectedFolder()
Copyright © 2016. All rights reserved.