packaging / net.corda.packaging / Cpk / Manifest / parseFormatVersion

parseFormatVersion

@JvmStatic fun parseFormatVersion(manifest: Manifest): CpkFormatVersion

Parses the manifest to extract the CPK format.

Throws PackagingException if the CPK format is missing or incorrectly specified.