public interface TextFileFormatted {
List<String> getTextForFile();
String getFileType();
}
which will allow lphy extension developers to customise what and how they want to write a Value< TextFileFormatted > to a file. See the example of lphy.base.evolution.alignment.FastaAlignment, and the function fasta will return it as the type.
Introduce the interface :
which will allow lphy extension developers to customise what and how they want to write a Value< TextFileFormatted > to a file. See the example of lphy.base.evolution.alignment.FastaAlignment, and the function
fasta
will return it as the type.The previous ValueFormatter https://github.com/LinguaPhylo/linguaPhylo/issues/294 will not be available to use.