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 void
close()
org.pentaho.di.core.row.RowMeta
getFields()
org.apache.commons.vfs2.FileObject
getFile()
Object[]
getRow(org.pentaho.di.core.row.RowMetaInterface rowMeta)
String
getStringValue()
boolean
isMapUsed()
void
loadFile(String filename)
void
loadFile(org.apache.commons.vfs2.FileObject file)
void
loadString(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()
-
-