public class LastDirectoryManager
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static LastDirectoryManager |
INSTANCE
The instance.
|
static java.lang.String |
INSTANCE_DOCUMENT_STORE_DIRECTORY
This is the directory used on the open and save actions of XBRL reports.
|
static java.lang.String |
USER_MODEL_JAR_FILES
This is the directory used on to search for jar files.
|
Constructor and Description |
---|
LastDirectoryManager(java.lang.String propertiesFileName)
Instantiates a new last directory manager.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getDefaultPropertiesFileName()
Gets the default properties file name.
|
java.lang.String |
getLastDirectory(java.lang.String key)
Gets the last directory.
|
java.lang.String |
getLastDirectory(java.lang.String key,
java.lang.String value)
Gets the last directory.
|
void |
setLastDirectory(java.lang.String key,
java.lang.String pathName)
Sets the last directory.
|
public static final java.lang.String INSTANCE_DOCUMENT_STORE_DIRECTORY
public static final java.lang.String USER_MODEL_JAR_FILES
public static LastDirectoryManager INSTANCE
public LastDirectoryManager(java.lang.String propertiesFileName)
propertiesFileName
- the properties file namepublic static java.lang.String getDefaultPropertiesFileName()
public void setLastDirectory(java.lang.String key, java.lang.String pathName)
key
- the keypathName
- the path namepublic java.lang.String getLastDirectory(java.lang.String key)
key
- the keypublic java.lang.String getLastDirectory(java.lang.String key, java.lang.String value)
value
is returned and
stored for future referencekey
- the keyvalue
- the valueCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, EspaƱa