org.eclipse.emf.emfstore.internal.client.configuration
Class FileInfo

java.lang.Object
  extended by org.eclipse.emf.emfstore.internal.client.configuration.FileInfo

public class FileInfo
extends Object

Contains configuration options and information about the workspace related files used by the client.

Author:
emueller, ovonwesen, mkoegel, jfaltermeier

Constructor Summary
FileInfo()
           
 
Method Summary
 String getErrorLogDirectory()
          Returns the directory that is used for error logging.
If the directory does not exist it will be created.
 ESLocationProvider getLocationProvider()
          Returns the registered ESLocationProvider or if not existent, the DefaultWorkspaceLocationProvider.
 String getPluginDataBaseDirectory()
          Return the path of the plugin data directory inside the EMFStore workspace (trailing file separator included).
 String getWorkspaceDirectory()
          Gets the Workspace directory with an pending File.separatorChar at the end.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileInfo

public FileInfo()
Method Detail

getLocationProvider

public ESLocationProvider getLocationProvider()
Returns the registered ESLocationProvider or if not existent, the DefaultWorkspaceLocationProvider.

Returns:
workspace location provider

getWorkspaceDirectory

public String getWorkspaceDirectory()
Gets the Workspace directory with an pending File.separatorChar at the end.

Returns:
the workspace directory path string

getPluginDataBaseDirectory

public String getPluginDataBaseDirectory()
Return the path of the plugin data directory inside the EMFStore workspace (trailing file separator included).

Returns:
the plugin data directory absolute path as string

getErrorLogDirectory

public String getErrorLogDirectory()
Returns the directory that is used for error logging.
If the directory does not exist it will be created. Upon exit of the JVM it will be deleted.

Returns:
the path to the error log directory


Copyright © 2015. All Rights Reserved.