(String area, String attach)
| 1626 | } |
| 1627 | |
| 1628 | public static String getFilePath(String area, String attach) { |
| 1629 | String areaPath = FtnTosser.getFileechoPath() + File.separator + area; |
| 1630 | File f = new File(areaPath); |
| 1631 | if (!f.isDirectory()) { |
| 1632 | if (f.exists()) { |
| 1633 | f.renameTo(new File(areaPath + "." + generate8d())); |
| 1634 | f = new File(areaPath); |
| 1635 | } |
| 1636 | f.mkdirs(); |
| 1637 | } |
| 1638 | return (f.getAbsolutePath() + File.separator + attach).toLowerCase(); |
| 1639 | } |
| 1640 | |
| 1641 | public static String md5(String protocolPassword) { |
| 1642 | MessageDigest mdEnc; |
no test coverage detected