public class TokenMarkerFactory
extends java.lang.Object
TokenMarker
instances for Files
.Modifier and Type | Method and Description |
---|---|
static @NotNull TokenMarker |
createTokenMarker(@Nullable java.io.File file)
Creates a suitable
TokenMarker for a given file. |
static @NotNull TokenMarker |
createTokenMarker(@Nullable java.lang.String extension)
Creates a
TokenMarker for a given file extension. |
@NotNull public static @NotNull TokenMarker createTokenMarker(@Nullable @Nullable java.io.File file)
TokenMarker
for a given file.file
- the file to create a token marker for@NotNull public static @NotNull TokenMarker createTokenMarker(@Nullable @Nullable java.lang.String extension)
TokenMarker
for a given file extension.extension
- the file extension