public enum FileType extends Enum<FileType>
enum representing the Crowdin fileType. Represents API
class ProjectFileType.| Enum Constant and Description |
|---|
adoc
AsciiDoc
|
android
Android
|
arb
Application Resource Bundle
|
auto
Try to detect file type by extension or MIME type
|
chrome
Google Chrome Extension
|
coffee
CoffeeScript
|
contentful_rt
Contentful
|
csv
Comma Separated Values
|
dita
DITA Document
|
dklang
Delphi DKLang
|
docx
Microsoft Office, OpenOffice.org Documents, Adobe InDesign Adobe FrameMaker
|
dtd
Mozilla DTD
|
fbt
Facebook FBT
|
flex
Flex
|
flsnp
MadCap Flare
|
fm_html
Jekyll HTML
|
fm_md
Jekyll Markdown
|
ftl
Mozilla Project Fluent
|
gettext
GNU GetText
|
go_json
Go
|
haml
Haml
|
html
HTML
|
i18next_json
i18next
|
idml
Adobe InDesign
|
ini
Generic INI
|
joomla
Joomla localizable resources
|
js
JavaScript
|
json
Generic JSON
|
macosx
Mac OS X / iOS
|
maxthon
Maxthon Browser
|
md
Markdown
|
mdx_v1
MDX (v1)
|
mdx_v2
MDX (v2)
|
mediawiki
MediaWiki
|
mif
Adobe FrameMaker
|
nestjs_i18n
NestJS i18n
|
nsh
NSIS Installer Resources
|
php
Hypertext Preprocessor
|
plist
Mac OS property list
|
properties
Java
|
properties_play
Play Framework
|
properties_xml
Java Application
|
qtts
Nokia Qt
|
rc
Windows Resources
|
resjson
Windows 8 Metro
|
resw
Windows 8 Metro
|
resx
.NET, Windows Phone
|
sbv
Youtube .sbv
|
srt
SubRip .srt
|
stf
Salesforce
|
stringsdict
iOS
|
svg
SVG
|
toml
Toml
|
ts
TypeScript
|
txt
Plain Text
|
vdf
Steamworks Localization Valve Data File
|
vtt
Video Subtitling and WebVTT
|
webxml
Web XML
|
wxl
WiX Installer
|
xaml
XAML
|
xliff
XLIFF
|
xliff_two
XLIFF 2.0
|
xlsx
Microsoft Excel
|
xml
Generic XML
|
yaml
Ruby On Rails
|
| Modifier and Type | Method and Description |
|---|---|
String |
getContentType() |
String[] |
getExtensions() |
boolean |
hasExtension(String extension)
Determines if this
FileType is associated with the specified
extension. |
static FileType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileType auto
public static final FileType android
public static final FileType macosx
public static final FileType resx
public static final FileType properties
public static final FileType gettext
public static final FileType yaml
public static final FileType php
public static final FileType json
public static final FileType xml
public static final FileType ini
public static final FileType rc
public static final FileType resw
public static final FileType resjson
public static final FileType qtts
public static final FileType joomla
public static final FileType chrome
public static final FileType dtd
public static final FileType dklang
public static final FileType flex
public static final FileType nsh
public static final FileType wxl
public static final FileType xliff
public static final FileType xliff_two
public static final FileType html
public static final FileType haml
public static final FileType txt
public static final FileType csv
public static final FileType md
public static final FileType mdx_v1
public static final FileType mdx_v2
public static final FileType flsnp
public static final FileType fm_html
public static final FileType fm_md
public static final FileType mediawiki
public static final FileType docx
public static final FileType xlsx
public static final FileType sbv
public static final FileType properties_play
public static final FileType properties_xml
public static final FileType maxthon
public static final FileType go_json
public static final FileType dita
public static final FileType mif
public static final FileType idml
public static final FileType stringsdict
public static final FileType plist
public static final FileType vtt
public static final FileType vdf
public static final FileType srt
public static final FileType stf
public static final FileType toml
public static final FileType contentful_rt
public static final FileType svg
public static final FileType js
public static final FileType coffee
public static final FileType ts
public static final FileType i18next_json
public static final FileType xaml
public static final FileType arb
public static final FileType adoc
public static final FileType fbt
public static final FileType ftl
public static final FileType webxml
public static final FileType nestjs_i18n
public static FileType[] values()
for (FileType c : FileType.values()) System.out.println(c);
public static FileType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null@Nullable public String[] getExtensions()
public boolean hasExtension(String extension)
FileType is associated with the specified
extension. Case insensitive.extension - the extension to check.true if extension is associated with this
FileType, false otherwise.Copyright © 2024. All rights reserved.