void function ( String arg0 , byte [ ] arg1 , String arg2 , byte [ ] arg3 ) { out = new ByteArrayOutputStream ( ) ; writer = new PrintWriter ( out , true ) ; buildTitle ( ) ; buildHeader ( ) ; if ( arg1 != null ) buildCertificate ( arg0 , arg1 ) ; buildHash ( arg2 , arg3 ) ; buildFooter ( ) ; writer . close ( ) ; out . flush ( ) ; out . close ( ) ; }
builds the letter content . concode_field_sep String LINE_SEPARATOR concode_elem_sep String BUNDLE_NAME concode_elem_sep String hostId concode_elem_sep String bankName concode_elem_sep String title concode_elem_sep Locale locale concode_elem_sep String userId concode_elem_sep String version concode_elem_sep ByteArrayOutputStream out concode_elem_sep Letter letter concode_elem_sep Writer writer concode_elem_sep String partnerId concode_elem_sep String username concode_field_sep String formatDate concode_elem_sep void buildCertificate concode_elem_sep byte[] getHash concode_elem_sep byte[] getHash concode_elem_sep void buildHash concode_elem_sep void save concode_elem_sep String format concode_elem_sep String formatTime concode_elem_sep void buildFooter concode_elem_sep String getString concode_elem_sep void buildHeader concode_elem_sep void appendSpacer concode_elem_sep byte[] getLetter concode_elem_sep byte[] removeFirstByte concode_elem_sep void buildTitle concode_elem_sep void emit