Class EoulsanTranslatorUtils
- java.lang.Object
-
- fr.ens.biologie.genomique.eoulsan.util.EoulsanTranslatorUtils
-
public class EoulsanTranslatorUtils extends Object
This class define Kenetre translator utility glue methods for Eoulsan.- Since:
- 2.6
- Author:
- Laurent Jourdren
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DataFile
getLinksFileFromSettings(Settings settings)
Get the links file from the settings.static fr.ens.biologie.genomique.kenetre.translator.Translator
loadTranslator(DataFile linksFile)
Create a translator annotation from a link file.static fr.ens.biologie.genomique.kenetre.translator.Translator
loadTranslator(DataFile annotationFile, DataFile linksFile)
Create a translator annotation from an additional annotation file and a link file.
-
-
-
Method Detail
-
loadTranslator
public static fr.ens.biologie.genomique.kenetre.translator.Translator loadTranslator(DataFile annotationFile, DataFile linksFile) throws IOException
Create a translator annotation from an additional annotation file and a link file.- Parameters:
annotationFile
- the annotation file to uselinksFile
- the additional annotation hypertext links file- Returns:
- a Translator object with the additional annotation
- Throws:
IOException
- if an error occurs while reading additional annotation
-
loadTranslator
public static fr.ens.biologie.genomique.kenetre.translator.Translator loadTranslator(DataFile linksFile) throws IOException
Create a translator annotation from a link file.- Parameters:
linksFile
- the additional annotation hypertext links file- Returns:
- a Translator object with the additional annotation
- Throws:
IOException
- if an error occurs while reading additional annotation
-
-