powered by simpleCommunicator - 2.0.40     © 2025 Programmizd 02
Форумы / Java [игнор отключен] [закрыт для гостей] / HELP !!! (check file exist)
2 сообщений из 2, страница 1 из 1
HELP !!! (check file exist)
    #32196690
vivft
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
HELP Помогите найти скрипт проверяющий существование файла в директории
(check file exist) HELP
...
Рейтинг: 0 / 0
HELP !!! (check file exist)
    #32196898
Фотография Scott Tiger
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Код: plaintext
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
java.io.File.list()

public String[] list(FilenameFilter filter)

Returns an array of strings naming the files
and directories in the directory denoted by this abstract pathname that satisfy
the specified filter. The behavior of this method is the same as that of the list()
method, except that the strings in the returned array must satisfy the filter. If
the given filter is null then all names are accepted. Otherwise, a name satisfies
the filter if and only if the value true results when the FilenameFilter.accept
java.io.File, java.lang.String) method of the filter is invoked on this abstract
pathname and the name of a file or directory in the directory that it denotes. 

Parameters:
filter - A filename filter 
Returns:
An array of strings naming the files and directories in the directory denoted by
this abstract pathname that were accepted by the given filter. The array will
be empty if the directory is empty or if no names were accepted by the filter.
Returns null if this abstract pathname does not denote a directory, or if an I/O
error occurs. 
Throws: 
SecurityException - If a security manager exists and its
SecurityManager.checkRead(java.lang.String) method denies read access to
the directory
...
Рейтинг: 0 / 0
2 сообщений из 2, страница 1 из 1
Форумы / Java [игнор отключен] [закрыт для гостей] / HELP !!! (check file exist)
Целевая тема:
Создать новую тему:
Автор:
Закрыть
Цитировать
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]