added in API level 1
FileFilter
public
interface
FileFilter
java.io.FileFilter |
A filter for abstract pathnames.
Instances of this interface may be passed to the
method
of the listFiles(FileFilter)
class.File
Summary
Public methods | |
---|---|
abstract
boolean
|
accept(File pathname)
Tests whether or not the specified abstract pathname should be included in a pathname list. |
Public methods
accept
added in API level 1
public abstract boolean accept (File pathname)
Tests whether or not the specified abstract pathname should be included in a pathname list.
Parameters | |
---|---|
pathname |
File : The abstract pathname to be tested |
Returns | |
---|---|
boolean |
true if and only if pathname
should be included
|
Interfaces
Classes
- BufferedInputStream
- BufferedOutputStream
- BufferedReader
- BufferedWriter
- ByteArrayInputStream
- ByteArrayOutputStream
- CharArrayReader
- CharArrayWriter
- Console
- DataInputStream
- DataOutputStream
- File
- FileDescriptor
- FileInputStream
- FileOutputStream
- FilePermission
- FileReader
- FileWriter
- FilterInputStream
- FilterOutputStream
- FilterReader
- FilterWriter
- InputStream
- InputStreamReader
- LineNumberInputStream
- LineNumberReader
- ObjectInputStream
- ObjectInputStream.GetField
- ObjectOutputStream
- ObjectOutputStream.PutField
- ObjectStreamClass
- ObjectStreamField
- OutputStream
- OutputStreamWriter
- PipedInputStream
- PipedOutputStream
- PipedReader
- PipedWriter
- PrintStream
- PrintWriter
- PushbackInputStream
- PushbackReader
- RandomAccessFile
- Reader
- SequenceInputStream
- SerializablePermission
- StreamTokenizer
- StringBufferInputStream
- StringReader
- StringWriter
- Writer
Exceptions
- CharConversionException
- EOFException
- FileNotFoundException
- InterruptedIOException
- InvalidClassException
- InvalidObjectException
- IOException
- NotActiveException
- NotSerializableException
- ObjectStreamException
- OptionalDataException
- StreamCorruptedException
- SyncFailedException
- UncheckedIOException
- UnsupportedEncodingException
- UTFDataFormatException
- WriteAbortedException
Errors