test.java

来自「一个用于简单拼写检查的软件」· Java 代码 · 共 30 行

JAVA
30
字号
import java.io.*;

public class test
{
	public static void main (String args[]) throws IOException
	{
		String s=new String();
		File outfile=new File("23.txt");
		myDictionary adic =new myDictionary();
		myText atext = new myText();
		Checker achack =new Checker();
		output aout=new output();
		
		
		File afile=new File("Dictionary.txt");
		adic.OpenDictionary(afile);
		
		File file2=new File("11.txt");
		s=atext.OpenText(file2);
		
		achack.check(adic,s);//最后是这里出错了,只要在取下一个就行了
		
		aout.outprint(achack.checkLine,outfile);
		

		
	
	}
	
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?