次の方法で共有


DataType Class

public final class DataType
extends ExpandableStringEnum<DataType>

Enum to determine the type of data.

Field Summary

Modifier and Type Field and Description
static final DataType MLTABLE

Static value mltable for DataType.

static final DataType URI_FILE

Static value uri_file for DataType.

static final DataType URI_FOLDER

Static value uri_folder for DataType.

Constructor Summary

Constructor Description
DataType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DataType value.

Method Summary

Modifier and Type Method and Description
static DataType fromString(String name)

Creates or finds a DataType from its string representation.

static Collection<DataType> values()

Gets known DataType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

MLTABLE

public static final DataType MLTABLE

Static value mltable for DataType.

URI_FILE

public static final DataType URI_FILE

Static value uri_file for DataType.

URI_FOLDER

public static final DataType URI_FOLDER

Static value uri_folder for DataType.

Constructor Details

DataType

@Deprecated
public DataType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DataType value.

Method Details

fromString

public static DataType fromString(String name)

Creates or finds a DataType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding DataType.

values

public static Collection<DataType> values()

Gets known DataType values.

Returns:

known DataType values.

Applies to