com.amazonaws.mturk.addon
Class HITDataWriter

java.lang.Object
  extended by com.amazonaws.mturk.addon.AbstractHITDataOutput
      extended by com.amazonaws.mturk.addon.HITDataWriter
All Implemented Interfaces:
HITDataOutput

Deprecated.

@Deprecated
public class HITDataWriter
extends AbstractHITDataOutput

The HITDataWriter class provides a structured way to write HIT data to a file. Each row consists of values separated by a delimeter.


Field Summary
static java.lang.String DEFAULT_DELIM
          Deprecated.  
 
Constructor Summary
HITDataWriter(java.lang.String fileName)
          Deprecated.  
HITDataWriter(java.lang.String fileName, java.lang.String delim)
          Deprecated.  
 
Method Summary
 void setFieldNames(java.lang.String[] newFieldNames)
          Deprecated.  
 void writeLine(java.lang.String[] fieldValues)
          Deprecated.  
protected  void writeLinePrivate(java.lang.String[] fieldValues)
          Deprecated.  
 void writeValues(java.util.Map<java.lang.String,java.lang.String> values)
          Deprecated.  
 
Methods inherited from class com.amazonaws.mturk.addon.AbstractHITDataOutput
addFieldName, close, getFieldNames, getFieldNamesSize, getValuesByFieldName, getValuesByFieldName, setFieldNames
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_DELIM

public static final java.lang.String DEFAULT_DELIM
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

HITDataWriter

public HITDataWriter(java.lang.String fileName)
              throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

HITDataWriter

public HITDataWriter(java.lang.String fileName,
                     java.lang.String delim)
              throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException
Method Detail

writeLine

public void writeLine(java.lang.String[] fieldValues)
               throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

writeLinePrivate

protected void writeLinePrivate(java.lang.String[] fieldValues)
                         throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

setFieldNames

public void setFieldNames(java.lang.String[] newFieldNames)
Deprecated. 
Specified by:
setFieldNames in interface HITDataOutput
Overrides:
setFieldNames in class AbstractHITDataOutput

writeValues

public void writeValues(java.util.Map<java.lang.String,java.lang.String> values)
                 throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException