|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectadams.data.weka.ArffUtils
public class ArffUtils
A helper class for ARFF related stuff.
| Field Summary | |
|---|---|
static String |
PREFIX_ADDITIONALFIELDS
the prefix for additional fields. |
static String |
PREFIX_NOTE
the prefix for notes. |
| Constructor Summary | |
|---|---|
ArffUtils()
|
|
| Method Summary | |
|---|---|
static String |
getAdditionalFieldName(AbstractField field)
Returns the name of an attribute for an additional field. |
static String |
getDBIDName()
Returns the name of the attribute containing the database ID. |
static String |
getFieldName(AbstractField field)
Returns the name of an attribute for a field. |
static String |
getIDName()
Returns the name of the attribute containing the ID of the data container. |
static String |
getNoteName(String prefix)
Returns the name of an attribute for a note. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String PREFIX_NOTE
public static final String PREFIX_ADDITIONALFIELDS
| Constructor Detail |
|---|
public ArffUtils()
| Method Detail |
|---|
public static String getDBIDName()
public static String getIDName()
public static String getFieldName(AbstractField field)
field - the field to generate the name for
public static String getAdditionalFieldName(AbstractField field)
field - the field to generate the name for
PREFIX_ADDITIONALFIELDSpublic static String getNoteName(String prefix)
prefix - the note prefix to generate the name for
PREFIX_NOTE
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||