public class CombineFormats extends Object
Constructor and Description |
---|
CombineFormats() |
Modifier and Type | Method and Description |
---|---|
static String |
getFormatFromIdentifier(String identifier)
Gets the format of an identifier.
|
static String |
getFormatIdentifier(String format)
Gets the official identifier of a certain format.
|
static void |
main(String[] args)
The main method to update our format dictionary.
|
public static String getFormatIdentifier(String format)
cellml.1.0
and you'll retrieve
http://identifiers.org/combine.specifications/cellml.1.0
. See
COMBINE
standards for further
information.format
- the format/extensionformat
if no such mapping
existspublic static String getFormatFromIdentifier(String identifier)
http://identifiers.org/combine.specifications/sbml.level-3.version-1
and get sbml.level-3.version-1
identifier
- the identifier of that formatidentifier
if no such mapping existspublic static void main(String[] args) throws FileNotFoundException, IOException
args
- the argumentsFileNotFoundException
- the file not found exceptionIOException
- Signals that an I/O exception has occurred.Copyright © 2014. All rights reserved.