Class FileExtensionDataSourceType
- java.lang.Object
-
- org.jetbrains.mps.openapi.persistence.datasource.FileExtensionDataSourceType
-
- All Implemented Interfaces:
DataSourceType
public final class FileExtensionDataSourceType extends Object implements DataSourceType
A data source type based on the file name extension This type allows us to associate the corresponding data sources with various model factories.- Since:
- 29/12/16
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getFileExtension()
String
getName()
int
hashCode()
static FileExtensionDataSourceType
of(String fileExtension)
String
toString()
-
-
-
Method Detail
-
of
@NotNull public static FileExtensionDataSourceType of(@Nullable String fileExtension)
-
getName
@NotNull public String getName()
- Specified by:
getName
in interfaceDataSourceType
-
-