Package org.eclipse.birt.core.framework
Class PlatformFileContext
- java.lang.Object
-
- org.eclipse.birt.core.framework.PlatformFileContext
-
- All Implemented Interfaces:
IPlatformContext
public class PlatformFileContext extends java.lang.Object implements IPlatformContext
An platform context that is based on file operations. Since in web environment WAR deployment, absolute file path is not available. In this case, user should NOT use this class. In this case, user should use PlatformServletContext or develop his own PlatformContext to make sure reousce operation are used.
-
-
Constructor Summary
Constructors Constructor Description PlatformFileContext()
PlatformFileContext ConstructorPlatformFileContext(PlatformConfig config)
PlatformFileContext Constructor( String , IPlatformConfig )
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String[]
getLaunchArguments()
java.lang.String
getPlatform()
return the folder of the platform.
-
-
-
Constructor Detail
-
PlatformFileContext
public PlatformFileContext()
PlatformFileContext Constructor
-
PlatformFileContext
public PlatformFileContext(PlatformConfig config)
PlatformFileContext Constructor( String , IPlatformConfig )- Parameters:
root
-platformConfig
-
-
-
Method Detail
-
getPlatform
public java.lang.String getPlatform()
Description copied from interface:IPlatformContext
return the folder of the platform.- Specified by:
getPlatform
in interfaceIPlatformContext
- Returns:
- the folder represent the root of the platform.
-
getLaunchArguments
public java.lang.String[] getLaunchArguments()
-
-