|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.biojava.bio.program.formats.FormatTools
public class FormatTools
Field Summary | |
---|---|
static ChangeTable.Changer |
EC_FROM_STRING
|
Method Summary | |
---|---|
static Format |
getFormat(java.lang.String formatName)
Attempt to find aformat for a format identifer string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final ChangeTable.Changer EC_FROM_STRING
Method Detail |
---|
public static Format getFormat(java.lang.String formatName) throws BioException
The string will be resolved in the following way:
org.biojava.bio.program.formats
with that name
It is not specified if the format returned is a new instance or not.
This method uses the service providor framework to find format providers. If you add formats to the core biojava distribution, you must add the class name to the filebiojava-live/resources/META-INF/services/org.biojava.bio.program.formats.Format
/ If you implement formats and
place them in your own .jar files, you should put the class name in a
similarly named file in your jar. This should mean that the format becomes
automatically registered with the system.
formatName
- the Stirng to use to find the format name
BioException
- if the format could not be resolved for some reason
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |