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
-
-
Constructor Summary
Constructors Constructor Description YamlReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()org.pentaho.di.core.row.RowMetagetFields()org.apache.commons.vfs2.FileObjectgetFile()Object[]getRow(org.pentaho.di.core.row.RowMetaInterface rowMeta)StringgetStringValue()booleanisMapUsed()voidloadFile(String filename)voidloadFile(org.apache.commons.vfs2.FileObject file)voidloadString(String string)
-
-
-
Method Detail
-
loadFile
public void loadFile(org.apache.commons.vfs2.FileObject file) throws Exception- Throws:
Exception
-
isMapUsed
public boolean isMapUsed()
-
getRow
public Object[] getRow(org.pentaho.di.core.row.RowMetaInterface rowMeta) throws org.pentaho.di.core.exception.KettleException
- Throws:
org.pentaho.di.core.exception.KettleException
-
getFields
public org.pentaho.di.core.row.RowMeta getFields()
-
getFile
public org.apache.commons.vfs2.FileObject getFile()
-
getStringValue
public String getStringValue()
-
-