Uses of Enum Class
org.incenp.obofoundry.sssom.util.SerialisationFormat
Packages that use SerialisationFormat
-
Uses of SerialisationFormat in org.incenp.obofoundry.sssom.util
Methods in org.incenp.obofoundry.sssom.util that return SerialisationFormatModifier and TypeMethodDescriptionstatic SerialisationFormat
SerialisationFormat.fromExtension
(String extension) Gets a serialisation format by its associated filename extension.static SerialisationFormat
Gets a serialisation format by its name (long or short).ReaderFactory.inferFormat
(Reader reader) Peeks inside a Reader object to try and guess the SSSOM serialisation format that is being used.static SerialisationFormat
Returns the enum constant of this class with the specified name.static SerialisationFormat[]
SerialisationFormat.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.incenp.obofoundry.sssom.util with parameters of type SerialisationFormatModifier and TypeMethodDescriptionReaderFactory.getReader
(Reader reader, SerialisationFormat fmt) Gets a SSSOM reader for the specified reader object and format.ReaderFactory.getReader
(String filename, boolean allowStdin, SerialisationFormat fmt) Gets a SSSOM reader for the provided file, with a possibly explicitly specified format.ReaderFactory.getReader
(String filename, String metaFilename, boolean allowStdin, SerialisationFormat fmt) Gets a SSSOM reader suitable for the specified file, with a possibly explicitly specified format.