Package org.forester.tools
Class PhylogenyDecorator
java.lang.Object
org.forester.tools.PhylogenyDecorator
- 
Nested Class Summary
Nested Classes - 
Method Summary
Modifier and TypeMethodDescriptionstatic Stringdecorate(Phylogeny phylogeny, Map<String, String> map, PhylogenyDecorator.FIELD field, boolean extract_bracketed_scientific_name, boolean extract_bracketed_tax_code, boolean picky, boolean cut_name_after_space, boolean trim_after_tilde, boolean verbose) static Stringdecorate(Phylogeny phylogeny, Map<String, String> map, PhylogenyDecorator.FIELD field, boolean extract_bracketed_scientific_name, boolean extract_bracketed_tax_code, boolean picky, Map<String, String> intermediate_map, boolean cut_name_after_space, boolean trim_after_tilde, boolean verbose) static voidparseMappingTable(File mapping_table_file)  
- 
Method Details
- 
decorate
public static void decorate(Phylogeny phylogeny, Map<String, Map<String, throws IllegalArgumentException, PhyloXmlDataFormatExceptionString>> map, boolean picky)  - 
decorate
public static String decorate(Phylogeny phylogeny, Map<String, String> map, PhylogenyDecorator.FIELD field, boolean extract_bracketed_scientific_name, boolean extract_bracketed_tax_code, boolean picky, boolean cut_name_after_space, boolean trim_after_tilde, boolean verbose) throws IllegalArgumentException, NHXFormatException, PhyloXmlDataFormatException - 
decorate
public static String decorate(Phylogeny phylogeny, Map<String, String> map, PhylogenyDecorator.FIELD field, boolean extract_bracketed_scientific_name, boolean extract_bracketed_tax_code, boolean picky, Map<String, throws IllegalArgumentException, PhyloXmlDataFormatExceptionString> intermediate_map, boolean cut_name_after_space, boolean trim_after_tilde, boolean verbose) - Parameters:
 phylogeny-map- maps names (in phylogeny) to new values if intermediate_map is null otherwise maps intermediate value to new valuefield-picky-intermediate_map- maps name (in phylogeny) to a intermediate value- Throws:
 IllegalArgumentExceptionPhyloXmlDataFormatException
 - 
parseMappingTable
public static Map<String,Map<String, parseMappingTableString>> (File mapping_table_file) throws IOException - Throws:
 IOException
 
 -