public void saveNucleotideTemplates ( ) throws IOException { File f = new File ( NOTATION_DIRECTORY ) ; if ( ! f . exists ( ) ) { f . mkdir ( ) ; } String nucleotideTemplatesXML = NucleotideParser . getNucleotideTemplatesXML ( getNucleotideTemplates ( ) ) ; FileOutputStream fos = new FileOutputStream ( LOCAL_NUCLEOTIDE_TEMPLATE_FILE_PATH ) ; fos . write ( nucleotideTemplatesXML . getBytes ( ) ) ; }
save Nucleotide Templates to disk file