Uses of Enum Class
org.phenopackets.phenopackettools.core.PhenopacketFormat
Package
Description
A package with constants and types used across the entire application, including the base exception classes.
The
org.phenopackets.phenopackettools.io
package offers functionality for reading and writing
top-level elements of Phenopacket Schema.Defines utility methods for working with
PhenopacketElement
s
and PhenopacketFormat
s.-
Uses of PhenopacketFormat in org.phenopackets.phenopackettools.core
Modifier and TypeMethodDescriptionstatic PhenopacketFormat
static PhenopacketFormat
Returns the enum constant of this class with the specified name.static PhenopacketFormat[]
PhenopacketFormat.values()
Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of PhenopacketFormat in org.phenopackets.phenopackettools.io
Modifier and TypeMethodDescriptionPhenopacketPrinterFactory.forFormat
(PhenopacketSchemaVersion schemaVersion, PhenopacketFormat format) default com.google.protobuf.Message
PhenopacketParser.parse
(PhenopacketFormat format, InputStream is) default com.google.protobuf.Message
PhenopacketParser.parse
(PhenopacketFormat format, Path path) com.google.protobuf.Message
PhenopacketParser.parse
(PhenopacketFormat format, PhenopacketElement element, InputStream is) default com.google.protobuf.Message
PhenopacketParser.parse
(PhenopacketFormat format, PhenopacketElement element, Path path) -
Uses of PhenopacketFormat in org.phenopackets.phenopackettools.util.format
Modifier and TypeMethodDescriptionstatic PhenopacketFormat
FormatSniffer.sniff
(byte[] payload) Make an educated guess ofPhenopacketFormat
based on givenpayload
.static PhenopacketFormat
FormatSniffer.sniff
(InputStream input) Make an educated guess ofPhenopacketFormat
present in giveninput
.Modifier and TypeMethodDescriptionstatic PhenopacketElement
ElementSniffer.sniff
(byte[] payload, PhenopacketFormat format) Make an educated guess ofPhenopacketElement
based on givenpayload
.static PhenopacketElement
ElementSniffer.sniff
(byte[] payload, PhenopacketSchemaVersion schemaVersion, PhenopacketFormat format) Deprecated.static PhenopacketElement
ElementSniffer.sniff
(InputStream input, PhenopacketFormat format) Make an educated guess ofPhenopacketElement
present in giveninput
.static PhenopacketElement
ElementSniffer.sniff
(InputStream input, PhenopacketSchemaVersion schemaVersion, PhenopacketFormat format) Deprecated.in favor ofElementSniffer.sniff(InputStream, PhenopacketFormat)
.
ElementSniffer.sniff(byte[], PhenopacketFormat)