2,851
社区成员




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();
}