org.pentaho.di.ui.spoon
Class JobFileListener

java.lang.Object
  extended by org.pentaho.di.ui.spoon.JobFileListener
All Implemented Interfaces:
FileListener

public class JobFileListener
extends Object
implements FileListener


Constructor Summary
JobFileListener()
           
 
Method Summary
 boolean accepts(String fileName)
           
 boolean acceptsXml(String nodeName)
           
 String[] getFileTypeDisplayNames(Locale locale)
           
 String getRootNodeName()
           
 String[] getSupportedExtensions()
           
 boolean open(Node jobNode, String fname, boolean importfile)
           
 boolean save(EngineMetaInterface meta, String fname, boolean export)
           
 void syncMetaName(EngineMetaInterface meta, String name)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JobFileListener

public JobFileListener()
Method Detail

open

public boolean open(Node jobNode,
                    String fname,
                    boolean importfile)
Specified by:
open in interface FileListener

save

public boolean save(EngineMetaInterface meta,
                    String fname,
                    boolean export)
Specified by:
save in interface FileListener

syncMetaName

public void syncMetaName(EngineMetaInterface meta,
                         String name)
Specified by:
syncMetaName in interface FileListener

accepts

public boolean accepts(String fileName)
Specified by:
accepts in interface FileListener

acceptsXml

public boolean acceptsXml(String nodeName)
Specified by:
acceptsXml in interface FileListener

getFileTypeDisplayNames

public String[] getFileTypeDisplayNames(Locale locale)
Specified by:
getFileTypeDisplayNames in interface FileListener

getSupportedExtensions

public String[] getSupportedExtensions()
Specified by:
getSupportedExtensions in interface FileListener

getRootNodeName

public String getRootNodeName()
Specified by:
getRootNodeName in interface FileListener