@ Deprecated public static byte [ ] textPadding ( String text , String characterSetName , int length , int alignment , byte paddingByte ) throws UnsupportedEncodingException { DBFAlignment align = DBFAlignment . RIGHT ; if ( alignment == ALIGN_LEFT ) { align = DBFAlignment . LEFT ; } return textPadding ( text , characterSetName , length , align , paddingByte ) ; }
Text is truncated if exceed field capacity . Uses spaces as padding