A B C D E F G H I L M N O P R S T V W

A

AbstractFileFilter - Class in org.apache.commons.io.filefilter
An abstract class which implements the Java FileFilter and FilenameFilter interfaces via the IOFileFilter interface.
AbstractFileFilter() - Constructor for class org.apache.commons.io.filefilter.AbstractFileFilter
 
accept(File) - Method in class org.apache.commons.io.filefilter.AbstractFileFilter
Checks to see if the File should be accepted by this filter.
accept(File, String) - Method in class org.apache.commons.io.filefilter.AbstractFileFilter
Checks to see if the File should be accepted by this filter.
accept(File) - Method in class org.apache.commons.io.filefilter.AgeFileFilter
Checks to see if the last modification of the file matches cutoff favorably.
accept(File) - Method in class org.apache.commons.io.filefilter.AndFileFilter
Checks to see if the File should be accepted by this filter.
accept(File, String) - Method in class org.apache.commons.io.filefilter.AndFileFilter
Checks to see if the File should be accepted by this filter.
accept(File) - Method in class org.apache.commons.io.filefilter.CanReadFileFilter
Checks to see if the file can be read.
accept(File) - Method in class org.apache.commons.io.filefilter.CanWriteFileFilter
Checks to see if the file can be written to.
accept(File) - Method in class org.apache.commons.io.filefilter.DelegateFileFilter
Checks the filter.
accept(File, String) - Method in class org.apache.commons.io.filefilter.DelegateFileFilter
Checks the filter.
accept(File) - Method in class org.apache.commons.io.filefilter.DirectoryFileFilter
Checks to see if the file is a directory.
accept(File) - Method in class org.apache.commons.io.filefilter.EmptyFileFilter
Checks to see if the file is empty.
accept(File) - Method in class org.apache.commons.io.filefilter.FalseFileFilter
Returns false.
accept(File, String) - Method in class org.apache.commons.io.filefilter.FalseFileFilter
Returns false.
accept(File) - Method in class org.apache.commons.io.filefilter.FileFileFilter
Checks to see if the file is a file.
accept(File) - Method in class org.apache.commons.io.filefilter.HiddenFileFilter
Checks to see if the file is hidden.
accept(File) - Method in interface org.apache.commons.io.filefilter.IOFileFilter
Checks to see if the File should be accepted by this filter.
accept(File, String) - Method in interface org.apache.commons.io.filefilter.IOFileFilter
Checks to see if the File should be accepted by this filter.
accept(File) - Method in class org.apache.commons.io.filefilter.NameFileFilter
Checks to see if the filename matches.
accept(File, String) - Method in class org.apache.commons.io.filefilter.NameFileFilter
Checks to see if the filename matches.
accept(File) - Method in class org.apache.commons.io.filefilter.NotFileFilter
Checks to see if both filters are true.
accept(File, String) - Method in class org.apache.commons.io.filefilter.NotFileFilter
Checks to see if both filters are true.
accept(File) - Method in class org.apache.commons.io.filefilter.OrFileFilter
Checks to see if the File should be accepted by this filter.
accept(File, String) - Method in class org.apache.commons.io.filefilter.OrFileFilter
Checks to see if the File should be accepted by this filter.
accept(File) - Method in class org.apache.commons.io.filefilter.PrefixFileFilter
Checks to see if the filename starts with the prefix.
accept(File, String) - Method in class org.apache.commons.io.filefilter.PrefixFileFilter
Checks to see if the filename starts with the prefix.
accept(File) - Method in class org.apache.commons.io.filefilter.SizeFileFilter
Checks to see if the size of the file is favorable.
accept(File) - Method in class org.apache.commons.io.filefilter.SuffixFileFilter
Checks to see if the filename ends with the suffix.
accept(File, String) - Method in class org.apache.commons.io.filefilter.SuffixFileFilter
Checks to see if the filename ends with the suffix.
accept(File) - Method in class org.apache.commons.io.filefilter.TrueFileFilter
Returns true.
accept(File, String) - Method in class org.apache.commons.io.filefilter.TrueFileFilter
Returns true.
accept(File, String) - Method in class org.apache.commons.io.filefilter.WildcardFileFilter
Checks to see if the filename matches one of the wildcards.
accept(File) - Method in class org.apache.commons.io.filefilter.WildcardFileFilter
Checks to see if the filename matches one of the wildcards.
accept(File, String) - Method in class org.apache.commons.io.filefilter.WildcardFilter
Deprecated. Checks to see if the filename matches one of the wildcards.
accept(File) - Method in class org.apache.commons.io.filefilter.WildcardFilter
Deprecated. Checks to see if the filename matches one of the wildcards.
addFileFilter(IOFileFilter) - Method in class org.apache.commons.io.filefilter.AndFileFilter
Adds the specified file filter to the list of file filters at the end of the list.
addFileFilter(IOFileFilter) - Method in interface org.apache.commons.io.filefilter.ConditionalFileFilter
Adds the specified file filter to the list of file filters at the end of the list.
addFileFilter(IOFileFilter) - Method in class org.apache.commons.io.filefilter.OrFileFilter
Adds the specified file filter to the list of file filters at the end of the list.
AgeFileFilter - Class in org.apache.commons.io.filefilter
Filters files based on a cutoff time, can filter either newer files or files equal to or older.
AgeFileFilter(long) - Constructor for class org.apache.commons.io.filefilter.AgeFileFilter
Constructs a new age file filter for files equal to or older than a certain cutoff
AgeFileFilter(long, boolean) - Constructor for class org.apache.commons.io.filefilter.AgeFileFilter
Constructs a new age file filter for files on any one side of a certain cutoff.
AgeFileFilter(Date) - Constructor for class org.apache.commons.io.filefilter.AgeFileFilter
Constructs a new age file filter for files older than (at or before) a certain cutoff date.
AgeFileFilter(Date, boolean) - Constructor for class org.apache.commons.io.filefilter.AgeFileFilter
Constructs a new age file filter for files on any one side of a certain cutoff date.
AgeFileFilter(File) - Constructor for class org.apache.commons.io.filefilter.AgeFileFilter
Constructs a new age file filter for files older than (at or before) a certain File (whose last modification time will be used as reference).
AgeFileFilter(File, boolean) - Constructor for class org.apache.commons.io.filefilter.AgeFileFilter
Constructs a new age file filter for files on any one side of a certain File (whose last modification time will be used as reference).
ageFileFilter(long) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
Returns a filter that returns true if the file was last modified after the specified cutoff time.
ageFileFilter(long, boolean) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
Returns a filter that filters files based on a cutoff time.
ageFileFilter(Date) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
Returns a filter that returns true if the file was last modified after the specified cutoff date.
ageFileFilter(Date, boolean) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
Returns a filter that filters files based on a cutoff date.
ageFileFilter(File) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
Returns a filter that returns true if the file was last modified after the specified reference file.
ageFileFilter(File, boolean) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
Returns a filter that filters files based on a cutoff reference file.
AndFileFilter - Class in org.apache.commons.io.filefilter
A FileFilter providing conditional AND logic across a list of file filters.
AndFileFilter() - Constructor for class org.apache.commons.io.filefilter.AndFileFilter
Constructs a new instance of AndFileFilter.
AndFileFilter(List) - Constructor for class org.apache.commons.io.filefilter.AndFileFilter
Constructs a new instance of AndFileFilter with the specified list of filters.
AndFileFilter(IOFileFilter, IOFileFilter) - Constructor for class org.apache.commons.io.filefilter.AndFileFilter
Constructs a new file filter that ANDs the result of two other filters.
andFileFilter(IOFileFilter, IOFileFilter) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
Returns a filter that ANDs the two specified filters.
asFileFilter(FileFilter) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
Returns an IOFileFilter that wraps the FileFilter instance.
asFileFilter(FilenameFilter) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
Returns an IOFileFilter that wraps the FilenameFilter instance.
available() - Method in class org.apache.commons.io.input.NullInputStream
Return the number of bytes that can be read.
available() - Method in class org.apache.commons.io.input.ProxyInputStream
 

B

bindStream(InputStream) - Method in class org.apache.commons.io.input.DemuxInputStream
Bind the specified stream to the current thread.
bindStream(OutputStream) - Method in class org.apache.commons.io.output.DemuxOutputStream
Bind the specified stream to the current thread.
branch - Variable in class org.apache.commons.io.output.TeeOutputStream
the second OutputStream to write to
ByteArrayOutputStream - Class in org.apache.commons.io.output
This class implements an output stream in which the data is written into a byte array.
ByteArrayOutputStream() - Constructor for class org.apache.commons.io.output.ByteArrayOutputStream
Creates a new byte array output stream.
ByteArrayOutputStream(int) - Constructor for class org.apache.commons.io.output.ByteArrayOutputStream
Creates a new byte array output stream, with a buffer capacity of the specified size, in bytes.
byteCountToDisplaySize(long) - Static method in class org.apache.commons.io.FileUtils
Returns a human-readable version of the file size, where the input represents a specific number of bytes.

C

CAN_READ - Static variable in class org.apache.commons.io.filefilter.CanReadFileFilter
Singleton instance of readable filter
CAN_WRITE - Static variable in class org.apache.commons.io.filefilter.CanWriteFileFilter
Singleton instance of writable filter
CANNOT_READ - Static variable in class org.apache.commons.io.filefilter.CanReadFileFilter
Singleton instance of not readable filter
CANNOT_WRITE - Static variable in class org.apache.commons.io.filefilter.CanWriteFileFilter
Singleton instance of not writable filter
CanReadFileFilter - Class in org.apache.commons.io.filefilter
This filter accepts Files that can be read.
CanReadFileFilter() - Constructor for class org.apache.commons.io.filefilter.CanReadFileFilter
Restrictive consructor.
CanWriteFileFilter - Class in org.apache.commons.io.filefilter
This filter accepts Files that can be written to.
CanWriteFileFilter() - Constructor for class org.apache.commons.io.filefilter.CanWriteFileFilter
Restrictive consructor.
checkEndsWith(String, String) - Method in class org.apache.commons.io.IOCase
Checks if one string ends with another using the case-sensitivity rule.
checkEquals(String, String) - Method in class org.apache.commons.io.IOCase
Compares two strings using the case-sensitivity rule.
checkIfCancelled(File, int, Collection) - Method in class org.apache.commons.io.DirectoryWalker
Checks whether the walk has been cancelled by calling DirectoryWalker.handleIsCancelled(java.io.File, int, java.util.Collection), throwing a CancelException if it has.
checkRegionMatches(String, int, String) - Method in class org.apache.commons.io.IOCase
Checks if one string contains another at a specific index using the case-sensitivity rule.
checkStartsWith(String, String) - Method in class org.apache.commons.io.IOCase
Checks if one string starts with another using the case-sensitivity rule.
checksum(File, Checksum) - Static method in class org.apache.commons.io.FileUtils
Computes the checksum of a file using the specified checksum object.
checksumCRC32(File) - Static method in class org.apache.commons.io.FileUtils
Computes the checksum of a file using the CRC32 checksum routine.
checkThreshold(int) - Method in class org.apache.commons.io.output.ThresholdingOutputStream
Checks to see if writing the specified number of bytes would cause the configured threshold to be exceeded.
ClassLoaderObjectInputStream - Class in org.apache.commons.io.input
A special ObjectInputStream that loads a class based on a specified ClassLoader rather than the system default.
ClassLoaderObjectInputStream(ClassLoader, InputStream) - Constructor for class org.apache.commons.io.input.ClassLoaderObjectInputStream
Constructs a new ClassLoaderObjectInputStream.
cleanDirectory(File) - Static method in class org.apache.commons.io.FileUtils
Clean a directory without deleting it.
close() - Method in class org.apache.commons.io.input.DemuxInputStream
Closes stream associated with current thread.
close() - Method in class org.apache.commons.io.input.NullInputStream
Close this input stream - resets the internal state to the initial values.
close() - Method in class org.apache.commons.io.input.NullReader
Close this Reader - resets the internal state to the initial values.
close() - Method in class org.apache.commons.io.input.ProxyInputStream
 
close() - Method in class org.apache.commons.io.input.ProxyReader
 
close() - Method in class org.apache.commons.io.LineIterator
Closes the underlying Reader quietly.
close() - Method in class org.apache.commons.io.output.ByteArrayOutputStream
Closing a ByteArrayOutputStream has no effect.
close() - Method in class org.apache.commons.io.output.DeferredFileOutputStream
Closes underlying output stream, and mark this as closed
close() - Method in class org.apache.commons.io.output.DemuxOutputStream
Closes stream associated with current thread.
close() - Method in class org.apache.commons.io.output.LockableFileWriter
Closes the file writer.
close() - Method in class org.apache.commons.io.output.NullWriter
 
close() - Method in class org.apache.commons.io.output.ProxyOutputStream
 
close() - Method in class org.apache.commons.io.output.ProxyWriter
 
close() - Method in class org.apache.commons.io.output.TeeOutputStream
Closes both streams.
close() - Method in class org.apache.commons.io.output.ThresholdingOutputStream
Closes this output stream and releases any system resources associated with this stream.
closeQuietly(Reader) - Static method in class org.apache.commons.io.IOUtils
Unconditionally close an Reader.
closeQuietly(Writer) - Static method in class org.apache.commons.io.IOUtils
Unconditionally close a Writer.
closeQuietly(InputStream) - Static method in class org.apache.commons.io.IOUtils
Unconditionally close an InputStream.
closeQuietly(OutputStream) - Static method in class org.apache.commons.io.IOUtils
Unconditionally close an OutputStream.
closeQuietly(LineIterator) - Static method in class org.apache.commons.io.LineIterator
Closes the iterator, handling null and ignoring exceptions.
concat(String, String) - Static method in class org.apache.commons.io.FilenameUtils
Concatenates a filename to a base path using normal command line style rules.
ConditionalFileFilter - Interface in org.apache.commons.io.filefilter
Defines operations for conditional file filters.
contentEquals(File, File) - Static method in class org.apache.commons.io.FileUtils
Compare the contents of two files to determine if they are equal or not.
contentEquals(InputStream, InputStream) - Static method in class org.apache.commons.io.IOUtils
Compare the contents of two Streams to determine if they are equal or not.
contentEquals(Reader, Reader) - Static method in class org.apache.commons.io.IOUtils
Compare the contents of two Readers to determine if they are equal or not.
convertFileCollectionToFileArray(Collection) - Static method in class org.apache.commons.io.FileUtils
Converts a Collection containing java.io.File instanced into array representation.
copy(byte[], OutputStream) - Static method in class org.apache.commons.io.CopyUtils
Deprecated. Copy bytes from a byte[] to an OutputStream.
copy(byte[], Writer) - Static method in class org.apache.commons.io.CopyUtils
Deprecated. Copy and convert bytes from a byte[] to chars on a Writer.
copy(byte[], Writer, String) - Static method in class org.apache.commons.io.CopyUtils
Deprecated. Copy and convert bytes from a byte[] to chars on a Writer, using the specified encoding.
copy(InputStream, OutputStream) - Static method in class org.apache.commons.io.CopyUtils
Deprecated. Copy bytes from an InputStream to an OutputStream.
copy(Reader, Writer) - Static method in class org.apache.commons.io.CopyUtils
Deprecated. Copy chars from a Reader to a Writer.
copy(InputStream, Writer) - Static method in class org.apache.commons.io.CopyUtils
Deprecated. Copy and convert bytes from an InputStream to chars on a Writer.
copy(InputStream, Writer, String) - Static method in class org.apache.commons.io.CopyUtils
Deprecated. Copy and convert bytes from an InputStream to chars on a Writer, using the specified encoding.
copy(Reader, OutputStream) - Static method in class org.apache.commons.io.CopyUtils
Deprecated. Serialize chars from a Reader to bytes on an OutputStream, and flush the OutputStream.
copy(String, OutputStream) - Static method in class org.apache.commons.io.CopyUtils
Deprecated. Serialize chars from a String to bytes on an OutputStream, and flush the OutputStream.
copy(String, Writer) - Static method in class org.apache.commons.io.CopyUtils
Deprecated. Copy chars from a String to a Writer.
copy(InputStream, OutputStream) - Static method in class org.apache.commons.io.IOUtils
Copy bytes from an InputStream to an OutputStream.
copy(InputStream, Writer) - Static method in class org.apache.commons.io.IOUtils
Copy bytes from an InputStream to chars on a Writer using the default character encoding of the platform.
copy(InputStream, Writer, String) - Static method in class org.apache.commons.io.IOUtils
Copy bytes from an InputStream to chars on a Writer using the specified character encoding.
copy(Reader, Writer) - Static method in class org.apache.commons.io.IOUtils
Copy chars from a Reader to a Writer.
copy(Reader, OutputStream) - Static method in class org.apache.commons.io.IOUtils
Copy chars from a Reader to bytes on an OutputStream using the default character encoding of the platform, and calling flush.
copy(Reader, OutputStream, String) - Static method in class org.apache.commons.io.IOUtils
Copy chars from a Reader to bytes on an OutputStream using the specified character encoding, and calling flush.
copyDirectory(File, File) - Static method in class org.apache.commons.io.FileUtils
Copies a whole directory to a new location preserving the file dates.
copyDirectory(File, File, boolean) - Static method in class org.apache.commons.io.FileUtils
Copies a whole directory to a new location.
copyDirectoryToDirectory(File, File) - Static method in class org.apache.commons.io.FileUtils
Copies a directory to within another directory preserving the file dates.
copyFile(File, File) - Static method in class org.apache.commons.io.FileUtils
Copies a file to a new location preserving the file date.
copyFile(File, File, boolean) - Static method in class org.apache.commons.io.FileUtils
Copies a file to a new location.
copyFileToDirectory(File, File) - Static method in class org.apache.commons.io.FileUtils
Copies a file to a directory preserving the file date.
copyFileToDirectory(File, File, boolean) - Static method in class org.apache.commons.io.FileUtils
Copies a file to a directory optionally preserving the file date.
copyLarge(InputStream, OutputStream) - Static method in class org.apache.commons.io.IOUtils
Copy bytes from a large (over 2GB) InputStream to an OutputStream.
copyLarge(Reader, Writer) - Static method in class org.apache.commons.io.IOUtils
Copy chars from a large (over 2GB) Reader to a Writer.
copyURLToFile(URL, File) - Static method in class org.apache.commons.io.FileUtils
Copies bytes from the URL source to a file destination.
CopyUtils - Class in org.apache.commons.io
Deprecated. Use IOUtils. Will be removed in 2.0. Methods renamed to IOUtils.write() or IOUtils.copy(). Null handling behaviour changed in IOUtils (null data does not throw NullPointerException).
CopyUtils() - Constructor for class org.apache.commons.io.CopyUtils
Deprecated. Instances should NOT be constructed in standard programming.
CountingInputStream - Class in org.apache.commons.io.input
A decorating input stream that counts the number of bytes that have passed through the stream so far.
CountingInputStream(InputStream) - Constructor for class org.apache.commons.io.input.CountingInputStream
Constructs a new CountingInputStream.
CountingOutputStream - Class in org.apache.commons.io.output
A decorating output stream that counts the number of bytes that have passed through the stream so far.
CountingOutputStream(OutputStream) - Constructor for class org.apache.commons.io.output.CountingOutputStream
Constructs a new CountingOutputStream.

D

DeferredFileOutputStream - Class in org.apache.commons.io.output
An output stream which will retain data in memory until a specified threshold is reached, and only then commit it to disk.
DeferredFileOutputStream(int, File) - Constructor for class org.apache.commons.io.output.DeferredFileOutputStream
Constructs an instance of this class which will trigger an event at the specified threshold, and save data to a file beyond that point.
DelegateFileFilter - Class in org.apache.commons.io.filefilter
This class turns a Java FileFilter or FilenameFilter into an IO FileFilter.
DelegateFileFilter(FilenameFilter) - Constructor for class org.apache.commons.io.filefilter.DelegateFileFilter
Constructs a delegate file filter around an existing FilenameFilter.
DelegateFileFilter(FileFilter) - Constructor for class org.apache.commons.io.filefilter.DelegateFileFilter
Constructs a delegate file filter around an existing FileFilter.
delete(File) - Method in class org.apache.commons.io.FileDeleteStrategy
Deletes the file object, which may be a file or a directory.
deleteDirectory(File) - Static method in class org.apache.commons.io.FileUtils
Recursively delete a directory.
deleteQuietly(File) - Method in class org.apache.commons.io.FileDeleteStrategy
Deletes the file object, which may be a file or a directory.
DemuxInputStream - Class in org.apache.commons.io.input
Data written to this stream is forwarded to a stream that has been associated with this thread.
DemuxInputStream() - Constructor for class org.apache.commons.io.input.DemuxInputStream
 
DemuxOutputStream - Class in org.apache.commons.io.output
Data written to this stream is forwarded to a stream that has been associated with this thread.
DemuxOutputStream() - Constructor for class org.apache.commons.io.output.DemuxOutputStream
 
DIR_SEPARATOR - Static variable in class org.apache.commons.io.IOUtils
The system directory separator character.
DIR_SEPARATOR_UNIX - Static variable in class org.apache.commons.io.IOUtils
The Unix directory separator character.
DIR_SEPARATOR_WINDOWS - Static variable in class org.apache.commons.io.IOUtils
The Windows directory separator character.
DIRECTORY - Static variable in class org.apache.commons.io.filefilter.DirectoryFileFilter
Singleton instance of directory filter.
DirectoryFileFilter - Class in org.apache.commons.io.filefilter
This filter accepts Files that are directories.
DirectoryFileFilter() - Constructor for class org.apache.commons.io.filefilter.DirectoryFileFilter
Restrictive consructor.
directoryFileFilter() - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
Returns a filter that checks if the file is a directory.
DirectoryWalker - Class in org.apache.commons.io
Abstract class that walks through a directory hierarchy and provides subclasses with convenient hooks to add specific behaviour.
DirectoryWalker() - Constructor for class org.apache.commons.io.DirectoryWalker
Construct an instance with no filtering and unlimited depth.
DirectoryWalker(FileFilter, int) - Constructor for class org.apache.commons.io.DirectoryWalker
Construct an instance with a filter and limit the depth navigated to.
DirectoryWalker(IOFileFilter, IOFileFilter, int) - Constructor for class org.apache.commons.io.DirectoryWalker
Construct an instance with a directory and a file filter and an optional limit on the depth navigated to.
DirectoryWalker.CancelException - Exception in org.apache.commons.io
CancelException is thrown in DirectoryWalker to cancel the current processing.
DirectoryWalker.CancelException(File, int) - Constructor for exception org.apache.commons.io.DirectoryWalker.CancelException
Constructs a CancelException with the file and depth when cancellation occurred.
DirectoryWalker.CancelException(String, File, int) - Constructor for exception org.apache.commons.io.DirectoryWalker.CancelException
Constructs a CancelException with an appropriate message and the file and depth when cancellation occurred.
doDelete(File) - Method in class org.apache.commons.io.FileDeleteStrategy
Actually deletes the file object, which may be a file or a directory.
dump(byte[], long, OutputStream, int) - Static method in class org.apache.commons.io.HexDump
Dump an array of bytes to an OutputStream.

E

EMPTY - Static variable in class org.apache.commons.io.filefilter.EmptyFileFilter
Singleton instance of empty filter
EMPTY_FILE_ARRAY - Static variable in class org.apache.commons.io.FileUtils
An empty array of type File.
EmptyFileFilter - Class in org.apache.commons.io.filefilter
This filter accepts files or directories that are empty.
EmptyFileFilter() - Constructor for class org.apache.commons.io.filefilter.EmptyFileFilter
Restrictive consructor.
EndianUtils - Class in org.apache.commons.io
Utility code for dealing with different endian systems.
EndianUtils() - Constructor for class org.apache.commons.io.EndianUtils
Instances should NOT be constructed in standard programming.
EOL - Static variable in class org.apache.commons.io.HexDump
The line-separator (initializes to "line.separator" system property.
equals(String, String) - Static method in class org.apache.commons.io.FilenameUtils
Checks whether two filenames are equal exactly.
equals(String, String, boolean, IOCase) - Static method in class org.apache.commons.io.FilenameUtils
Checks whether two filenames are equal, optionally normalizing and providing control over the case-sensitivity.
equalsNormalized(String, String) - Static method in class org.apache.commons.io.FilenameUtils
Checks whether two filenames are equal after both have been normalized.
equalsNormalizedOnSystem(String, String) - Static method in class org.apache.commons.io.FilenameUtils
Checks whether two filenames are equal after both have been normalized and using the case rules of the system.
equalsOnSystem(String, String) - Static method in class org.apache.commons.io.FilenameUtils
Checks whether two filenames are equal using the case rules of the system.
exitWhenFinished() - Static method in class org.apache.commons.io.FileCleaner
Call this method to cause the file cleaner thread to terminate when there are no more objects being tracked for deletion.

F

FALSE - Static variable in class org.apache.commons.io.filefilter.FalseFileFilter
Singleton instance of false filter.
FalseFileFilter - Class in org.apache.commons.io.filefilter
A file filter that always returns false.
FalseFileFilter() - Constructor for class org.apache.commons.io.filefilter.FalseFileFilter
Restrictive consructor.
falseFileFilter() - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
Returns a filter that always returns false.
FILE - Static variable in class org.apache.commons.io.filefilter.FileFileFilter
Singleton instance of file filter
FileCleaner - Class in org.apache.commons.io
Keeps track of files awaiting deletion, and deletes them when an associated marker object is reclaimed by the garbage collector.
FileCleaner() - Constructor for class org.apache.commons.io.FileCleaner
 
FileDeleteStrategy - Class in org.apache.commons.io
Strategy for deleting files.
FileDeleteStrategy(String) - Constructor for class org.apache.commons.io.FileDeleteStrategy
Restricted constructor.
FileFileFilter - Class in org.apache.commons.io.filefilter
This filter accepts Files that are files (not directories).
FileFileFilter() - Constructor for class org.apache.commons.io.filefilter.FileFileFilter
Restrictive consructor.
fileFileFilter() - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
Returns a filter that checks if the file is a file (and not a directory).
FileFilterUtils - Class in org.apache.commons.io.filefilter
Useful utilities for working with file filters.
FileFilterUtils() - Constructor for class org.apache.commons.io.filefilter.FileFilterUtils
FileFilterUtils is not normally instantiated.
FilenameUtils - Class in org.apache.commons.io
General filename and filepath manipulation utilities.
FilenameUtils() - Constructor for class org.apache.commons.io.FilenameUtils
Instances should NOT be constructed in standard programming.
FileSystemUtils - Class in org.apache.commons.io
General File System utilities.
FileSystemUtils() - Constructor for class org.apache.commons.io.FileSystemUtils
Instances should NOT be constructed in standard programming.
FileUtils - Class in org.apache.commons.io
General file manipulation utilities.
FileUtils() - Constructor for class org.apache.commons.io.FileUtils
Instances should NOT be constructed in standard programming.
flush() - Method in class org.apache.commons.io.output.DemuxOutputStream
Flushes stream associated with current thread.
flush() - Method in class org.apache.commons.io.output.LockableFileWriter
 
flush() - Method in class org.apache.commons.io.output.NullWriter
 
flush() - Method in class org.apache.commons.io.output.ProxyOutputStream
 
flush() - Method in class org.apache.commons.io.output.ProxyWriter
 
flush() - Method in class org.apache.commons.io.output.TeeOutputStream
Flushes both streams.
flush() - Method in class org.apache.commons.io.output.ThresholdingOutputStream
Flushes this output stream and forces any buffered output bytes to be written out.
FORCE - Static variable in class org.apache.commons.io.FileDeleteStrategy
The singleton instance for forced file deletion, which always deletes, even if the file represents a non-empty directory.
forceDelete(File) - Static method in class org.apache.commons.io.FileUtils
Delete a file.
forceDeleteOnExit(File) - Static method in class org.apache.commons.io.FileUtils
Schedule a file to be deleted when JVM exits.
forceMkdir(File) - Static method in class org.apache.commons.io.FileUtils
Make a directory, including any necessary but nonexistent parent directories.
forName(String) - Static method in class org.apache.commons.io.IOCase
Factory method to create an IOCase from a name.
freeSpace(String) - Static method in class org.apache.commons.io.FileSystemUtils
Deprecated. Use freeSpaceKb(String) Deprecated from 1.3, may be removed in 2.0
freeSpaceKb(String) - Static method in class org.apache.commons.io.FileSystemUtils
Returns the free space on a drive or volume in kilobytes by invoking the command line.

G

getBaseName(String) - Static method in class org.apache.commons.io.FilenameUtils
Gets the base name, minus the full path and extension, from a full filename.
getByteCount() - Method in class org.apache.commons.io.input.CountingInputStream
The number of bytes that have passed through this stream.
getByteCount() - Method in class org.apache.commons.io.output.CountingOutputStream
The number of bytes that have passed through this stream.
getByteCount() - Method in class org.apache.commons.io.output.ThresholdingOutputStream
Returns the number of bytes that have been written to this output stream.
getCount() - Method in class org.apache.commons.io.input.CountingInputStream
The number of bytes that have passed through this stream.
getCount() - Method in class org.apache.commons.io.output.CountingOutputStream
The number of bytes that have passed through this stream.
getData() - Method in class org.apache.commons.io.output.DeferredFileOutputStream
Returns the data for this output stream as an array of bytes, assuming that the data has been retained in memory.
getDepth() - Method in exception org.apache.commons.io.DirectoryWalker.CancelException
Return the depth when the operation was cancelled.
getExtension(String) - Static method in class org.apache.commons.io.FilenameUtils
Gets the extension of a filename.
getFile() - Method in exception org.apache.commons.io.DirectoryWalker.CancelException
Return the file when the operation was cancelled.
getFile() - Method in class org.apache.commons.io.output.DeferredFileOutputStream
Returns the same output file specified in the constructor, even when threashold has not been reached.
getFileFilters() - Method in class org.apache.commons.io.filefilter.AndFileFilter
Returns this conditional file filter's list of file filters.
getFileFilters() - Method in interface org.apache.commons.io.filefilter.ConditionalFileFilter
Returns this conditional file filter's list of file filters.
getFileFilters() - Method in class org.apache.commons.io.filefilter.OrFileFilter
Returns this conditional file filter's list of file filters.
getFullPath(String) - Static method in class org.apache.commons.io.FilenameUtils
Gets the full path from a full filename, which is the prefix + path.
getFullPathNoEndSeparator(String) - Static method in class org.apache.commons.io.FilenameUtils
Gets the full path from a full filename, which is the prefix + path, and also excluding the final directory separator.
getName(String) - Static method in class org.apache.commons.io.FilenameUtils
Gets the name minus the path from a full filename.
getName() - Method in class org.apache.commons.io.IOCase
Gets the name of the constant.
getPath(String) - Static method in class org.apache.commons.io.FilenameUtils
Gets the path from a full filename, which excludes the prefix.
getPathNoEndSeparator(String) - Static method in class org.apache.commons.io.FilenameUtils
Gets the path from a full filename, which excludes the prefix, and also excluding the final directory separator.
getPosition() - Method in class org.apache.commons.io.input.NullInputStream
Return the current position.
getPosition() - Method in class org.apache.commons.io.input.NullReader
Return the current position.
getPrefix(String) - Static method in class org.apache.commons.io.FilenameUtils
Gets the prefix from a full filename, such as C:/ or ~/.
getPrefixLength(String) - Static method in class org.apache.commons.io.FilenameUtils
Returns the length of the filename prefix, such as C:/ or ~/.
getSize() - Method in class org.apache.commons.io.input.NullInputStream
Return the size this InputStream emulates.
getSize() - Method in class org.apache.commons.io.input.NullReader
Return the size this Reader emulates.
getStream() - Method in class org.apache.commons.io.output.DeferredFileOutputStream
Returns the current output stream.
getStream() - Method in class org.apache.commons.io.output.ThresholdingOutputStream
Returns the underlying output stream, to which the corresponding OutputStream methods in this class will ultimately delegate.
getThreshold() - Method in class org.apache.commons.io.output.ThresholdingOutputStream
Returns the threshold, in bytes, at which an event will be triggered.
getTrackCount() - Static method in class org.apache.commons.io.FileCleaner
Retrieve the number of files currently being tracked, and therefore awaiting deletion.

H

handleCancelled(File, Collection, DirectoryWalker.CancelException) - Method in class org.apache.commons.io.DirectoryWalker
Overridable callback method invoked when the operation is cancelled.
handleDirectory(File, int, Collection) - Method in class org.apache.commons.io.DirectoryWalker
Overridable callback method invoked to determine if a directory should be processed.
handleDirectoryEnd(File, int, Collection) - Method in class org.apache.commons.io.DirectoryWalker
Overridable callback method invoked at the end of processing each directory.
handleDirectoryStart(File, int, Collection) - Method in class org.apache.commons.io.DirectoryWalker
Overridable callback method invoked at the start of processing each directory.
handleEnd(Collection) - Method in class org.apache.commons.io.DirectoryWalker
Overridable callback method invoked at the end of processing.
handleFile(File, int, Collection) - Method in class org.apache.commons.io.DirectoryWalker
Overridable callback method invoked for each (non-directory) file.
handleIsCancelled(File, int, Collection) - Method in class org.apache.commons.io.DirectoryWalker
Overridable callback method invoked to determine if the entire walk operation should be immediately cancelled.
handleRestricted(File, int, Collection) - Method in class org.apache.commons.io.DirectoryWalker
Overridable callback method invoked for each restricted directory.
handleStart(File, Collection) - Method in class org.apache.commons.io.DirectoryWalker
Overridable callback method invoked at the start of processing.
hasNext() - Method in class org.apache.commons.io.LineIterator
Indicates whether the Reader has more lines.
HexDump - Class in org.apache.commons.io
Dumps data in hexadecimal format.
HexDump() - Constructor for class org.apache.commons.io.HexDump
Instances should NOT be constructed in standard programming.
HIDDEN - Static variable in class org.apache.commons.io.filefilter.HiddenFileFilter
Singleton instance of hidden filter
HiddenFileFilter - Class in org.apache.commons.io.filefilter
This filter accepts Files that are hidden.
HiddenFileFilter() - Constructor for class org.apache.commons.io.filefilter.HiddenFileFilter
Restrictive consructor.

I

indexOfExtension(String) - Static method in class org.apache.commons.io.FilenameUtils
Returns the index of the last extension separator character, which is a dot.
indexOfLastSeparator(String) - Static method in class org.apache.commons.io.FilenameUtils
Returns the index of the last directory separator character.
INSENSITIVE - Static variable in class org.apache.commons.io.IOCase
The constant for case insensitive regardless of operating system.
INSTANCE - Static variable in class org.apache.commons.io.filefilter.DirectoryFileFilter
Singleton instance of directory filter.
INSTANCE - Static variable in class org.apache.commons.io.filefilter.FalseFileFilter
Singleton instance of false filter.
INSTANCE - Static variable in class org.apache.commons.io.filefilter.TrueFileFilter
Singleton instance of true filter.
IOCase - Class in org.apache.commons.io
Enumeration of IO case sensitivity.
IOFileFilter - Interface in org.apache.commons.io.filefilter
An interface which brings the FileFilter and FilenameFilter interfaces together.
IOUtils - Class in org.apache.commons.io
General IO stream manipulation utilities.
IOUtils() - Constructor for class org.apache.commons.io.IOUtils
Instances should NOT be constructed in standard programming.
isCaseSensitive() - Method in class org.apache.commons.io.IOCase
Does the object represent case sensitive comparison.
isExtension(String, String) - Static method in class org.apache.commons.io.FilenameUtils
Checks whether the extension of the filename is that specified.
isExtension(String, String[]) - Static method in class org.apache.commons.io.FilenameUtils
Checks whether the extension of the filename is one of those specified.
isExtension(String, Collection) - Static method in class org.apache.commons.io.FilenameUtils
Checks whether the extension of the filename is one of those specified.
isFileNewer(File, File) - Static method in class org.apache.commons.io.FileUtils
Tests if the specified File is newer than the reference File.
isFileNewer(File, Date) - Static method in class org.apache.commons.io.FileUtils
Tests if the specified File is newer than the specified Date.
isFileNewer(File, long) - Static method in class org.apache.commons.io.FileUtils
Tests if the specified File is newer than the specified time reference.
isFileOlder(File, File) - Static method in class org.apache.commons.io.FileUtils
Tests if the specified File is older than the reference File.
isFileOlder(File, Date) - Static method in class org.apache.commons.io.FileUtils
Tests if the specified File is older than the specified Date.
isFileOlder(File, long) - Static method in class org.apache.commons.io.FileUtils
Tests if the specified File is older than the specified time reference.
isInMemory() - Method in class org.apache.commons.io.output.DeferredFileOutputStream
Determines whether or not the data for this output stream has been retained in memory.
isThresholdExceeded() - Method in class org.apache.commons.io.output.ThresholdingOutputStream
Determines whether or not the configured threshold has been exceeded for this output stream.
isValidLine(String) - Method in class org.apache.commons.io.LineIterator
Overridable method to validate each line that is returned.
iterateFiles(File, IOFileFilter, IOFileFilter) - Static method in class org.apache.commons.io.FileUtils
Allows iteration over the files in given directory (and optionally its subdirectories).
iterateFiles(File, String[], boolean) - Static method in class org.apache.commons.io.FileUtils
Allows iteration over the files in a given directory (and optionally its subdirectories) which match an array of extensions.

L

LINE_SEPARATOR - Static variable in class org.apache.commons.io.IOUtils
The system line separator string.
LINE_SEPARATOR_UNIX - Static variable in class org.apache.commons.io.IOUtils
The Unix line separator string.
LINE_SEPARATOR_WINDOWS - Static variable in class org.apache.commons.io.IOUtils
The Windows line separator string.
lineIterator(File, String) - Static method in class org.apache.commons.io.FileUtils
Return an Iterator for the lines in a File.
lineIterator(File) - Static method in class org.apache.commons.io.FileUtils
Return an Iterator for the lines in a File using the default encoding for the VM.
lineIterator(Reader) - Static method in class org.apache.commons.io.IOUtils
Return an Iterator for the lines in a Reader.
lineIterator(InputStream, String) - Static method in class org.apache.commons.io.IOUtils
Return an Iterator for the lines in an InputStream, using the character encoding specified (or default encoding if null).
LineIterator - Class in org.apache.commons.io
An Iterator over the lines in a Reader.
LineIterator(Reader) - Constructor for class org.apache.commons.io.LineIterator
Constructs an iterator of the lines for a Reader.
listFiles(File, IOFileFilter, IOFileFilter) - Static method in class org.apache.commons.io.FileUtils
Finds files within a given directory (and optionally its subdirectories).
listFiles(File, String[], boolean) - Static method in class org.apache.commons.io.FileUtils
Finds files within a given directory (and optionally its subdirectories) which match an array of extensions.
LockableFileWriter - Class in org.apache.commons.io.output
FileWriter that will create and honor lock files to allow simple cross thread file lock handling.
LockableFileWriter(String) - Constructor for class org.apache.commons.io.output.LockableFileWriter
Constructs a LockableFileWriter.
LockableFileWriter(String, boolean) - Constructor for class org.apache.commons.io.output.LockableFileWriter
Constructs a LockableFileWriter.
LockableFileWriter(String, boolean, String) - Constructor for class org.apache.commons.io.output.LockableFileWriter
Constructs a LockableFileWriter.
LockableFileWriter(File) - Constructor for class org.apache.commons.io.output.LockableFileWriter
Constructs a LockableFileWriter.
LockableFileWriter(File, boolean) - Constructor for class org.apache.commons.io.output.LockableFileWriter
Constructs a LockableFileWriter.
LockableFileWriter(File, boolean, String) - Constructor for class org.apache.commons.io.output.LockableFileWriter
Constructs a LockableFileWriter.
LockableFileWriter(File, String) - Constructor for class org.apache.commons.io.output.LockableFileWriter
Constructs a LockableFileWriter with a file encoding.
LockableFileWriter(File, String, boolean, String) - Constructor for class org.apache.commons.io.output.LockableFileWriter
Constructs a LockableFileWriter with a file encoding.

M

makeCVSAware(IOFileFilter) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
Decorates a filter to make it ignore CVS directories.
makeDirectoryOnly(IOFileFilter) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
Decorates a filter so that it only applies to directories and not to files.
makeFileOnly(IOFileFilter) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
Decorates a filter so that it only applies to files and not to directories.
makeSVNAware(IOFileFilter) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
Decorates a filter to make it ignore SVN directories.
mark(int) - Method in class org.apache.commons.io.input.NullInputStream
Mark the current position.
mark(int) - Method in class org.apache.commons.io.input.NullReader
Mark the current position.
mark(int) - Method in class org.apache.commons.io.input.ProxyInputStream
 
mark(int) - Method in class org.apache.commons.io.input.ProxyReader
 
markSupported() - Method in class org.apache.commons.io.input.NullInputStream
Indicates whether mark is supported.
markSupported() - Method in class org.apache.commons.io.input.NullReader
Indicates whether mark is supported.
markSupported() - Method in class org.apache.commons.io.input.ProxyInputStream
 
markSupported() - Method in class org.apache.commons.io.input.ProxyReader
 

N

nameFileFilter(String) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
Returns a filter that returns true if the filename matches the specified text.
NameFileFilter - Class in org.apache.commons.io.filefilter
Filters filenames for a certain name.
NameFileFilter(String) - Constructor for class org.apache.commons.io.filefilter.NameFileFilter
Constructs a new case-sensitive name file filter for a single name.
NameFileFilter(String, IOCase) - Constructor for class org.apache.commons.io.filefilter.NameFileFilter
Construct a new name file filter specifying case-sensitivity.
NameFileFilter(String[]) - Constructor for class org.apache.commons.io.filefilter.NameFileFilter
Constructs a new case-sensitive name file filter for an array of names.
NameFileFilter(String[], IOCase) - Constructor for class org.apache.commons.io.filefilter.NameFileFilter
Constructs a new name file filter for an array of names specifying case-sensitivity.
NameFileFilter(List) - Constructor for class org.apache.commons.io.filefilter.NameFileFilter
Constructs a new case-sensitive name file filter for a list of names.
NameFileFilter(List, IOCase) - Constructor for class org.apache.commons.io.filefilter.NameFileFilter
Constructs a new name file filter for a list of names specifying case-sensitivity.
next() - Method in class org.apache.commons.io.LineIterator
Returns the next line in the wrapped Reader.
nextLine() - Method in class org.apache.commons.io.LineIterator
Returns the next line in the wrapped Reader.
NORMAL - Static variable in class org.apache.commons.io.FileDeleteStrategy
The singleton instance for normal file deletion, which does not permit the deletion of directories that are not empty.
normalize(String) - Static method in class org.apache.commons.io.FilenameUtils
Normalizes a path, removing double and single dot path steps.
normalizeNoEndSeparator(String) - Static method in class org.apache.commons.io.FilenameUtils
Normalizes a path, removing double and single dot path steps, and removing any final directory separator.
NOT_EMPTY - Static variable in class org.apache.commons.io.filefilter.EmptyFileFilter
Singleton instance of not-empty filter
notFileFilter(IOFileFilter) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
Returns a filter that NOTs the specified filter.
NotFileFilter - Class in org.apache.commons.io.filefilter
This filter produces a logical NOT of the filters specified.
NotFileFilter(IOFileFilter) - Constructor for class org.apache.commons.io.filefilter.NotFileFilter
Constructs a new file filter that NOTs the result of another filters.
NullInputStream - Class in org.apache.commons.io.input
A functional, light weight InputStream that emulates a stream of a specified size.
NullInputStream(long) - Constructor for class org.apache.commons.io.input.NullInputStream
Create an InputStream that emulates a specified size which supports marking and does not throw EOFException.
NullInputStream(long, boolean, boolean) - Constructor for class org.apache.commons.io.input.NullInputStream
Create an InputStream that emulates a specified size with option settings.
NullOutputStream - Class in org.apache.commons.io.output
This OutputStream writes all data to the famous /dev/null.
NullOutputStream() - Constructor for class org.apache.commons.io.output.NullOutputStream
 
NullReader - Class in org.apache.commons.io.input
A functional, light weight Reader that emulates a reader of a specified size.
NullReader(long) - Constructor for class org.apache.commons.io.input.NullReader
Create a Reader that emulates a specified size which supports marking and does not throw EOFException.
NullReader(long, boolean, boolean) - Constructor for class org.apache.commons.io.input.NullReader
Create a Reader that emulates a specified size with option settings.
NullWriter - Class in org.apache.commons.io.output
This Writer writes all data to the famous /dev/null.
NullWriter() -