Package org.pentaho.di.ui.spoon
Interface SpoonPerspectiveOpenSaveInterface
-
public interface SpoonPerspectiveOpenSaveInterface
The spoon perspective implementing this interface implements its own open/save dialogs and logic.- Author:
- matt
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
exportFile(org.pentaho.di.core.EngineMetaInterface meta, String filename)
Export to a filevoid
importFile(String filename)
Import from a file (extension driven by the perspective)void
open()
Open a file/objectboolean
save(org.pentaho.di.core.EngineMetaInterface meta)
Save the specified file/object
-
-
-
Method Detail
-
open
void open()
Open a file/object
-
importFile
void importFile(String filename)
Import from a file (extension driven by the perspective)- Parameters:
filename
- the file to read from
-
save
boolean save(org.pentaho.di.core.EngineMetaInterface meta)
Save the specified file/object- Parameters:
meta
- The object to be saved.- Returns:
- true if the object was saved
-
exportFile
boolean exportFile(org.pentaho.di.core.EngineMetaInterface meta, String filename)
Export to a file- Parameters:
meta
- the object to exportfilename
- the file to write to
-
-