1.修改readme文件
This commit is contained in:
parent
d57b23144e
commit
bbb7306d8f
|
@ -14,7 +14,7 @@
|
|||
|
||||
[英文说明/English Documentation](README_EN.md)
|
||||
|
||||
**xJavaFxTool交流QQ群: [![](https://img.shields.io/badge/QQ-387473650-green.svg?logo=tencent%20qq)](https://jq.qq.com/?_wv=1027&k=59UDEAD) 或加群②[![](https://img.shields.io/badge/QQ-1104780992-green.svg?logo=tencent%20qq)](https://jq.qq.com/?_wv=1027&k=bhAdkju9)**
|
||||
**xJavaFxTool交流QQ群: [![](https://img.shields.io/badge/QQ-387473650-green.svg?logo=tencent%20qq)](https://jq.qq.com/?_wv=1027&k=59UDEAD) 或加群②(已满)[![](https://img.shields.io/badge/QQ-1104780992-green.svg?logo=tencent%20qq)](https://jq.qq.com/?_wv=1027&k=bhAdkju9) 或加群③[![](https://img.shields.io/badge/QQ-235011461-green.svg?logo=tencent%20qq)](https://jq.qq.com/?_wv=1027&k=zXUFDNuE)**
|
||||
|
||||
**xJavaFxTool吐个槽:== [进来吐槽](https://support.qq.com/product/127577) ==**
|
||||
|
||||
|
|
|
@ -6,6 +6,8 @@ import ch.qos.logback.core.OutputStreamAppender;
|
|||
import com.xwintop.xcore.util.javafx.TooltipUtil;
|
||||
import javafx.scene.control.TextArea;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.OutputStream;
|
||||
|
@ -19,6 +21,7 @@ import java.util.List;
|
|||
* @date: 2019/4/25 0025 23:18
|
||||
*/
|
||||
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Data
|
||||
public class ConsoleLogAppender extends OutputStreamAppender<ILoggingEvent> {
|
||||
public final static List<TextArea> textAreaList = new ArrayList<>();
|
||||
|
@ -34,7 +37,7 @@ public class ConsoleLogAppender extends OutputStreamAppender<ILoggingEvent> {
|
|||
}
|
||||
|
||||
@Override
|
||||
public void write(byte[] b) throws IOException {
|
||||
public void write(@NotNull byte[] b) throws IOException {
|
||||
for (TextArea textArea : textAreaList) {
|
||||
textArea.appendText(new String(b) + "\n");
|
||||
}
|
||||
|
|
|
@ -32,6 +32,7 @@ import org.apache.commons.io.IOUtils;
|
|||
import org.apache.commons.lang3.StringUtils;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
import java.util.HashMap;
|
||||
import java.util.Locale;
|
||||
import java.util.Map;
|
||||
|
@ -209,7 +210,7 @@ public class IndexService {
|
|||
PluginContainer pluginContainer = new PluginContainer(plugin);
|
||||
// webEngine.load(pluginContainer.getResource(url).toExternalForm());
|
||||
try {
|
||||
browser = new HTMLView(IOUtils.toString(pluginContainer.getResource(url).openStream(), "utf-8"));
|
||||
browser = new HTMLView(IOUtils.toString(pluginContainer.getResource(url).openStream(), StandardCharsets.UTF_8));
|
||||
} catch (IOException e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
|
|
|
@ -18,10 +18,10 @@ import java.io.File;
|
|||
|
||||
@Slf4j
|
||||
public class PluginProgectBuildTool {
|
||||
private String projectPath = "C:/IDEA/xwintop/xJavaFxTool/src/main/";
|
||||
private final String projectPath = "C:/IDEA/xwintop/xJavaFxTool/src/main/";
|
||||
|
||||
// private String projectPath = "";
|
||||
private String resources = "resources/com/xwintop/xJavaFxTool/";
|
||||
private final String resources = "resources/com/xwintop/xJavaFxTool/";
|
||||
|
||||
// private String xmlPath = "assistTools/";
|
||||
// private String xmlPath = "codeTools/";
|
||||
|
@ -31,11 +31,11 @@ public class PluginProgectBuildTool {
|
|||
// private String xmlPath = "games/";
|
||||
// private String xmlPath = "littleTools/";
|
||||
// private String xmlPath = "webTools/";
|
||||
private String xmlPath = "javaFxTools/";
|
||||
private final String xmlPath = "javaFxTools/";
|
||||
|
||||
private String srcPath = "java/com/xwintop/xJavaFxTool/";
|
||||
private final String srcPath = "java/com/xwintop/xJavaFxTool/";
|
||||
|
||||
private String pluginPath = "C:/IDEA/xJavaFxTool-plugin/";
|
||||
private final String pluginPath = "C:/IDEA/xJavaFxTool-plugin/";
|
||||
|
||||
@Test
|
||||
public void buildJava() throws Exception {
|
||||
|
|
|
@ -55,9 +55,9 @@ public class TableBeanTool {
|
|||
stringBuffer4.delete(stringBuffer4.length()-10, stringBuffer4.length()).append(";\n");
|
||||
|
||||
soutStringBuffer.append(stringBuffer.toString()+stringBuffer2+"}\n\n");
|
||||
soutStringBuffer.append(stringBuffer3.toString()+"}\n\n");
|
||||
soutStringBuffer.append(stringBuffer4.toString()+"}\n\n");
|
||||
soutStringBuffer.append(stringBuffer5.toString()+"\n\n");
|
||||
soutStringBuffer.append(stringBuffer3 +"}\n\n");
|
||||
soutStringBuffer.append(stringBuffer4 +"}\n\n");
|
||||
soutStringBuffer.append(stringBuffer5 +"\n\n");
|
||||
System.out.println(soutStringBuffer);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue