public interface PlatformLocator
Modifier and Type | Method and Description |
---|---|
File |
getStateLocation(org.osgi.framework.Bundle bundle)
Returns the directory in the server file system where data related to the specified plug-in shall be stored.
|
File |
getWorkspaceLocation()
Returns the directory in the server file system where data shall be stored.
|
File getWorkspaceLocation()
Note that plug-in developers are recommended to store their data in the directory returned by getStateLocation(Bundle)
.
Options.OPTION_WORKSPACE_LOCATION
,
getStateLocation(Bundle)
File getStateLocation(org.osgi.framework.Bundle bundle)
bundle
- the plug-in for which data is to be stored.