| | |
| | | protected void generateFile(String template, String filePath) { |
| | | Template pageTemplate = groupTemplate.getTemplate(template); |
| | | configTemplate(pageTemplate); |
| | | if (PlatformUtil.isWindows()) { |
| | | if (System.getProperty("os.name").startsWith("Windows")) { |
| | | filePath = filePath.replaceAll("/+|\\\\+", "\\\\"); |
| | | } else { |
| | | filePath = filePath.replaceAll("/+|\\\\+", "/"); |
| | |
| | | protected void generateFile(String template, String filePath) { |
| | | Template pageTemplate = groupTemplate.getTemplate(template); |
| | | configTemplate(pageTemplate); |
| | | if (PlatformUtil.isWindows()) { |
| | | if (System.getProperty("os.name").startsWith("Windows")) { |
| | | filePath = filePath.replaceAll("/+|\\\\+", "\\\\"); |
| | | } else { |
| | | filePath = filePath.replaceAll("/+|\\\\+", "/"); |
| | |
| | | protected void generateFile(String template, String filePath) { |
| | | Template pageTemplate = groupTemplate.getTemplate(template); |
| | | configTemplate(pageTemplate); |
| | | if (PlatformUtil.isWindows()) { |
| | | if (System.getProperty("os.name").startsWith("Windows")) { |
| | | filePath = filePath.replaceAll("/+|\\\\+", "\\\\"); |
| | | } else { |
| | | filePath = filePath.replaceAll("/+|\\\\+", "/"); |