953
社区成员
发帖
与我相关
我的任务
分享
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();
}