Java in a Nutshell, 5th Edition [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Java in a Nutshell, 5th Edition [Electronic resources] - نسخه متنی

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید



This interface defines the
accept( ) method that must be implemented by
any object that filters filenames (i.e., selects a subset of
filenames from a list of filenames). There are no standard
FilenameFilter classes implemented by Java, but
objects that implement this interface are used by the
java.awt.FileDialog object and the
File.list( ) method. A typical
FilenameFilter object might check that the
specified File represents a file (not a
directory), is readable (and possibly writable as well), and that its
name ends with some desired extension.

public interface 

FilenameFilter {
// Public Instance Methods
boolean

accept (File

dir , String

name );
}


Passed To


File.{list( ), listFiles( )}

/ 1191