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, String) - Method in class org.apache.commons.io.filefilter.RegexFileFilter
Checks to see if the filename matches one of the regular expressions.
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<IOFileFilter>) - 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.
append(char) - Method in class org.apache.commons.io.output.NullWriter
Does nothing - output to /dev/null.
append(CharSequence, int, int) - Method in class org.apache.commons.io.output.NullWriter
Does nothing - output to /dev/null.
append(CharSequence) - Method in class org.apache.commons.io.output.NullWriter
Does nothing - output to /dev/null.
append(char) - Method in class org.apache.commons.io.output.ProxyWriter
Invokes the delegate's append(char) method.
append(CharSequence, int, int) - Method in class org.apache.commons.io.output.ProxyWriter
Invokes the delegate's append(CharSequence, int, int) method.
append(CharSequence) - Method in class org.apache.commons.io.output.ProxyWriter
Invokes the delegate's append(CharSequence) method.
append(char) - Method in class org.apache.commons.io.output.StringBuilderWriter
Append a single character to this Writer.
append(CharSequence) - Method in class org.apache.commons.io.output.StringBuilderWriter
Append a character sequence to this Writer.
append(CharSequence, int, int) - Method in class org.apache.commons.io.output.StringBuilderWriter
Append a portion of a character sequence to the StringBuilder.
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.
AutoCloseInputStream - Class in org.apache.commons.io.input
Proxy stream that closes and discards the underlying stream as soon as the end of input has been reached or when the stream is explicitly closed.
AutoCloseInputStream(InputStream) - Constructor for class org.apache.commons.io.input.AutoCloseInputStream
Creates an automatically closing proxy for the given input stream.
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
Invokes the delegate's available() method.

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.
CharSequenceReader - Class in org.apache.commons.io.input
Reader implementation that can read from String, StringBuffer, StringBuilder or CharBuffer.
CharSequenceReader(CharSequence) - Constructor for class org.apache.commons.io.input.CharSequenceReader
Construct a new instance with the specified character sequence.
checkCompareTo(String, String) - Method in class org.apache.commons.io.IOCase
Compares two strings using the case-sensitivity rule.
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
Cleans a directory without deleting it.
close() - Method in class org.apache.commons.io.input.AutoCloseInputStream
Closes the underlying input stream and replaces the reference to it with a ClosedInputStream instance.
close() - Method in class org.apache.commons.io.input.CharSequenceReader
Close resets the file back to the start and removes any marked position.
close() - Method in class org.apache.commons.io.input.CloseShieldInputStream
Replaces the underlying input stream with a ClosedInputStream sentinel.
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
Invokes the delegate's close() method.
close() - Method in class org.apache.commons.io.input.ProxyReader
Invokes the delegate's close() method.
close() - Method in class org.apache.commons.io.input.TeeInputStream
Closes the proxied input stream and, if so configured, the associated output stream.
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.CloseShieldOutputStream
Replaces the underlying output stream with a ClosedOutputStream sentinel.
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.FileWriterWithEncoding
Close the stream.
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
Invokes the delegate's close() method.
close() - Method in class org.apache.commons.io.output.ProxyWriter
Invokes the delegate's close() method.
close() - Method in class org.apache.commons.io.output.StringBuilderWriter
Closing this writer has no effect.
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.
CLOSED_INPUT_STREAM - Static variable in class org.apache.commons.io.input.ClosedInputStream
A singleton.
CLOSED_OUTPUT_STREAM - Static variable in class org.apache.commons.io.output.ClosedOutputStream
A singleton.
ClosedInputStream - Class in org.apache.commons.io.input
Closed input stream.
ClosedInputStream() - Constructor for class org.apache.commons.io.input.ClosedInputStream
 
ClosedOutputStream - Class in org.apache.commons.io.output
Closed output stream.
ClosedOutputStream() - Constructor for class org.apache.commons.io.output.ClosedOutputStream
 
closeQuietly(Reader) - Static method in class org.apache.commons.io.IOUtils
Unconditionally close an Reader.
closeQuietly(Channel) - Static method in class org.apache.commons.io.IOUtils
Unconditionally close a Channel.
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.
CloseShieldInputStream - Class in org.apache.commons.io.input
Proxy stream that prevents the underlying input stream from being closed.
CloseShieldInputStream(InputStream) - Constructor for class org.apache.commons.io.input.CloseShieldInputStream
Creates a proxy that shields the given input stream from being closed.
CloseShieldOutputStream - Class in org.apache.commons.io.output
Proxy stream that prevents the underlying output stream from being closed.
CloseShieldOutputStream(OutputStream) - Constructor for class org.apache.commons.io.output.CloseShieldOutputStream
Creates a proxy that shields the given output stream from being closed.
compare(File, File) - Method in class org.apache.commons.io.comparator.DefaultFileComparator
Compare the two files using the File.compareTo(File) method.
compare(File, File) - Method in class org.apache.commons.io.comparator.ExtensionFileComparator
Compare the extensions of two files the specified case sensitivity.
compare(File, File) - Method in class org.apache.commons.io.comparator.LastModifiedFileComparator
Compare the last the last modified date/time of two files.
compare(File, File) - Method in class org.apache.commons.io.comparator.NameFileComparator
Compare the names of two files with the specified case sensitivity.
compare(File, File) - Method in class org.apache.commons.io.comparator.PathFileComparator
Compare the paths of two files the specified case sensitivity.
compare(File, File) - Method in class org.apache.commons.io.comparator.SizeFileComparator
Compare the length of two files.
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
Compares 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<File>) - 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.
copyDirectory(File, File, FileFilter) - Static method in class org.apache.commons.io.FileUtils
Copies a filtered directory to a new location preserving the file dates.
copyDirectory(File, File, FileFilter, boolean) - Static method in class org.apache.commons.io.FileUtils
Copies a filtered 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

DEFAULT_COMPARATOR - Static variable in class org.apache.commons.io.comparator.DefaultFileComparator
Singleton default comparator instance
DEFAULT_REVERSE - Static variable in class org.apache.commons.io.comparator.DefaultFileComparator
Singleton reverse default comparator instance
DefaultFileComparator - Class in org.apache.commons.io.comparator
Compare two files using the default File.compareTo(File) method.
DefaultFileComparator() - Constructor for class org.apache.commons.io.comparator.DefaultFileComparator
 
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.
DeferredFileOutputStream(int, String, String, 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 temporary 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
Deletes a directory recursively.
deleteQuietly(File) - Method in class org.apache.commons.io.FileDeleteStrategy
Deletes the file object, which may be a file or a directory.
deleteQuietly(File) - Static method in class org.apache.commons.io.FileUtils
Deletes a file, never throwing an exception.
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
Deprecated. Use FileCleaningTracker.exitWhenFinished().
exitWhenFinished() - Method in class org.apache.commons.io.FileCleaningTracker
Call this method to cause the file cleaner thread to terminate when there are no more objects being tracked for deletion.
EXTENSION_COMPARATOR - Static variable in class org.apache.commons.io.comparator.ExtensionFileComparator
Case-sensitive extension comparator instance (see IOCase.SENSITIVE)
EXTENSION_INSENSITIVE_COMPARATOR - Static variable in class org.apache.commons.io.comparator.ExtensionFileComparator
Case-insensitive extension comparator instance (see IOCase.INSENSITIVE)
EXTENSION_INSENSITIVE_REVERSE - Static variable in class org.apache.commons.io.comparator.ExtensionFileComparator
Reverse case-insensitive extension comparator instance (see IOCase.INSENSITIVE)
EXTENSION_REVERSE - Static variable in class org.apache.commons.io.comparator.ExtensionFileComparator
Reverse case-sensitive extension comparator instance (see IOCase.SENSITIVE)
EXTENSION_SEPARATOR - Static variable in class org.apache.commons.io.FilenameUtils
The extension separator character.
EXTENSION_SEPARATOR_STR - Static variable in class org.apache.commons.io.FilenameUtils
The extension separator String.
EXTENSION_SYSTEM_COMPARATOR - Static variable in class org.apache.commons.io.comparator.ExtensionFileComparator
System sensitive extension comparator instance (see IOCase.SYSTEM)
EXTENSION_SYSTEM_REVERSE - Static variable in class org.apache.commons.io.comparator.ExtensionFileComparator
Reverse system sensitive path comparator instance (see IOCase.SYSTEM)
ExtensionFileComparator - Class in org.apache.commons.io.comparator
Compare the file name extensions for order (see FilenameUtils.getExtension(String)).
ExtensionFileComparator() - Constructor for class org.apache.commons.io.comparator.ExtensionFileComparator
Construct a case sensitive file extension comparator instance.
ExtensionFileComparator(IOCase) - Constructor for class org.apache.commons.io.comparator.ExtensionFileComparator
Construct a file extension comparator instance with the specified case-sensitivity.

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
Deprecated. Use FileCleaningTracker
FileCleaner() - Constructor for class org.apache.commons.io.FileCleaner
Deprecated.  
FileCleaningTracker - 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.
FileCleaningTracker() - Constructor for class org.apache.commons.io.FileCleaningTracker
 
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.
FileWriterWithEncoding - Class in org.apache.commons.io.output
Writer of files that allows the encoding to be set.
FileWriterWithEncoding(String, String) - Constructor for class org.apache.commons.io.output.FileWriterWithEncoding
Constructs a FileWriterWithEncoding with a file encoding.
FileWriterWithEncoding(String, String, boolean) - Constructor for class org.apache.commons.io.output.FileWriterWithEncoding
Constructs a FileWriterWithEncoding with a file encoding.
FileWriterWithEncoding(String, Charset) - Constructor for class org.apache.commons.io.output.FileWriterWithEncoding
Constructs a FileWriterWithEncoding with a file encoding.
FileWriterWithEncoding(String, Charset, boolean) - Constructor for class org.apache.commons.io.output.FileWriterWithEncoding
Constructs a FileWriterWithEncoding with a file encoding.
FileWriterWithEncoding(String, CharsetEncoder) - Constructor for class org.apache.commons.io.output.FileWriterWithEncoding
Constructs a FileWriterWithEncoding with a file encoding.
FileWriterWithEncoding(String, CharsetEncoder, boolean) - Constructor for class org.apache.commons.io.output.FileWriterWithEncoding
Constructs a FileWriterWithEncoding with a file encoding.
FileWriterWithEncoding(File, String) - Constructor for class org.apache.commons.io.output.FileWriterWithEncoding
Constructs a FileWriterWithEncoding with a file encoding.
FileWriterWithEncoding(File, String, boolean) - Constructor for class org.apache.commons.io.output.FileWriterWithEncoding
Constructs a FileWriterWithEncoding with a file encoding.
FileWriterWithEncoding(File, Charset) - Constructor for class org.apache.commons.io.output.FileWriterWithEncoding
Constructs a FileWriterWithEncoding with a file encoding.
FileWriterWithEncoding(File, Charset, boolean) - Constructor for class org.apache.commons.io.output.FileWriterWithEncoding
Constructs a FileWriterWithEncoding with a file encoding.
FileWriterWithEncoding(File, CharsetEncoder) - Constructor for class org.apache.commons.io.output.FileWriterWithEncoding
Constructs a FileWriterWithEncoding with a file encoding.
FileWriterWithEncoding(File, CharsetEncoder, boolean) - Constructor for class org.apache.commons.io.output.FileWriterWithEncoding
Constructs a FileWriterWithEncoding with a file encoding.
finalize() - Method in class org.apache.commons.io.input.AutoCloseInputStream
Ensures that the stream is closed before it gets garbage-collected.
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.FileWriterWithEncoding
Flush the stream.
flush() - Method in class org.apache.commons.io.output.LockableFileWriter
Flush the stream.
flush() - Method in class org.apache.commons.io.output.NullWriter
 
flush() - Method in class org.apache.commons.io.output.ProxyOutputStream
Invokes the delegate's flush() method.
flush() - Method in class org.apache.commons.io.output.ProxyWriter
Invokes the delegate's flush() method.
flush() - Method in class org.apache.commons.io.output.StringBuilderWriter
Flushing this writer has no effect.
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
Deletes a file.
forceDeleteOnExit(File) - Static method in class org.apache.commons.io.FileUtils
Schedules a file to be deleted when JVM exits.
forceMkdir(File) - Static method in class org.apache.commons.io.FileUtils
Makes 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.
getBuilder() - Method in class org.apache.commons.io.output.StringBuilderWriter
Return the underlying builder.
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 either the output file specified in the constructor or the temporary file created or null.
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.
getInstance() - Static method in class org.apache.commons.io.FileCleaner
Deprecated. Returns the singleton instance, which is used by the deprecated, static methods.
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
Deprecated. Use FileCleaningTracker.getTrackCount().
getTrackCount() - Method in class org.apache.commons.io.FileCleaningTracker
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.