org.pentaho.di.trans.steps.yamlinput
Class YamlReader

java.lang.Object
  extended by 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
YamlReader()
           
 
Method Summary
 void close()
           
 RowMeta getFields()
           
 org.apache.commons.vfs.FileObject getFile()
           
 Object[] getRow(RowMetaInterface rowMeta)
           
 String getStringValue()
           
 boolean isMapUsed()
           
 void loadFile(org.apache.commons.vfs.FileObject file)
           
 void loadFile(String filename)
           
 void loadString(String string)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

YamlReader

public YamlReader()
Method Detail

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()