loads the list of available templates onto the alltemplates list concode_field_sep File sketchbookPath concode_elem_sep Editor editor concode_elem_sep File templatesFolder concode_elem_sep String defaultTemplate concode_elem_sep String fs concode_elem_sep File dataFolder concode_elem_sep ArrayList<File> allTemplates concode_field_sep void init concode_elem_sep String loadString concode_elem_sep String getPath concode_elem_sep File loadFile concode_elem_sep void run concode_elem_sep void installDefaultTemplate concode_elem_sep void initialize concode_elem_sep String getMenuTitle concode_elem_sep void initTemplatesRoot concode_elem_sep void createTemplatesFolder concode_elem_sep void offerMenu
void function ( ) { String loc0 ; File [ ] loc1 = templatesFolder . listFiles ( ) ; for ( int loc2 = 0 ; loc2 < loc1 . length ; loc2 ++ ) { loc0 = loc1 [ loc2 ] . getAbsolutePath ( ) ; if ( loc0 . endsWith ( "srini_string" ) || loc0 . endsWith ( "srini_string" ) ) { allTemplates . add ( new File ( loc0 ) ) ; } } }