public boolean deleteFile(String fileName) throws IOException { checkFileName(fileName); return getLocalIO().deleteFile(fileName); }
/** * Deletes the entry specified by the {@code name} parameter. * * @param fileName the storage-dependent name * @throws IOException if the specified name is invalid, * or an internal entry cannot be deleted */ public boolean deleteFile(String fileName) throws IOException { checkFileName(fileName); return getLocalIO().deleteFile(fileName); }