org.pentaho.platform.util
Class FileTypePlugin

java.lang.Object
  extended by org.pentaho.platform.util.FileTypePlugin
All Implemented Interfaces:
IFileTypePlugin

public class FileTypePlugin
extends Object
implements IFileTypePlugin

implementation of IFileTypePlugin

Author:
Will Gorman (wgorman@pentaho.com)

Constructor Summary
FileTypePlugin(String fileExtension, String enabledOptions, String openUrlPattern, String editUrlPattern)
           
 
Method Summary
 String getEditUrlPattern()
          return the edit url pattern.
 String getEnabledOptions()
          return a comma separated list of commands supported by this plugin
 String getFileExtension()
          return the file extension this plugin supports
 String getOpenUrlPattern()
          return the open url pattern.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileTypePlugin

public FileTypePlugin(String fileExtension,
                      String enabledOptions,
                      String openUrlPattern,
                      String editUrlPattern)
Method Detail

getFileExtension

public String getFileExtension()
Description copied from interface: IFileTypePlugin
return the file extension this plugin supports

Specified by:
getFileExtension in interface IFileTypePlugin
Returns:
file extension

getEnabledOptions

public String getEnabledOptions()
Description copied from interface: IFileTypePlugin
return a comma separated list of commands supported by this plugin

Specified by:
getEnabledOptions in interface IFileTypePlugin
Returns:
enabled options

getOpenUrlPattern

public String getOpenUrlPattern()
Description copied from interface: IFileTypePlugin
return the open url pattern. parameterized values include: {solution} {path} {name}

Specified by:
getOpenUrlPattern in interface IFileTypePlugin
Returns:
open url pattern.

getEditUrlPattern

public String getEditUrlPattern()
Description copied from interface: IFileTypePlugin
return the edit url pattern. parameterized values include: {solution} {path} {name}

Specified by:
getEditUrlPattern in interface IFileTypePlugin
Returns:
edit url pattern.