# Format

# Format

```
class Format
```

|---|---|------------------------------------------------------------------------------------------------------------------------------------------------|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)                                                                    |||
| ↳ | [kotlin.Enum](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html)\<[com.android.build.api.transform.Format](https://developer.android.com/reference/tools/gradle-api/7.0/com/android/build/api/transform/Format#)\> ||
|   | ↳ | [com.android.build.api.transform.Format](https://developer.android.com/reference/tools/gradle-api/7.0/com/android/build/api/transform/Format#) |

|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Known Direct Subclasses [Format.DIRECTORY](https://developer.android.com/reference/tools/gradle-api/7.0/com/android/build/api/transform/Format#ENUM_VALUE:DIRECTORY),[Format.JAR](https://developer.android.com/reference/tools/gradle-api/7.0/com/android/build/api/transform/Format#ENUM_VALUE:JAR) |----------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------| | [Format.DIRECTORY](https://developer.android.com/reference/tools/gradle-api/7.0/com/android/build/api/transform/Format#ENUM_VALUE:DIRECTORY) | The content is a directory. | | [Format.JAR](https://developer.android.com/reference/tools/gradle-api/7.0/com/android/build/api/transform/Format#ENUM_VALUE:JAR)             | The content is a jar.       | |

The format in which content is stored.

## Summary

|                                                                           ### Enum values                                                                            ||
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| [DIRECTORY](https://developer.android.com/reference/tools/gradle-api/7.0/com/android/build/api/transform/Format#ENUM_VALUE:DIRECTORY) The content is a directory. |
| [JAR](https://developer.android.com/reference/tools/gradle-api/7.0/com/android/build/api/transform/Format#ENUM_VALUE:JAR) The content is a jar.                   |

## Enum values

### DIRECTORY

```
enum val DIRECTORY : Format
```

The content is a directory.

This means that in the case of java class files, the files should be in directories matching their package names, directly under the root directory.  

### JAR

```
enum val JAR : Format
```

The content is a jar.