@Test public void testGetHeaderWithoutProcessing() throws Exception { CSVToARFFHeaderMapTask task = new CSVToARFFHeaderMapTask(); Instances i = task.getHeader(10, null); for (int j = 0; j < i.numAttributes(); j++) { assertTrue(i.attribute(j).isNumeric()); } }
public Instances getHeader() { return makeStructure(); }
CSVToARFFHeaderMapTask implements OptionHandler, Serializable { public Instances getHeader() { return makeStructure(); } }
CSVToARFFHeaderMapTask implements OptionHandler, Serializable { public Instances getHeader() { return makeStructure(); }  }
CSVToARFFHeaderMapTask implements OptionHandler, Serializable { public Instances getHeader() { return makeStructure(); }  @Override Enumeration<Option> listOptions(); @Override void setOptions(String[] options); @Override String[] getOptions(); void setTreatZerosAsMissing(boolean t); boolean getTreatZerosAsMissing(); void setCompressionLevelForQuartileEstimation(double compression); double getCompressionLevelForQuartileEstimation(); String compressionLevelForQuartileEstimationTipText(); void setComputeQuartilesAsPartOfSummaryStats(boolean c); boolean getComputeQuartilesAsPartOfSummaryStats(); String computeQuartilesAsPartOfSummaryStatsTipText(); void setMissingValue(String value); String getMissingValue(); String missingValueTipText(); void setStringAttributes(String value); String getStringAttributes(); String stringAttributesTipText(); void setNominalAttributes(String value); String getNominalAttributes(); String nominalAttributesTipText(); void setDateFormat(String value); String getDateFormat(); String dateFormatTipText(); void setDateAttributes(String value); String getDateAttributes(); String dateAttributesTipText(); String enclosureCharactersTipText(); void setEnclosureCharacters(String enclosure); String getEnclosureCharacters(); void setFieldSeparator(String value); String getFieldSeparator(); String fieldSeparatorTipText(); String nominalDefaultLabelSpecsTipText(); void setNominalDefaultLabelSpecs(Object[] specs); Object[] getNominalDefaultLabelSpecs(); String nominalLabelSpecsTipText(); void setNominalLabelSpecs(Object[] specs); Object[] getNominalLabelSpecs(); void generateNames(int initial, int numAtts); void generateNames(int numAtts); void initParserOnly(List<String> attNames); String[] parseRowOnly(String row); void processRow(String row, List<String> attNames); static void updateSummaryStats(Map<String, Stats> summaryStats,
    String attName, double value, String nominalLabel, boolean isNominal,
    boolean isString,
    boolean treatZeroAsMissing, boolean estimateQuantiles,
    double quantileCompression); Instances getHeader(); HeaderAndQuantileDataHolder getHeaderAndQuantileEstimators(); boolean headerAvailableImmediately(int numFields,
    List<String> attNames, StringBuffer problems); Instances getHeader(int numFields, List<String> attNames); Instance makeInstance(Instances trainingHeader,
    boolean setStringValues, String[] parsed); Instance makeInstance(Instances trainingHeader,
    boolean setStringValues, String[] parsed, boolean sparse); String getDefaultValue(int attIndex); static List<String> instanceHeaderToAttributeNameList(Instances header); static void main(String[] args); }
CSVToARFFHeaderMapTask implements OptionHandler, Serializable { public Instances getHeader() { return makeStructure(); }  @Override Enumeration<Option> listOptions(); @Override void setOptions(String[] options); @Override String[] getOptions(); void setTreatZerosAsMissing(boolean t); boolean getTreatZerosAsMissing(); void setCompressionLevelForQuartileEstimation(double compression); double getCompressionLevelForQuartileEstimation(); String compressionLevelForQuartileEstimationTipText(); void setComputeQuartilesAsPartOfSummaryStats(boolean c); boolean getComputeQuartilesAsPartOfSummaryStats(); String computeQuartilesAsPartOfSummaryStatsTipText(); void setMissingValue(String value); String getMissingValue(); String missingValueTipText(); void setStringAttributes(String value); String getStringAttributes(); String stringAttributesTipText(); void setNominalAttributes(String value); String getNominalAttributes(); String nominalAttributesTipText(); void setDateFormat(String value); String getDateFormat(); String dateFormatTipText(); void setDateAttributes(String value); String getDateAttributes(); String dateAttributesTipText(); String enclosureCharactersTipText(); void setEnclosureCharacters(String enclosure); String getEnclosureCharacters(); void setFieldSeparator(String value); String getFieldSeparator(); String fieldSeparatorTipText(); String nominalDefaultLabelSpecsTipText(); void setNominalDefaultLabelSpecs(Object[] specs); Object[] getNominalDefaultLabelSpecs(); String nominalLabelSpecsTipText(); void setNominalLabelSpecs(Object[] specs); Object[] getNominalLabelSpecs(); void generateNames(int initial, int numAtts); void generateNames(int numAtts); void initParserOnly(List<String> attNames); String[] parseRowOnly(String row); void processRow(String row, List<String> attNames); static void updateSummaryStats(Map<String, Stats> summaryStats,
    String attName, double value, String nominalLabel, boolean isNominal,
    boolean isString,
    boolean treatZeroAsMissing, boolean estimateQuantiles,
    double quantileCompression); Instances getHeader(); HeaderAndQuantileDataHolder getHeaderAndQuantileEstimators(); boolean headerAvailableImmediately(int numFields,
    List<String> attNames, StringBuffer problems); Instances getHeader(int numFields, List<String> attNames); Instance makeInstance(Instances trainingHeader,
    boolean setStringValues, String[] parsed); Instance makeInstance(Instances trainingHeader,
    boolean setStringValues, String[] parsed, boolean sparse); String getDefaultValue(int attIndex); static List<String> instanceHeaderToAttributeNameList(Instances header); static void main(String[] args); static final String ARFF_SUMMARY_ATTRIBUTE_PREFIX; static final int MAX_PARSING_ERRORS; }