org.pentaho.di.trans.steps.yamlinput
Class YamlReader
java.lang.Object
org.pentaho.di.trans.steps.yamlinput.YamlReader
public class YamlReader
- extends Object
Read YAML files, parse them and convert them to rows and writes these to one or more output
streams.
- Since:
- 20-06-2010
- Author:
- Samatar
YamlReader
public YamlReader()
loadFile
public void loadFile(org.apache.commons.vfs.FileObject file)
throws Exception
- Throws:
Exception
loadFile
public void loadFile(String filename)
throws Exception
- Throws:
Exception
loadString
public void loadString(String string)
throws Exception
- Throws:
Exception
isMapUsed
public boolean isMapUsed()
getRow
public Object[] getRow(RowMetaInterface rowMeta)
throws KettleException
- Throws:
KettleException
getFields
public RowMeta getFields()
close
public void close()
throws Exception
- Throws:
Exception
getFile
public org.apache.commons.vfs.FileObject getFile()
getStringValue
public String getStringValue()