(String[] args)
| 6 | |
| 7 | public class Main { |
| 8 | public static void main(String[] args) { |
| 9 | Scanner scanner = new Scanner(System.in); |
| 10 | System.out.println("Filter4j 演示程序 已经启动!"); |
| 11 | while (true) { |
| 12 | String str = scanner.nextLine(); |
| 13 | System.out.println(TextFilter.isIllegal(str) ? "异常" : "正常"); |
| 14 | } |
| 15 | } |
| 16 | } |