⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gsbulletin.java

📁 一个日本流行的,功能较全的开源Web办公管理(Groupware)系统。
💻 JAVA
字号:
/*
 * Bulletin僨乕僞僐儞僶乕僩
 */

import java.io.File;
import java.io.PrintWriter;

public class GSbulletin {
	private BLIndexFile_convert bifile;
	private BLDataFile_convert bdfile;

	private String Path=null;
	private String Path1=null;
	private String[] files=null;
	private String[] bulls=null;
	private File file;
	private File file2;

	public GSbulletin(String dataDir,PrintWriter bf) throws Exception {
		try {
			Path = dataDir + "bulletin" + File.separator + "group" + File.separator;
			
			file = new File(Path);
			files = file.list();
			for(int i=0;(files != null) && (i < files.length);i++) {
				Path1 = Path + File.separator + files[i];
				file2 = new File(Path1);
				bulls = file2.list();

				for(int x=0;(bulls != null) && (x < bulls.length);x++) {
					if(bulls[x].equals("index")) 
						bifile = new BLIndexFile_convert(Path,files[i],bf);
					else if(bulls[x].lastIndexOf("b") != (bulls[x].length() - 1))
						bdfile = new BLDataFile_convert(Path,files[i],bulls[x],bf);
				}
			}
		}
		catch(Exception e) {
			throw new Exception(e.toString());
		}
	}
}

⌨️ 快捷键说明

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