org.pentaho.platform.api.engine
Class SolutionFileMetaAdapter

java.lang.Object
  extended by org.pentaho.platform.api.engine.SolutionFileMetaAdapter
All Implemented Interfaces:
IFileInfoGenerator, ISolutionFileMetaProvider
Direct Known Subclasses:
ActionSequenceFileInfo, EchoContentTypeMetaProvider, GEchoContentTypeMetaProvider

public abstract class SolutionFileMetaAdapter
extends Object
implements ISolutionFileMetaProvider

This class only exists for backwards compatibility with IFileInfoGenerator. Once IFileInfoGenerator is removed, this class will follow it. It is also possible for this class to live on, by simply changing the ISolutionFileMetaProvider interface.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.pentaho.platform.api.engine.IFileInfoGenerator
IFileInfoGenerator.ContentType
 
Constructor Summary
SolutionFileMetaAdapter()
           
 
Method Summary
 IFileInfoGenerator.ContentType getContentType()
           
 IFileInfo getFileInfo(String solution, String path, String filename, byte[] bytes)
           
 IFileInfo getFileInfo(String solution, String path, String filename, org.dom4j.Document in)
           
 IFileInfo getFileInfo(String solution, String path, String filename, InputStream in)
           
 IFileInfo getFileInfo(String solution, String path, String filename, String str)
           
 void setLogger(ILogger logger)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.pentaho.platform.api.engine.ISolutionFileMetaProvider
getFileInfo
 

Constructor Detail

SolutionFileMetaAdapter

public SolutionFileMetaAdapter()
Method Detail

setLogger

public void setLogger(ILogger logger)
Specified by:
setLogger in interface IFileInfoGenerator

getContentType

public IFileInfoGenerator.ContentType getContentType()
Specified by:
getContentType in interface IFileInfoGenerator

getFileInfo

public IFileInfo getFileInfo(String solution,
                             String path,
                             String filename,
                             InputStream in)
Specified by:
getFileInfo in interface IFileInfoGenerator

getFileInfo

public IFileInfo getFileInfo(String solution,
                             String path,
                             String filename,
                             org.dom4j.Document in)
Specified by:
getFileInfo in interface IFileInfoGenerator

getFileInfo

public IFileInfo getFileInfo(String solution,
                             String path,
                             String filename,
                             byte[] bytes)
Specified by:
getFileInfo in interface IFileInfoGenerator

getFileInfo

public IFileInfo getFileInfo(String solution,
                             String path,
                             String filename,
                             String str)
Specified by:
getFileInfo in interface IFileInfoGenerator