Class FileTypes


  • public final class FileTypes
    extends Object
    File types used in Apple targets.
    • Field Detail

      • FILE_EXTENSION_TO_IDENTIFIER

        public static final com.google.common.collect.ImmutableMap<String,​String> FILE_EXTENSION_TO_IDENTIFIER
        Map of file extension to Xcode identifiers.
      • EXPLICIT_FILE_TYPE_BROKEN_IDENTIFIERS

        public static final com.google.common.collect.ImmutableSet<String> EXPLICIT_FILE_TYPE_BROKEN_IDENTIFIERS
        Set of identifiers which only work as "lastKnownFileType" and not "explicitFileType" in a PBXFileReference.

        Yes, really. Because Xcode.

      • MODIFIABLE_FILE_TYPE_IDENTIFIERS

        public static final com.google.common.collect.ImmutableSet<String> MODIFIABLE_FILE_TYPE_IDENTIFIERS
        Set of identifiers for which we will use "lastKnownFileType" instead of "explicitFileType" in a PBXFileReference to allow the user to change the type by renaming the file.