121122123124125126127128129130
return GenericFormatter.format(cpf, "###.###.###"); }else if (tamanho == 11){ return GenericFormatter.format(cpf, "###.###.###-##"); } } catch (RuntimeException e) { throw new PojoUtilException("",e); } return cpf; }
89909192939495969798
return "0" + GenericFormatter.format(cnpj, "##.###.###/####-##"); case 14: return GenericFormatter.format(cnpj, "##.###.###/####-##"); } } catch (RuntimeException e) { throw new PojoUtilException("",e); } return cnpj; }