j2me读写Brew系统文件
我用j2me编码,想在brew系统里生成一个文件夹,现在路径是 fs:/abc/,建目录代码是:
FileConnection fc = (FileConnection) Connector.open(name, Connector.READ); try { if (fc.exists()) { return true; } } finally { fc.close(); }FileConnection fc = (FileConnection) Connector.open(name, Connector.WRITE); try { fc.mkdir(); return true; } finally { fc.close(); }