convenience method for reading templates from a file . concode_field_sep String fTemplateTag concode_elem_sep int TEMPLATE_PARSE_EXCEPTION concode_elem_sep String CONTEXT_ATTRIBUTE concode_elem_sep int TEMPLATE_IO_EXCEPTION concode_elem_sep ContextTypeRegistry fRegistry concode_elem_sep String DESCRIPTION_ATTRIBUTE concode_elem_sep String NAME_ATTRIBUTE concode_elem_sep List fTemplates concode_field_sep void add concode_elem_sep String getAttributeValue concode_elem_sep String validateTemplate concode_elem_sep void throwReadException concode_elem_sep void saveToStream concode_elem_sep void clear concode_elem_sep Template getFirstTemplate concode_elem_sep void remove concode_elem_sep Template[] getTemplates concode_elem_sep Template[] getTemplates concode_elem_sep void saveToFile concode_elem_sep void addFromStream concode_elem_sep boolean exists concode_elem_sep String getTemplateTag concode_elem_sep void throwWriteException
void function ( File arg0 , boolean arg1 ) { InputStream loc0 = null ; try { loc0 = new FileInputStream ( arg0 ) ; addFromStream ( loc0 , arg1 ) ; } catch ( IOException loc1 ) { throwReadException ( loc1 ) ; } finally { try { if ( loc0 != null ) loc0 . close ( ) ; } catch ( IOException loc1 ) { } } }