Stay organized with collections
Save and categorize content based on your preferences.
class Format
The format in which content is stored.
Summary
Enum values
|
The content is a directory.
|
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.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# Format\n======\n\n```\nclass Format\n```\n\n|---|---|---------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) |||\n| ↳ | [kotlin.Enum](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html)\\\u003c[com.android.build.api.transform.Format](#)\\\u003e ||\n| | ↳ | [com.android.build.api.transform.Format](#) |\n\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known Direct Subclasses [Format.DIRECTORY](#ENUM_VALUE:DIRECTORY), [Format.JAR](#ENUM_VALUE:JAR) |-------------------------------------------|-----------------------------| | [Format.DIRECTORY](#ENUM_VALUE:DIRECTORY) | The content is a directory. | | [Format.JAR](#ENUM_VALUE:JAR) | The content is a jar. | |\n\nThe format in which content is stored.\n\nSummary\n-------\n\n| ### Enum values ||\n|----------------------------------------------------------------|---|\n| [DIRECTORY](#ENUM_VALUE:DIRECTORY) The content is a directory. |\n| [JAR](#ENUM_VALUE:JAR) The content is a jar. |\n\nEnum values\n-----------\n\n### DIRECTORY\n\n```\nenum val DIRECTORY : Format\n```\n\nThe content is a directory.\n\nThis means that in the case of java class files, the files should be in directories matching their package names, directly under the root directory. \n\n### JAR\n\n```\nenum val JAR : Format\n```\n\nThe content is a jar."]]