public class

MWSProjectSources

extends Object
java.lang.Object
   ↳ com.microstrategy.webservices.MWSProjectSources

Summary

Fields
public static final MWSProjectSources INSTANCE
Public Methods
synchronized static void Initialize(String filePathRoot)
Reads the projectsource.xml file and intializes two maps.
static MWSProjectSourceInfo getProjectSourceEntry(String sourceName)
static MWSProjectSourceInfo[] getProjectSources()
static MWSProjectSourceInfo getServerEntry(String serverName)
static MWSProjectSourceInfo[] getUniqueProjectSources()
static MWSProjectSourceInfo[] parseProjectSources(String filePathRoot, Locale displayLocale)
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public static final MWSProjectSources INSTANCE

Public Methods

public static synchronized void Initialize (String filePathRoot)

Reads the projectsource.xml file and intializes two maps. Project source information is mapped via project source name, and by server name. It is assumed that this initialization is complete before client can access either of these maps, since they must be both fully created. The method is synchronized in order to ensure that the InitComplete boolean is tested/set correctly.

Throws
MWSException

public static MWSProjectSourceInfo getProjectSourceEntry (String sourceName)

public static MWSProjectSourceInfo[] getProjectSources ()

Throws
MWSException

public static MWSProjectSourceInfo getServerEntry (String serverName)

public static MWSProjectSourceInfo[] getUniqueProjectSources ()

Throws
MWSException

public static MWSProjectSourceInfo[] parseProjectSources (String filePathRoot, Locale displayLocale)

Throws
MWSException