Alphabetical Index

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

_

_hexcodes - static field in class org.apache.commons.io.HexDump
_shifts - static field in class org.apache.commons.io.HexDump

A

AbstractFileFilter - class org.apache.commons.io.filefilter.AbstractFileFilter
An abstract class which implements the Java FileFilter and FilenameFilter interfaces via the IOFileFilter interface.
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) - 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
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) - 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) - 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 class 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) - 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
accept(File) - 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) - method in class org.apache.commons.io.filefilter.TrueFileFilter
Returns true.
accept(File) - 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.WildcardFilter
Checks to see if the filename matches one of the wildcards.
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,String) - method in class org.apache.commons.io.filefilter.AndFileFilter
accept(File,String) - method in class org.apache.commons.io.filefilter.DelegateFileFilter
Checks the filter.
accept(File,String) - method in class org.apache.commons.io.filefilter.FalseFileFilter
Returns false.
accept(File,String) - method in class org.apache.commons.io.filefilter.IOFileFilter
Checks to see if the File should be accepted by this filter.
accept(File,String) - 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.NotFileFilter
Checks to see if both filters are true.
accept(File,String) - method in class org.apache.commons.io.filefilter.OrFileFilter
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,String) - 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.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,String) - method in class org.apache.commons.io.filefilter.WildcardFilter
Checks to see if the filename matches one of the wildcards.
acceptLarger - field in class org.apache.commons.io.filefilter.SizeFileFilter
Whether the files accepted will be larger or smaller.
acceptOlder - field in class org.apache.commons.io.filefilter.AgeFileFilter
Whether the files accepted will be older or newer.
addFileFilter(org.apache.commons.io.filefilter.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(org.apache.commons.io.filefilter.IOFileFilter) - method in class org.apache.commons.io.filefilter.OrFileFilter
Adds a tracker to the list of trackers.
AgeFileFilter - class org.apache.commons.io.filefilter.AgeFileFilter
Filters files based on a cutoff time, can filter either newer files or files equal to or older.
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) - 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) - 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(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) - 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) - 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) - 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(File,boolean) - static method in class org.apache.commons.io.filefilter.FileFilterUtils
Returns a filter that filters files based on a cutoff reference file.
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) - 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) - 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(long,boolean) - static method in class org.apache.commons.io.filefilter.FileFilterUtils
Returns a filter that filters files based on a cutoff time.
AndFileFilter - class org.apache.commons.io.filefilter.AndFileFilter
A java.io.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.
Constructs a new file filter that ANDs the result of two other filters.
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.
AutoCloseInputStream - class org.apache.commons.io.input.AutoCloseInputStream
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 - field in class org.apache.commons.io.input.TeeInputStream
The output stream that will receive a copy of all bytes read from the proxied input stream.
branch - field in class org.apache.commons.io.output.TeeOutputStream
the second OutputStream to write to
bufferedReader - field in class org.apache.commons.io.LineIterator
The reader that is being read.
buffers - field in class org.apache.commons.io.output.ByteArrayOutputStream
The list of buffers, which grows and never reduces.
ByteArrayOutputStream - class org.apache.commons.io.output.ByteArrayOutputStream
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

cachedLine - field in class org.apache.commons.io.LineIterator
The current line.
CAN_READ - static field in class org.apache.commons.io.filefilter.CanReadFileFilter
Singleton instance of readable filter
CAN_WRITE - static field in class org.apache.commons.io.filefilter.CanWriteFileFilter
Singleton instance of writable filter
CancelException is thrown in DirectoryWalker to cancel the current processing.
CancelException(File,int) - constructor for class org.apache.commons.io.DirectoryWalker.CancelException
Constructs a CancelException with the file and depth when cancellation occurred.
CancelException(String,File,int) - constructor for class org.apache.commons.io.DirectoryWalker.CancelException
Constructs a CancelException with an appropriate message and the file and depth when cancellation occurred.
CANNOT_READ - static field in class org.apache.commons.io.filefilter.CanReadFileFilter
Singleton instance of not readable filter
CANNOT_WRITE - static field in class org.apache.commons.io.filefilter.CanWriteFileFilter
Singleton instance of not writable filter
CanReadFileFilter - class org.apache.commons.io.filefilter.CanReadFileFilter
This filter accepts Files that can be read.
CanReadFileFilter() - constructor for class org.apache.commons.io.filefilter.CanReadFileFilter
Restrictive consructor.
CanWriteFileFilter - class org.apache.commons.io.filefilter.CanWriteFileFilter
This filter accepts Files that can be written to.
CanWriteFileFilter() - constructor for class org.apache.commons.io.filefilter.CanWriteFileFilter
Restrictive consructor.
caseSensitivity - field in class org.apache.commons.io.comparator.ExtensionFileComparator
Whether the comparison is case sensitive.
caseSensitivity - field in class org.apache.commons.io.comparator.NameFileComparator
Whether the comparison is case sensitive.
caseSensitivity - field in class org.apache.commons.io.filefilter.NameFileFilter
Whether the comparison is case sensitive.
caseSensitivity - field in class org.apache.commons.io.comparator.PathFileComparator
Whether the comparison is case sensitive.
caseSensitivity - field in class org.apache.commons.io.filefilter.PrefixFileFilter
Whether the comparison is case sensitive.
caseSensitivity - field in class org.apache.commons.io.filefilter.SuffixFileFilter
Whether the comparison is case sensitive.
caseSensitivity - field in class org.apache.commons.io.filefilter.WildcardFileFilter
Whether the comparison is case sensitive.
charSequence - field in class org.apache.commons.io.input.CharSequenceReader
CharSequenceReader - class org.apache.commons.io.input.CharSequenceReader
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 handleIsCancelled(File,int,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.
classLoader - field in class org.apache.commons.io.input.ClassLoaderObjectInputStream
The class loader to use.
A special ObjectInputStream that loads a class based on a specified ClassLoader rather than the system default.
Constructs a new ClassLoaderObjectInputStream.
cleanDirectory(File) - static method in class org.apache.commons.io.FileUtils
Cleans a directory without deleting it.
cleanDirectoryOnExit(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.output.ByteArrayOutputStream
Closing a ByteArrayOutputStream has no effect.
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.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.input.DemuxInputStream
Closes stream associated with current thread.
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.LineIterator
Closes the underlying Reader quietly.
close() - method in class org.apache.commons.io.output.LockableFileWriter
Closes the file writer.
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.output.NullWriter
close() - method in class org.apache.commons.io.input.ProxyInputStream
Invokes the delegate's close() method.
close() - method in class org.apache.commons.io.output.ProxyOutputStream
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.output.ProxyWriter
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.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.
closeBranch - field in class org.apache.commons.io.input.TeeInputStream
Flag for closing also the associated output stream when this stream is closed.
closed - field in class org.apache.commons.io.output.DeferredFileOutputStream
True when close() has been called successfully.
CLOSED_INPUT_STREAM - static field in class org.apache.commons.io.input.ClosedInputStream
A singleton.
CLOSED_OUTPUT_STREAM - static field in class org.apache.commons.io.output.ClosedOutputStream
A singleton.
ClosedInputStream - class org.apache.commons.io.input.ClosedInputStream
Closed input stream.
ClosedOutputStream - class org.apache.commons.io.output.ClosedOutputStream
Closed output stream.
closeQuietly(InputStream) - static method in class org.apache.commons.io.IOUtils
Unconditionally close an InputStream.
closeQuietly(org.apache.commons.io.LineIterator) - static method in class org.apache.commons.io.LineIterator
Closes the iterator, handling null and ignoring exceptions.
closeQuietly(OutputStream) - static method in class org.apache.commons.io.IOUtils
Unconditionally close an OutputStream.
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.
CloseShieldInputStream - class org.apache.commons.io.input.CloseShieldInputStream
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 org.apache.commons.io.output.CloseShieldOutputStream
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(Object,Object) - method in class org.apache.commons.io.comparator.DefaultFileComparator
Compare the two files using the File.compareTo(File) method.
compare(Object,Object) - method in class org.apache.commons.io.comparator.ExtensionFileComparator
Compare the extensions of two files the specified case sensitivity.
compare(Object,Object) - method in class org.apache.commons.io.comparator.LastModifiedFileComparator
Compare the last the last modified date/time of two files.
compare(Object,Object) - method in class org.apache.commons.io.comparator.NameFileComparator
Compare the names of two files with the specified case sensitivity.
compare(Object,Object) - method in class org.apache.commons.io.comparator.PathFileComparator
Compare the paths of two files the specified case sensitivity.
compare(Object,Object) - method in class org.apache.commons.io.comparator.ReverseComparator
Compare using the delegate Comparator, but reversing the result.
compare(Object,Object) - 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 org.apache.commons.io.filefilter.ConditionalFileFilter
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.
convertCase(String) - method in class org.apache.commons.io.IOCase
Converts the case of the input String to a standard format.
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
Copy bytes from a byte[] to an OutputStream.
copy(byte[],Writer) - static method in class org.apache.commons.io.CopyUtils
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
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
Copy bytes from an InputStream to an OutputStream.
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.CopyUtils
Copy and convert bytes from an InputStream to chars on a Writer.
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.CopyUtils
Copy and convert bytes from an InputStream to chars on a Writer, using the specified encoding.
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,OutputStream) - static method in class org.apache.commons.io.CopyUtils
Serialize chars from a Reader to bytes on an OutputStream, and flush the OutputStream.
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.
copy(Reader,Writer) - static method in class org.apache.commons.io.CopyUtils
Copy chars from a Reader to a Writer.
copy(Reader,Writer) - static method in class org.apache.commons.io.IOUtils
Copy chars from a Reader to a Writer.
copy(String,OutputStream) - static method in class org.apache.commons.io.CopyUtils
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
Copy chars from a String to a Writer.
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 org.apache.commons.io.CopyUtils
This class provides static utility methods for buffered copying between sources (InputStream, Reader, String and byte[]) and destinations (OutputStream, Writer, String and byte[]).
CopyUtils() - constructor for class org.apache.commons.io.CopyUtils
Instances should NOT be constructed in standard programming.
count - field in class org.apache.commons.io.output.ByteArrayOutputStream
The total count of bytes written.
count - field in class org.apache.commons.io.input.CountingInputStream
The count of bytes that have passed.
count - field in class org.apache.commons.io.output.CountingOutputStream
The count of bytes that have passed.
CountingInputStream - class org.apache.commons.io.input.CountingInputStream
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 org.apache.commons.io.output.CountingOutputStream
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.
createLock() - method in class org.apache.commons.io.output.LockableFileWriter
Creates the lock file.
currentBuffer - field in class org.apache.commons.io.output.ByteArrayOutputStream
The current buffer.
currentBufferIndex - field in class org.apache.commons.io.output.ByteArrayOutputStream
The index of the current buffer.
currentOutputStream - field in class org.apache.commons.io.output.DeferredFileOutputStream
The output stream to which data will be written at any given time.
cutoff - field in class org.apache.commons.io.filefilter.AgeFileFilter
The cutoff time threshold.
cvsFilter - static field in class org.apache.commons.io.filefilter.FileFilterUtils

D

DEFAULT_BUFFER_SIZE - static field in class org.apache.commons.io.CopyUtils
The default size of the buffer.
DEFAULT_BUFFER_SIZE - static field in class org.apache.commons.io.IOUtils
The default buffer size to use.
DEFAULT_COMPARATOR - static field in class org.apache.commons.io.comparator.DefaultFileComparator
Singleton default comparator instance
DEFAULT_REVERSE - static field in class org.apache.commons.io.comparator.DefaultFileComparator
Singleton reverse default comparator instance
DefaultFileComparator - class org.apache.commons.io.comparator.DefaultFileComparator
Compare two files using the default File.compareTo(File) method.
DeferredFileOutputStream - class org.apache.commons.io.output.DeferredFileOutputStream
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.
delegate - field in class org.apache.commons.io.comparator.ReverseComparator
DelegateFileFilter - class org.apache.commons.io.filefilter.DelegateFileFilter
This class turns a Java FileFilter or FilenameFilter into an IO FileFilter.
DelegateFileFilter(FileFilter) - constructor for class org.apache.commons.io.filefilter.DelegateFileFilter
Constructs a delegate file filter around an existing FileFilter.
DelegateFileFilter(FilenameFilter) - constructor for class org.apache.commons.io.filefilter.DelegateFileFilter
Constructs a delegate file filter around an existing FilenameFilter.
delete() - method in class org.apache.commons.io.FileCleaningTracker.Tracker
Deletes the file associated with this tracker instance.
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.
deleteDirectoryOnExit(File) - static method in class org.apache.commons.io.FileUtils
Schedules a directory recursively for deletion on JVM exit.
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.
deleteStrategy - field in class org.apache.commons.io.FileCleaningTracker.Tracker
The strategy for deleting files.
DemuxInputStream - class org.apache.commons.io.input.DemuxInputStream
Data written to this stream is forwarded to a stream that has been associated with this thread.
DemuxOutputStream - class org.apache.commons.io.output.DemuxOutputStream
Data written to this stream is forwarded to a stream that has been associated with this thread.
depth - field in class org.apache.commons.io.DirectoryWalker.CancelException
The file depth when the exception was thrown.
depthLimit - field in class org.apache.commons.io.DirectoryWalker
The limit on the directory depth to walk.
DIR_SEPARATOR - static field in class org.apache.commons.io.IOUtils
The system directory separator character.
DIR_SEPARATOR_UNIX - static field in class org.apache.commons.io.IOUtils
The Unix directory separator character.
DIR_SEPARATOR_WINDOWS - static field in class org.apache.commons.io.IOUtils
The Windows directory separator character.
directory - field in class org.apache.commons.io.output.DeferredFileOutputStream
The directory to use for temporary files.
DIRECTORY - static field in class org.apache.commons.io.filefilter.DirectoryFileFilter
Singleton instance of directory filter.
DirectoryFileFilter - class org.apache.commons.io.filefilter.DirectoryFileFilter
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 org.apache.commons.io.DirectoryWalker
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.
Construct an instance with a directory and a file filter and an optional limit on the depth navigated to.
doCopyDirectory(File,File,FileFilter,boolean,List) - static method in class org.apache.commons.io.FileUtils
Internal copy directory method.
doCopyFile(File,File,boolean) - static method in class org.apache.commons.io.FileUtils
Internal copy file method.
doDelete(File) - method in class org.apache.commons.io.FileDeleteStrategy
Actually deletes the file object, which may be a file or a directory.
doDelete(File) - method in class org.apache.commons.io.FileDeleteStrategy.ForceFileDeleteStrategy
Deletes the file object.
doEndOfFile() - method in class org.apache.commons.io.input.NullInputStream
Handle End of File.
doEndOfFile() - method in class org.apache.commons.io.input.NullReader
Handle End of File.
doGetFullPath(String,boolean) - static method in class org.apache.commons.io.FilenameUtils
Does the work of getting the path.
doGetPath(String,int) - static method in class org.apache.commons.io.FilenameUtils
Does the work of getting the path.
doNormalize(String,boolean) - static method in class org.apache.commons.io.FilenameUtils
Internal method to perform the normalization.
dump(byte[],long,OutputStream,int) - static method in class org.apache.commons.io.HexDump
Dump an array of bytes to an OutputStream.
dump(StringBuffer,byte) - static method in class org.apache.commons.io.HexDump
Dump a byte value into a StringBuffer.
dump(StringBuffer,long) - static method in class org.apache.commons.io.HexDump
Dump a long value into a StringBuffer.

E

EMPTY - static field in class org.apache.commons.io.filefilter.EmptyFileFilter
Singleton instance of empty filter
EMPTY_BYTE_ARRAY - static field in class org.apache.commons.io.output.ByteArrayOutputStream
A singleton empty byte array.
EMPTY_FILE_ARRAY - static field in class org.apache.commons.io.FileUtils
An empty array of type File.
EmptyFileFilter - class org.apache.commons.io.filefilter.EmptyFileFilter
This filter accepts files or directories that are empty.
EmptyFileFilter() - constructor for class org.apache.commons.io.filefilter.EmptyFileFilter
Restrictive consructor.
EndianUtils - class org.apache.commons.io.EndianUtils
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.
eof - field in class org.apache.commons.io.input.NullInputStream
eof - field in class org.apache.commons.io.input.NullReader
EOL - static field 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,org.apache.commons.io.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 - field in class org.apache.commons.io.FileCleaningTracker
Whether to terminate the thread when the tracking is complete.
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.
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 field in class org.apache.commons.io.comparator.ExtensionFileComparator
Case-sensitive extension comparator instance (see IOCase.SENSITIVE)
EXTENSION_INSENSITIVE_COMPARATOR - static field in class org.apache.commons.io.comparator.ExtensionFileComparator
Case-insensitive extension comparator instance (see IOCase.INSENSITIVE)
EXTENSION_INSENSITIVE_REVERSE - static field in class org.apache.commons.io.comparator.ExtensionFileComparator
Reverse case-insensitive extension comparator instance (see IOCase.INSENSITIVE)
EXTENSION_REVERSE - static field in class org.apache.commons.io.comparator.ExtensionFileComparator
Reverse case-sensitive extension comparator instance (see IOCase.SENSITIVE)
EXTENSION_SEPARATOR - static field in class org.apache.commons.io.FilenameUtils
The extension separator character.
EXTENSION_SEPARATOR_STR - static field in class org.apache.commons.io.FilenameUtils
The extension separator String.
EXTENSION_SYSTEM_COMPARATOR - static field in class org.apache.commons.io.comparator.ExtensionFileComparator
System sensitive extension comparator instance (see IOCase.SYSTEM)
EXTENSION_SYSTEM_REVERSE - static field in class org.apache.commons.io.comparator.ExtensionFileComparator
Reverse system sensitive path comparator instance (see IOCase.SYSTEM)
ExtensionFileComparator - class org.apache.commons.io.comparator.ExtensionFileComparator
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(org.apache.commons.io.IOCase) - constructor for class org.apache.commons.io.comparator.ExtensionFileComparator
Construct a file extension comparator instance with the specified case-sensitivity.

F

FALSE - static field in class org.apache.commons.io.filefilter.FalseFileFilter
Singleton instance of false filter.
FalseFileFilter - class org.apache.commons.io.filefilter.FalseFileFilter
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 - field in class org.apache.commons.io.DirectoryWalker.CancelException
The file being processed when the exception was thrown.
FILE - static field in class org.apache.commons.io.filefilter.FileFileFilter
Singleton instance of file filter
FileCleaner - class org.apache.commons.io.FileCleaner
Keeps track of files awaiting deletion, and deletes them when an associated marker object is reclaimed by the garbage collector.
FileCleaningTracker - class org.apache.commons.io.FileCleaningTracker
Keeps track of files awaiting deletion, and deletes them when an associated marker object is reclaimed by the garbage collector.
FileDeleteStrategy - class org.apache.commons.io.FileDeleteStrategy
Strategy for deleting files.
FileDeleteStrategy(String) - constructor for class org.apache.commons.io.FileDeleteStrategy
Restricted constructor.
FileFileFilter - class org.apache.commons.io.filefilter.FileFileFilter
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).
fileFilter - field in class org.apache.commons.io.filefilter.DelegateFileFilter
The File filter
fileFilters - field in class org.apache.commons.io.filefilter.AndFileFilter
The list of file filters.
fileFilters - field in class org.apache.commons.io.filefilter.OrFileFilter
The list of file filters.
FileFilterUtils - class org.apache.commons.io.filefilter.FileFilterUtils
Useful utilities for working with file filters.
FileFilterUtils() - constructor for class org.apache.commons.io.filefilter.FileFilterUtils
FileFilterUtils is not normally instantiated.
filenameFilter - field in class org.apache.commons.io.filefilter.DelegateFileFilter
The Filename filter
FilenameUtils - class org.apache.commons.io.FilenameUtils
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 org.apache.commons.io.FileSystemUtils
General File System utilities.
FileSystemUtils() - constructor for class org.apache.commons.io.FileSystemUtils
Instances should NOT be constructed in standard programming.
FileUtils - class org.apache.commons.io.FileUtils
General file manipulation utilities.
FileUtils() - constructor for class org.apache.commons.io.FileUtils
Instances should NOT be constructed in standard programming.
FileWriterWithEncoding - class org.apache.commons.io.output.FileWriterWithEncoding
Writer of files that allows the encoding to be set.
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.
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(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(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.
filledBufferSum - field in class org.apache.commons.io.output.ByteArrayOutputStream
The total count of bytes in all the filled buffers.
filter - field in class org.apache.commons.io.DirectoryWalker
The file filter to use to filter files and directories.
filter - field in class org.apache.commons.io.filefilter.NotFileFilter
The filter
finalize() - method in class org.apache.commons.io.input.AutoCloseInputStream
Ensures that the stream is closed before it gets garbage-collected.
finished - field in class org.apache.commons.io.LineIterator
A flag indicating if the iterator has been fully read.
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.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 field 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.
Force file deletion strategy.
ForceFileDeleteStrategy() - constructor for class org.apache.commons.io.FileDeleteStrategy.ForceFileDeleteStrategy
Default Constructor
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
Returns the free space on a drive or volume by invoking the command line.
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.
freeSpaceOS(String,int,boolean) - method in class org.apache.commons.io.FileSystemUtils
Returns the free space on a drive or volume in a cross-platform manner.
freeSpaceUnix(String,boolean,boolean) - method in class org.apache.commons.io.FileSystemUtils
Find free space on the *nix platform using the 'df' command.
freeSpaceWindows(String) - method in class org.apache.commons.io.FileSystemUtils
Find free space on the Windows platform using the 'dir' command.

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.
getBuffer(int) - method in class org.apache.commons.io.output.ByteArrayOutputStream
Return the appropriate byte[] buffer specified by index.
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 class 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 class org.apache.commons.io.output.DeferredFileOutputStream
Returns either the output file specified in the constructor or the temporary file created or null.
getFile() - method in class org.apache.commons.io.DirectoryWalker.CancelException
Return the file when the operation was cancelled.
getFileFilters() - method in class org.apache.commons.io.filefilter.AndFileFilter
getFileFilters() - method in class 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
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
Returns the singleton instance, which is used by the deprecated, static methods.
getName() - method in class org.apache.commons.io.IOCase
Gets the name of the constant.
getName(String) - static method in class org.apache.commons.io.FilenameUtils
Gets the name minus the path from a full filename.
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.input.DemuxInputStream
Utility method to retrieve stream bound to current thread (if any).
getStream() - method in class org.apache.commons.io.output.DemuxOutputStream
Utility method to retrieve stream bound to current thread (if any).
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.
getTrackCount() - method in class org.apache.commons.io.FileCleaningTracker
Retrieve the number of files currently being tracked, and therefore awaiting deletion.

H

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 org.apache.commons.io.HexDump
Dumps data in hexadecimal format.
HexDump() - constructor for class org.apache.commons.io.HexDump
Instances should NOT be constructed in standard programming.
HIDDEN - static field in class org.apache.commons.io.filefilter.HiddenFileFilter
Singleton instance of hidden filter
HiddenFileFilter - class org.apache.commons.io.filefilter.HiddenFileFilter
This filter accepts Files that are hidden.
HiddenFileFilter() - constructor for class org.apache.commons.io.filefilter.HiddenFileFilter
Restrictive consructor.

I

idx - field in class org.apache.commons.io.input.CharSequenceReader
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.
INIT_PROBLEM - static field in class org.apache.commons.io.FileSystemUtils
Operating system state flag for error.
initWriter(File,Object,boolean) - static method in class org.apache.commons.io.output.FileWriterWithEncoding
Initialise the wrapped file writer.
initWriter(File,String,boolean) - method in class org.apache.commons.io.output.LockableFileWriter
Initialise the wrapped file writer.
Finds files within a given directory (and optionally its subdirectories).
INSENSITIVE - static field in class org.apache.commons.io.IOCase
The constant for case insensitive regardless of operating system.
INSTANCE - static field in class org.apache.commons.io.filefilter.DirectoryFileFilter
Singleton instance of directory filter.
INSTANCE - static field in class org.apache.commons.io.filefilter.FalseFileFilter
Singleton instance of false filter.
INSTANCE - static field in class org.apache.commons.io.FileSystemUtils
Singleton instance, used mainly for testing.
INSTANCE - static field in class org.apache.commons.io.filefilter.TrueFileFilter
Singleton instance of true filter.
IOCase - class org.apache.commons.io.IOCase
Enumeration of IO case sensitivity.
IOCase(String,boolean) - constructor for class org.apache.commons.io.IOCase
Private constructor.
IOExceptionWithCause - class org.apache.commons.io.IOExceptionWithCause
Subclasses IOException with the Throwable constructors missing before Java 6.
IOExceptionWithCause(String,Throwable) - constructor for class org.apache.commons.io.IOExceptionWithCause
Constructs a new instance with the given message and cause.
IOExceptionWithCause(Throwable) - constructor for class org.apache.commons.io.IOExceptionWithCause
Constructs a new instance with the given cause.
IOFileFilter - interface org.apache.commons.io.filefilter.IOFileFilter
An interface which brings the FileFilter and FilenameFilter interfaces together.
IOUtils - class org.apache.commons.io.IOUtils
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,Collection) - static method in class org.apache.commons.io.FilenameUtils
Checks whether the extension of the filename is one of those specified.
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.
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,File) - static method in class org.apache.commons.io.FileUtils
Tests if the specified File is newer than the reference File.
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,Date) - static method in class org.apache.commons.io.FileUtils
Tests if the specified File is older than the specified Date.
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,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.
isSeparator(char) - static method in class org.apache.commons.io.FilenameUtils
Checks if the character is a separator.
isSystemWindows() - static method in class org.apache.commons.io.FilenameUtils
Determines if Windows file system is in use.
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.
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

LASTMODIFIED_COMPARATOR - static field in class org.apache.commons.io.comparator.LastModifiedFileComparator
Last modified comparator instance
LASTMODIFIED_REVERSE - static field in class org.apache.commons.io.comparator.LastModifiedFileComparator
Reverse last modified comparator instance
LastModifiedFileComparator - class org.apache.commons.io.comparator.LastModifiedFileComparator
Compare the last modified date/time of two files for order (see File.lastModified()).
LCK - static field in class org.apache.commons.io.output.LockableFileWriter
The extension for the lock file.
LINE_SEPARATOR - static field in class org.apache.commons.io.IOUtils
The system line separator string.
LINE_SEPARATOR_UNIX - static field in class org.apache.commons.io.IOUtils
The Unix line separator string.
LINE_SEPARATOR_WINDOWS - static field in class org.apache.commons.io.IOUtils
The Windows line separator string.
LineIterator - class org.apache.commons.io.LineIterator
An Iterator over the lines in a Reader.
lineIterator(File) - static method in class org.apache.commons.io.FileUtils
Returns an Iterator for the lines in a File using the default encoding for the VM.
lineIterator(File,String) - static method in class org.apache.commons.io.FileUtils
Returns an Iterator for the lines in a File.
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(Reader) - static method in class org.apache.commons.io.IOUtils
Return an Iterator for the lines in a Reader.
LineIterator(Reader) - constructor for class org.apache.commons.io.LineIterator
Constructs an iterator of the lines for a Reader.
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 org.apache.commons.io.output.LockableFileWriter
FileWriter that will create and honor lock files to allow simple cross thread file lock handling.
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.
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.
lockFile - field in class org.apache.commons.io.output.LockableFileWriter
The lock file.

M

m_streams - field in class org.apache.commons.io.input.DemuxInputStream
m_streams - field in class org.apache.commons.io.output.DemuxOutputStream
makeCVSAware(org.apache.commons.io.filefilter.IOFileFilter) - static method in class org.apache.commons.io.filefilter.FileFilterUtils
Decorates a filter to make it ignore CVS directories.
makeDirectoryOnly(org.apache.commons.io.filefilter.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(org.apache.commons.io.filefilter.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(org.apache.commons.io.filefilter.IOFileFilter) - static method in class org.apache.commons.io.filefilter.FileFilterUtils
Decorates a filter to make it ignore SVN directories.
mark - field in class org.apache.commons.io.input.CharSequenceReader
mark - field in class org.apache.commons.io.input.NullInputStream
mark - field in class org.apache.commons.io.input.NullReader
mark(int) - method in class org.apache.commons.io.input.CharSequenceReader
Mark the current position.
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
Invokes the delegate's mark(int) method.
mark(int) - method in class org.apache.commons.io.input.ProxyReader
Invokes the delegate's mark(int) method.
markSupported - field in class org.apache.commons.io.input.NullInputStream
markSupported - field in class org.apache.commons.io.input.NullReader
markSupported() - method in class org.apache.commons.io.input.CharSequenceReader
Mark is supported (returns true).
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
Invokes the delegate's markSupported() method.
markSupported() - method in class org.apache.commons.io.input.ProxyReader
Invokes the delegate's markSupported() method.
memoryOutputStream - field in class org.apache.commons.io.output.DeferredFileOutputStream
The output stream to which data will be written prior to the theshold being reached.
moveDirectory(File,File) - static method in class org.apache.commons.io.FileUtils
Moves a directory.
moveDirectoryToDirectory(File,File,boolean) - static method in class org.apache.commons.io.FileUtils
Moves a directory to another directory.
moveFile(File,File) - static method in class org.apache.commons.io.FileUtils
Moves a file.
moveFileToDirectory(File,File,boolean) - static method in class org.apache.commons.io.FileUtils
Moves a file to a directory.
moveToDirectory(File,File,boolean) - static method in class org.apache.commons.io.FileUtils
Moves a file or directory to the destination directory.

N

name - field in class org.apache.commons.io.FileDeleteStrategy
The name of the strategy.
name - field in class org.apache.commons.io.IOCase
The enumeration name.
NAME_COMPARATOR - static field in class org.apache.commons.io.comparator.NameFileComparator
Case-sensitive name comparator instance (see IOCase.SENSITIVE)
NAME_INSENSITIVE_COMPARATOR - static field in class org.apache.commons.io.comparator.NameFileComparator
Case-insensitive name comparator instance (see IOCase.INSENSITIVE)
NAME_INSENSITIVE_REVERSE - static field in class org.apache.commons.io.comparator.NameFileComparator
Reverse case-insensitive name comparator instance (see IOCase.INSENSITIVE)
NAME_REVERSE - static field in class org.apache.commons.io.comparator.NameFileComparator
Reverse case-sensitive name comparator instance (see IOCase.SENSITIVE)
NAME_SYSTEM_COMPARATOR - static field in class org.apache.commons.io.comparator.NameFileComparator
System sensitive name comparator instance (see IOCase.SYSTEM)
NAME_SYSTEM_REVERSE - static field in class org.apache.commons.io.comparator.NameFileComparator
Reverse system sensitive name comparator instance (see IOCase.SYSTEM)
NameFileComparator - class org.apache.commons.io.comparator.NameFileComparator
Compare the names of two files for order (see File.getName()).
NameFileComparator() - constructor for class org.apache.commons.io.comparator.NameFileComparator
Construct a case sensitive file name comparator instance.
NameFileComparator(org.apache.commons.io.IOCase) - constructor for class org.apache.commons.io.comparator.NameFileComparator
Construct a file name comparator instance with the specified case-sensitivity.
NameFileFilter - class org.apache.commons.io.filefilter.NameFileFilter
Filters filenames for a certain name.
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,org.apache.commons.io.IOCase) - constructor for class org.apache.commons.io.filefilter.NameFileFilter
Constructs a new name file filter for a list of names specifying case-sensitivity.
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(String) - constructor for class org.apache.commons.io.filefilter.NameFileFilter
Constructs a new case-sensitive name file filter for a single name.
NameFileFilter(String,org.apache.commons.io.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[],org.apache.commons.io.IOCase) - constructor for class org.apache.commons.io.filefilter.NameFileFilter
Constructs a new name file filter for an array of names specifying case-sensitivity.
names - field in class org.apache.commons.io.filefilter.NameFileFilter
The filenames to search for
needNewBuffer(int) - method in class org.apache.commons.io.output.ByteArrayOutputStream
Makes a new buffer available either by allocating a new one or re-cycling an existing one.
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 field 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 field in class org.apache.commons.io.filefilter.EmptyFileFilter
Singleton instance of not-empty filter
NotFileFilter - class org.apache.commons.io.filefilter.NotFileFilter
This filter produces a logical NOT of the filters specified.
notFileFilter(org.apache.commons.io.filefilter.IOFileFilter) - static method in class org.apache.commons.io.filefilter.FileFilterUtils
Returns a filter that NOTs the specified filter.
NotFileFilter(org.apache.commons.io.filefilter.IOFileFilter) - constructor for class org.apache.commons.io.filefilter.NotFileFilter
Constructs a new file filter that NOTs the result of another filters.
NULL_OUTPUT_STREAM - static field in class org.apache.commons.io.output.NullOutputStream
A singleton.
NULL_WRITER - static field in class org.apache.commons.io.output.NullWriter
A singleton.
NullInputStream - class org.apache.commons.io.input.NullInputStream
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 org.apache.commons.io.output.NullOutputStream
This OutputStream writes all data to the famous /dev/null.
NullReader - class org.apache.commons.io.input.NullReader
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 org.apache.commons.io.output.NullWriter
This Writer writes all data to the famous /dev/null.
NullWriter() - constructor for class org.apache.commons.io.output.NullWriter
Constructs a new NullWriter.

O

ONE_GB - static field in class org.apache.commons.io.FileUtils
The number of bytes in a gigabyte.
ONE_KB - static field in class org.apache.commons.io.FileUtils
The number of bytes in a kilobyte.
ONE_MB - static field in class org.apache.commons.io.FileUtils
The number of bytes in a megabyte.
openInputStream(File) - static method in class org.apache.commons.io.FileUtils
Opens a FileInputStream for the specified file, providing better error messages than simply calling new FileInputStream(file).
openOutputStream(File) - static method in class org.apache.commons.io.FileUtils
Opens a FileOutputStream for the specified file, checking and creating the parent directory if it does not exist.
openProcess(String[]) - method in class org.apache.commons.io.FileSystemUtils
Opens the process to the operating system.
OrFileFilter - class org.apache.commons.io.filefilter.OrFileFilter
A java.io.FileFilter providing conditional OR logic across a list of file filters.
OrFileFilter() - constructor for class org.apache.commons.io.filefilter.OrFileFilter
Constructs a new instance of OrFileFilter.
OrFileFilter(List) - constructor for class org.apache.commons.io.filefilter.OrFileFilter
Constructs a new instance of OrFileFilter with the specified filters.
Returns a filter that ORs the two specified filters.
Constructs a new file filter that ORs the result of two other filters.
This package defines utility classes for working with streams, readers, writers and files.
This package provides various java.util.Comparator implementations for java.io.Files.
This package defines an interface (IOFileFilter) that combines both java.io.FileFilter and java.io.FilenameFilter.
This package provides implementations of input classes, such as InputStream and Reader.
This package provides implementations of output classes, such as OutputStream and Writer.
OS - static field in class org.apache.commons.io.FileSystemUtils
The operating system flag.
OTHER - static field in class org.apache.commons.io.FileSystemUtils
Operating system state flag for neither Unix nor Windows.
OTHER_SEPARATOR - static field in class org.apache.commons.io.FilenameUtils
The separator character that is the opposite of the system separator.
out - field in class org.apache.commons.io.output.FileWriterWithEncoding
The writer to decorate.
out - field in class org.apache.commons.io.output.LockableFileWriter
The writer to decorate.
outputFile - field in class org.apache.commons.io.output.DeferredFileOutputStream
The file to which output will be directed if the threshold is exceeded.

P

parseBytes(String,String) - method in class org.apache.commons.io.FileSystemUtils
Parses the bytes from a string.
parseDir(String,String) - method in class org.apache.commons.io.FileSystemUtils
Parses the Windows dir response last line
path - field in class org.apache.commons.io.FileCleaningTracker.Tracker
The full path to the file being tracked.
PATH_COMPARATOR - static field in class org.apache.commons.io.comparator.PathFileComparator
Case-sensitive path comparator instance (see IOCase.SENSITIVE)
PATH_INSENSITIVE_COMPARATOR - static field in class org.apache.commons.io.comparator.PathFileComparator
Case-insensitive path comparator instance (see IOCase.INSENSITIVE)
PATH_INSENSITIVE_REVERSE - static field in class org.apache.commons.io.comparator.PathFileComparator
Reverse case-insensitive path comparator instance (see IOCase.INSENSITIVE)
PATH_REVERSE - static field in class org.apache.commons.io.comparator.PathFileComparator
Reverse case-sensitive path comparator instance (see IOCase.SENSITIVE)
PATH_SYSTEM_COMPARATOR - static field in class org.apache.commons.io.comparator.PathFileComparator
System sensitive path comparator instance (see IOCase.SYSTEM)
PATH_SYSTEM_REVERSE - static field in class org.apache.commons.io.comparator.PathFileComparator
Reverse system sensitive path comparator instance (see IOCase.SYSTEM)
PathFileComparator - class org.apache.commons.io.comparator.PathFileComparator
Compare the path of two files for order (see File.getPath()).
PathFileComparator() - constructor for class org.apache.commons.io.comparator.PathFileComparator
Construct a case sensitive file path comparator instance.
PathFileComparator(org.apache.commons.io.IOCase) - constructor for class org.apache.commons.io.comparator.PathFileComparator
Construct a file path comparator instance with the specified case-sensitivity.
pattern - field in class org.apache.commons.io.filefilter.RegexFileFilter
The regular expression pattern that will be used to match filenames
performCommand(String[],int) - method in class org.apache.commons.io.FileSystemUtils
Performs the os command.
position - field in class org.apache.commons.io.input.NullInputStream
position - field in class org.apache.commons.io.input.NullReader
POSIX_UNIX - static field in class org.apache.commons.io.FileSystemUtils
Operating system state flag for Posix flavour Unix.
prefix - field in class org.apache.commons.io.output.DeferredFileOutputStream
The temporary file prefix.
prefixes - field in class org.apache.commons.io.filefilter.PrefixFileFilter
The filename prefixes to search for
PrefixFileFilter - class org.apache.commons.io.filefilter.PrefixFileFilter
Filters filenames for a certain prefix.
PrefixFileFilter(List) - constructor for class org.apache.commons.io.filefilter.PrefixFileFilter
Constructs a new Prefix file filter for a list of prefixes.
PrefixFileFilter(List,org.apache.commons.io.IOCase) - constructor for class org.apache.commons.io.filefilter.PrefixFileFilter
Constructs a new Prefix file filter for a list of prefixes specifying case-sensitivity.
prefixFileFilter(String) - static method in class org.apache.commons.io.filefilter.FileFilterUtils
Returns a filter that returns true if the filename starts with the specified text.
PrefixFileFilter(String) - constructor for class org.apache.commons.io.filefilter.PrefixFileFilter
Constructs a new Prefix file filter for a single prefix.
PrefixFileFilter(String,org.apache.commons.io.IOCase) - constructor for class org.apache.commons.io.filefilter.PrefixFileFilter
Constructs a new Prefix file filter for a single prefix specifying case-sensitivity.
PrefixFileFilter(String[]) - constructor for class org.apache.commons.io.filefilter.PrefixFileFilter
Constructs a new Prefix file filter for any of an array of prefixes.
PrefixFileFilter(String[],org.apache.commons.io.IOCase) - constructor for class org.apache.commons.io.filefilter.PrefixFileFilter
Constructs a new Prefix file filter for any of an array of prefixes specifying case-sensitivity.
processByte() - method in class org.apache.commons.io.input.NullInputStream
Return a byte value for the read() method.
processBytes(byte[],int,int) - method in class org.apache.commons.io.input.NullInputStream
Process the bytes for the read(byte[], offset, length) method.
processChar() - method in class org.apache.commons.io.input.NullReader
Return a character value for the read() method.
processChars(char[],int,int) - method in class org.apache.commons.io.input.NullReader
Process the characters for the read(char[], offset, length) method.
ProxyInputStream - class org.apache.commons.io.input.ProxyInputStream
A Proxy stream which acts as expected, that is it passes the method calls on to the proxied stream and doesn't change which methods are being called.
ProxyInputStream(InputStream) - constructor for class org.apache.commons.io.input.ProxyInputStream
Constructs a new ProxyInputStream.
ProxyOutputStream - class org.apache.commons.io.output.ProxyOutputStream
A Proxy stream which acts as expected, that is it passes the method calls on to the proxied stream and doesn't change which methods are being called.
ProxyOutputStream(OutputStream) - constructor for class org.apache.commons.io.output.ProxyOutputStream
Constructs a new ProxyOutputStream.
ProxyReader - class org.apache.commons.io.input.ProxyReader
A Proxy stream which acts as expected, that is it passes the method calls on to the proxied stream and doesn't change which methods are being called.
ProxyReader(Reader) - constructor for class org.apache.commons.io.input.ProxyReader
Constructs a new ProxyReader.
ProxyWriter - class org.apache.commons.io.output.ProxyWriter
A Proxy stream which acts as expected, that is it passes the method calls on to the proxied stream and doesn't change which methods are being called.
ProxyWriter(Writer) - constructor for class org.apache.commons.io.output.ProxyWriter
Constructs a new ProxyWriter.

Q

q - field in class org.apache.commons.io.FileCleaningTracker
Queue of Tracker instances being watched.

R

read() - method in class org.apache.commons.io.input.AutoCloseInputStream
Reads and returns a single byte from the underlying input stream.
read() - method in class org.apache.commons.io.input.CharSequenceReader
Read a single character.
read() - method in class org.apache.commons.io.input.ClosedInputStream
Returns -1 to indicate that the stream is closed.
read() - method in class org.apache.commons.io.input.CountingInputStream
Reads the next byte of data adding to the count of bytes received if a byte is successfully read.
read() - method in class org.apache.commons.io.input.DemuxInputStream
Read byte from stream associated with current thread.
read() - method in class org.apache.commons.io.input.NullInputStream
Read a byte.
read() - method in class org.apache.commons.io.input.NullReader
Read a character.
read() - method in class org.apache.commons.io.input.ProxyInputStream
Invokes the delegate's read() method.
read() - method in class org.apache.commons.io.input.ProxyReader
Invokes the delegate's read() method.
read() - method in class org.apache.commons.io.input.TeeInputStream
Reads a single byte from the proxied input stream and writes it to the associated output stream.
read(byte[]) - method in class org.apache.commons.io.input.AutoCloseInputStream
Reads and returns bytes from the underlying input stream to the given buffer.
read(byte[]) - method in class org.apache.commons.io.input.CountingInputStream
Reads a number of bytes into the byte array, keeping count of the number read.
read(byte[]) - method in class org.apache.commons.io.input.NullInputStream
Read some bytes into the specified array.
read(byte[]) - method in class org.apache.commons.io.input.ProxyInputStream
Invokes the delegate's read(byte[]) method.
read(byte[]) - method in class org.apache.commons.io.input.TeeInputStream
Reads bytes from the proxied input stream and writes the read bytes to the associated output stream.
read(byte[],int,int) - method in class org.apache.commons.io.input.AutoCloseInputStream
Reads and returns bytes from the underlying input stream to the given buffer.
read(byte[],int,int) - method in class org.apache.commons.io.input.CountingInputStream
Reads a number of bytes into the byte array at a specific offset, keeping count of the number read.
read(byte[],int,int) - method in class org.apache.commons.io.input.NullInputStream
Read the specified number bytes into an array.
read(byte[],int,int) - method in class org.apache.commons.io.input.ProxyInputStream
Invokes the delegate's read(byte[], int, int) method.
read(byte[],int,int) - method in class org.apache.commons.io.input.TeeInputStream
Reads bytes from the proxied input stream and writes the read bytes to the associated output stream.
read(char[]) - method in class org.apache.commons.io.input.NullReader
Read some characters into the specified array.
read(char[]) - method in class org.apache.commons.io.input.ProxyReader
Invokes the delegate's read(char[]) method.
read(char[],int,int) - method in class org.apache.commons.io.input.CharSequenceReader
Read the sepcified number of characters into the array.
read(char[],int,int) - method in class org.apache.commons.io.input.NullReader
Read the specified number characters into an array.
read(char[],int,int) - method in class org.apache.commons.io.input.ProxyReader
Invokes the delegate's read(char[], int, int) method.
read(InputStream) - static method in class org.apache.commons.io.EndianUtils
Reads the next byte from the input stream.
READ_ONLY - static field in class org.apache.commons.io.filefilter.CanReadFileFilter
Singleton instance of read-only filter
readBoolean() - method in class org.apache.commons.io.input.SwappedDataInputStream
Return readByte() == 0
readByte() - method in class org.apache.commons.io.input.SwappedDataInputStream
Invokes the delegate's read() method.
readChar() - method in class org.apache.commons.io.input.SwappedDataInputStream
Reads a character delegating to readShort().
readDouble() - method in class org.apache.commons.io.input.SwappedDataInputStream
readFileToByteArray(File) - static method in class org.apache.commons.io.FileUtils
Reads the contents of a file into a byte array.
readFileToString(File) - static method in class org.apache.commons.io.FileUtils
Reads the contents of a file into a String using the default encoding for the VM.
readFileToString(File,String) - static method in class org.apache.commons.io.FileUtils
Reads the contents of a file into a String.
readFloat() - method in class org.apache.commons.io.input.SwappedDataInputStream
readFully(byte[]) - method in class org.apache.commons.io.input.SwappedDataInputStream
Invokes the delegate's read(byte[] data, int, int) method.
readFully(byte[],int,int) - method in class org.apache.commons.io.input.SwappedDataInputStream
Invokes the delegate's read(byte[] data, int, int) method.
readInt() - method in class org.apache.commons.io.input.SwappedDataInputStream
readlimit - field in class org.apache.commons.io.input.NullInputStream
readlimit - field in class org.apache.commons.io.input.NullReader
readLine() - method in class org.apache.commons.io.input.SwappedDataInputStream
Not currently supported - throws UnsupportedOperationException.
readLines(File) - static method in class org.apache.commons.io.FileUtils
Reads the contents of a file line by line to a List of Strings using the default encoding for the VM.
readLines(File,String) - static method in class org.apache.commons.io.FileUtils
Reads the contents of a file line by line to a List of Strings.
readLines(InputStream) - static method in class org.apache.commons.io.IOUtils
Get the contents of an InputStream as a list of Strings, one entry per line, using the default character encoding of the platform.
readLines(InputStream,String) - static method in class org.apache.commons.io.IOUtils
Get the contents of an InputStream as a list of Strings, one entry per line, using the specified character encoding.
readLines(Reader) - static method in class org.apache.commons.io.IOUtils
Get the contents of a Reader as a list of Strings, one entry per line.
readLong() - method in class org.apache.commons.io.input.SwappedDataInputStream
readResolve() - method in class org.apache.commons.io.IOCase
Replaces the enumeration from the stream with a real one.
readShort() - method in class org.apache.commons.io.input.SwappedDataInputStream
readSwappedDouble(byte[],int) - static method in class org.apache.commons.io.EndianUtils
Reads a "double" value from a byte array at a given offset.
readSwappedDouble(InputStream) - static method in class org.apache.commons.io.EndianUtils
Reads a "double" value from an InputStream.
readSwappedFloat(byte[],int) - static method in class org.apache.commons.io.EndianUtils
Reads a "float" value from a byte array at a given offset.
readSwappedFloat(InputStream) - static method in class org.apache.commons.io.EndianUtils
Reads a "float" value from an InputStream.
readSwappedInteger(byte[],int) - static method in class org.apache.commons.io.EndianUtils
Reads a "int" value from a byte array at a given offset.
readSwappedInteger(InputStream) - static method in class org.apache.commons.io.EndianUtils
Reads a "int" value from an InputStream.
readSwappedLong(byte[],int) - static method in class org.apache.commons.io.EndianUtils
Reads a "long" value from a byte array at a given offset.
readSwappedLong(InputStream) - static method in class org.apache.commons.io.EndianUtils
Reads a "long" value from an InputStream.
readSwappedShort(byte[],int) - static method in class org.apache.commons.io.EndianUtils
Reads a "short" value from a byte array at a given offset.
readSwappedShort(InputStream) - static method in class org.apache.commons.io.EndianUtils
Reads a "short" value from an InputStream.
readSwappedUnsignedInteger(byte[],int) - static method in class org.apache.commons.io.EndianUtils
Reads an unsigned integer (32-bit) value from a byte array at a given offset.
readSwappedUnsignedInteger(InputStream) - static method in class org.apache.commons.io.EndianUtils
Reads a unsigned integer (32-bit) from an InputStream.
readSwappedUnsignedShort(byte[],int) - static method in class org.apache.commons.io.EndianUtils
Reads an unsigned short (16-bit) value from a byte array at a given offset.
readSwappedUnsignedShort(InputStream) - static method in class org.apache.commons.io.EndianUtils
Reads a unsigned short (16-bit) from an InputStream.
readUnsignedByte() - method in class org.apache.commons.io.input.SwappedDataInputStream
Invokes the delegate's read() method.
readUnsignedShort() - method in class org.apache.commons.io.input.SwappedDataInputStream
readUTF() - method in class org.apache.commons.io.input.SwappedDataInputStream
Not currently supported - throws UnsupportedOperationException.
ready() - method in class org.apache.commons.io.input.ProxyReader
Invokes the delegate's ready() method.
The reaper thread.
Reaper() - constructor for class org.apache.commons.io.FileCleaningTracker.Reaper
Construct a new Reaper
RegexFileFilter - class org.apache.commons.io.filefilter.RegexFileFilter
Filters files using supplied regular expression(s).
RegexFileFilter(Pattern) - constructor for class org.apache.commons.io.filefilter.RegexFileFilter
Construct a new regular expression filter for a compiled regular expression
RegexFileFilter(String) - constructor for class org.apache.commons.io.filefilter.RegexFileFilter
Construct a new regular expression filter.
RegexFileFilter(String,int) - constructor for class org.apache.commons.io.filefilter.RegexFileFilter
Construct a new regular expression filter with the specified flags.
RegexFileFilter(String,org.apache.commons.io.IOCase) - constructor for class org.apache.commons.io.filefilter.RegexFileFilter
Construct a new regular expression filter with the specified flags case sensitivity.
remove() - method in class org.apache.commons.io.LineIterator
Unsupported.
removeExtension(String) - static method in class org.apache.commons.io.FilenameUtils
Removes the extension from a filename.
removeFileFilter(org.apache.commons.io.filefilter.IOFileFilter) - method in class org.apache.commons.io.filefilter.AndFileFilter
Removes the specified file filter.
removeFileFilter(org.apache.commons.io.filefilter.IOFileFilter) - method in class org.apache.commons.io.filefilter.OrFileFilter
reset() - method in class org.apache.commons.io.output.ByteArrayOutputStream
reset() - method in class org.apache.commons.io.input.CharSequenceReader
Reset the reader to the last marked position (or the beginning if mark has not been called).
reset() - method in class org.apache.commons.io.input.NullInputStream
Reset the stream to the point when mark was last called.
reset() - method in class org.apache.commons.io.input.NullReader
Reset the stream to the point when mark was last called.
reset() - method in class org.apache.commons.io.input.ProxyInputStream
Invokes the delegate's reset() method.
reset() - method in class org.apache.commons.io.input.ProxyReader
Invokes the delegate's reset() method.
resetByteCount() - method in class org.apache.commons.io.input.CountingInputStream
Set the byte count back to 0.
resetByteCount() - method in class org.apache.commons.io.output.CountingOutputStream
Set the byte count back to 0.
resetByteCount() - method in class org.apache.commons.io.output.ThresholdingOutputStream
Resets the byteCount to zero.
resetCount() - method in class org.apache.commons.io.input.CountingInputStream
Set the byte count back to 0.
resetCount() - method in class org.apache.commons.io.output.CountingOutputStream
Set the byte count back to 0.
resolveClass(ObjectStreamClass) - method in class org.apache.commons.io.input.ClassLoaderObjectInputStream
Resolve a class specified by the descriptor using the specified ClassLoader or the super ClassLoader.
ReverseComparator - class org.apache.commons.io.comparator.ReverseComparator
Reverses the result of comparing two objects using the delegate Comparator.
ReverseComparator(Comparator) - constructor for class org.apache.commons.io.comparator.ReverseComparator
Construct an instance with the sepecified delegate Comparator.
run() - method in class org.apache.commons.io.FileCleaningTracker.Reaper
Run the reaper thread that will delete files as their associated marker objects are reclaimed by the garbage collector.

S

sensitive - field in class org.apache.commons.io.IOCase
The sensitivity flag.
separatorsToSystem(String) - static method in class org.apache.commons.io.FilenameUtils
Converts all separators to the system separator.
separatorsToUnix(String) - static method in class org.apache.commons.io.FilenameUtils
Converts all separators to the Unix separator of forward slash.
separatorsToWindows(String) - static method in class org.apache.commons.io.FilenameUtils
Converts all separators to the Windows separator of backslash.
serialVersionUID - static field in class org.apache.commons.io.DirectoryWalker.CancelException
Serialization id.
serialVersionUID - static field in class org.apache.commons.io.IOCase
Serialization version.
serialVersionUID - static field in class org.apache.commons.io.IOExceptionWithCause
Defines the serial version UID.
setFileFilters(List) - method in class org.apache.commons.io.filefilter.AndFileFilter
setFileFilters(List) - method in class org.apache.commons.io.filefilter.ConditionalFileFilter
Sets the list of file filters, replacing any previously configured file filters on this filter.
setFileFilters(List) - method in class org.apache.commons.io.filefilter.OrFileFilter
size - field in class org.apache.commons.io.input.NullInputStream
size - field in class org.apache.commons.io.input.NullReader
size - field in class org.apache.commons.io.filefilter.SizeFileFilter
The size threshold.
size() - method in class org.apache.commons.io.output.ByteArrayOutputStream
Return the current size of the byte array.
SIZE_COMPARATOR - static field in class org.apache.commons.io.comparator.SizeFileComparator
Size comparator instance - directories are treated as zero size
SIZE_REVERSE - static field in class org.apache.commons.io.comparator.SizeFileComparator
Reverse size comparator instance - directories are treated as zero size
SIZE_SUMDIR_COMPARATOR - static field in class org.apache.commons.io.comparator.SizeFileComparator
Size comparator instance which sums the size of a directory's contents using FileUtils.sizeOfDirectory(File)
SIZE_SUMDIR_REVERSE - static field in class org.apache.commons.io.comparator.SizeFileComparator
Reverse size comparator instance which sums the size of a directory's contents using FileUtils.sizeOfDirectory(File)
SizeFileComparator - class org.apache.commons.io.comparator.SizeFileComparator
Compare the length/size of two files for order (see File.length() and FileUtils.sizeOfDirectory(File)).
SizeFileComparator() - constructor for class org.apache.commons.io.comparator.SizeFileComparator
Construct a file size comparator instance (directories treated as zero size).
SizeFileComparator(boolean) - constructor for class org.apache.commons.io.comparator.SizeFileComparator
Construct a file size comparator instance specifying whether the size of the directory contents should be aggregated.
SizeFileFilter - class org.apache.commons.io.filefilter.SizeFileFilter
Filters files based on size, can filter either smaller files or files equal to or larger than a given threshold.
sizeFileFilter(long) - static method in class org.apache.commons.io.filefilter.FileFilterUtils
Returns a filter that returns true if the file is bigger than a certain size.
SizeFileFilter(long) - constructor for class org.apache.commons.io.filefilter.SizeFileFilter
Constructs a new size file filter for files equal to or larger than a certain size.
sizeFileFilter(long,boolean) - static method in class org.apache.commons.io.filefilter.FileFilterUtils
Returns a filter that filters based on file size.
SizeFileFilter(long,boolean) - constructor for class org.apache.commons.io.filefilter.SizeFileFilter
Constructs a new size file filter for files based on a certain size threshold.
sizeOfDirectory(File) - static method in class org.apache.commons.io.FileUtils
Counts the size of a directory recursively (sum of the length of all files).
sizeRangeFileFilter(long,long) - static method in class org.apache.commons.io.filefilter.FileFilterUtils
Returns a filter that accepts files whose size is >= minimum size and <= maximum size.
skip(long) - method in class org.apache.commons.io.input.CharSequenceReader
Skip the specified number of characters.
skip(long) - method in class org.apache.commons.io.input.CountingInputStream
Skips the stream over the specified number of bytes, adding the skipped amount to the count.
skip(long) - method in class org.apache.commons.io.input.NullInputStream
Skip a specified number of bytes.
skip(long) - method in class org.apache.commons.io.input.NullReader
Skip a specified number of characters.
skip(long) - method in class org.apache.commons.io.input.ProxyInputStream
Invokes the delegate's skip(long) method.
skip(long) - method in class org.apache.commons.io.input.ProxyReader
Invokes the delegate's skip(long) method.
skipBytes(int) - method in class org.apache.commons.io.input.SwappedDataInputStream
Invokes the delegate's skip(int) method.
splitOnTokens(String) - static method in class org.apache.commons.io.FilenameUtils
Splits a string into a number of tokens.
suffix - field in class org.apache.commons.io.output.DeferredFileOutputStream
The temporary file suffix.
suffixes - field in class org.apache.commons.io.filefilter.SuffixFileFilter
The filename suffixes to search for
SuffixFileFilter - class org.apache.commons.io.filefilter.SuffixFileFilter
Filters files based on the suffix (what the filename ends with).
SuffixFileFilter(List) - constructor for class org.apache.commons.io.filefilter.SuffixFileFilter
Constructs a new Suffix file filter for a list of suffixes.
SuffixFileFilter(List,org.apache.commons.io.IOCase) - constructor for class org.apache.commons.io.filefilter.SuffixFileFilter
Constructs a new Suffix file filter for a list of suffixes specifying case-sensitivity.
suffixFileFilter(String) - static method in class org.apache.commons.io.filefilter.FileFilterUtils
Returns a filter that returns true if the filename ends with the specified text.
SuffixFileFilter(String) - constructor for class org.apache.commons.io.filefilter.SuffixFileFilter
Constructs a new Suffix file filter for a single extension.
SuffixFileFilter(String,org.apache.commons.io.IOCase) - constructor for class org.apache.commons.io.filefilter.SuffixFileFilter
Constructs a new Suffix file filter for a single extension specifying case-sensitivity.
SuffixFileFilter(String[]) - constructor for class org.apache.commons.io.filefilter.SuffixFileFilter
Constructs a new Suffix file filter for an array of suffixs.
SuffixFileFilter(String[],org.apache.commons.io.IOCase) - constructor for class org.apache.commons.io.filefilter.SuffixFileFilter
Constructs a new Suffix file filter for an array of suffixs specifying case-sensitivity.
sumDirectoryContents - field in class org.apache.commons.io.comparator.SizeFileComparator
Whether the sum of the directory's contents should be calculated.
svnFilter - static field in class org.apache.commons.io.filefilter.FileFilterUtils
swapDouble(double) - static method in class org.apache.commons.io.EndianUtils
Converts a "double" value between endian systems.
swapFloat(float) - static method in class org.apache.commons.io.EndianUtils
Converts a "float" value between endian systems.
swapInteger(int) - static method in class org.apache.commons.io.EndianUtils
Converts a "int" value between endian systems.
swapLong(long) - static method in class org.apache.commons.io.EndianUtils
Converts a "long" value between endian systems.
SwappedDataInputStream - class org.apache.commons.io.input.SwappedDataInputStream
DataInput for systems relying on little endian data formats.
SwappedDataInputStream(InputStream) - constructor for class org.apache.commons.io.input.SwappedDataInputStream
Constructs a SwappedDataInputStream.
swapShort(short) - static method in class org.apache.commons.io.EndianUtils
Converts a "short" value between endian systems.
SYSTEM - static field in class org.apache.commons.io.IOCase
The constant for case sensitivity determined by the current operating system.
SYSTEM_SEPARATOR - static field in class org.apache.commons.io.FilenameUtils
The system separator character.

T

TeeInputStream - class org.apache.commons.io.input.TeeInputStream
InputStream proxy that transparently writes a copy of all bytes read from the proxied stream to a given OutputStream.
TeeInputStream(InputStream,OutputStream) - constructor for class org.apache.commons.io.input.TeeInputStream
Creates a TeeInputStream that proxies the given InputStream and copies all read bytes to the given OutputStream.
TeeInputStream(InputStream,OutputStream,boolean) - constructor for class org.apache.commons.io.input.TeeInputStream
Creates a TeeInputStream that proxies the given InputStream and copies all read bytes to the given OutputStream.
TeeOutputStream - class org.apache.commons.io.output.TeeOutputStream
Classic splitter of OutputStream.
TeeOutputStream(OutputStream,OutputStream) - constructor for class org.apache.commons.io.output.TeeOutputStream
Constructs a TeeOutputStream.
testLockDir(File) - method in class org.apache.commons.io.output.LockableFileWriter
Tests that we can write to the lock directory.
theInstance - static field in class org.apache.commons.io.FileCleaner
The instance to use for the deprecated, static methods.
threshold - field in class org.apache.commons.io.output.ThresholdingOutputStream
The threshold at which the event will be triggered.
thresholdExceeded - field in class org.apache.commons.io.output.ThresholdingOutputStream
Whether or not the configured threshold has been exceeded.
ThresholdingOutputStream - class org.apache.commons.io.output.ThresholdingOutputStream
An output stream which triggers an event when a specified number of bytes of data have been written to it.
ThresholdingOutputStream(int) - constructor for class org.apache.commons.io.output.ThresholdingOutputStream
Constructs an instance of this class which will trigger an event at the specified threshold.
thresholdReached() - method in class org.apache.commons.io.output.DeferredFileOutputStream
Switches the underlying output stream from a memory based stream to one that is backed by disk.
thresholdReached() - method in class org.apache.commons.io.output.ThresholdingOutputStream
Indicates that the configured threshold has been reached, and that a subclass should take whatever action necessary on this event.
throwEofException - field in class org.apache.commons.io.input.NullInputStream
throwEofException - field in class org.apache.commons.io.input.NullReader
toByteArray() - method in class org.apache.commons.io.output.ByteArrayOutputStream
Gets the curent contents of this byte stream as a byte array.
toByteArray(InputStream) - static method in class org.apache.commons.io.IOUtils
Get the contents of an InputStream as a byte[].
toByteArray(Reader) - static method in class org.apache.commons.io.IOUtils
Get the contents of a Reader as a byte[] using the default character encoding of the platform.
toByteArray(Reader,String) - static method in class org.apache.commons.io.IOUtils
Get the contents of a Reader as a byte[] using the specified character encoding.
toByteArray(String) - static method in class org.apache.commons.io.IOUtils
Get the contents of a String as a byte[] using the default character encoding of the platform.
toCharArray(InputStream) - static method in class org.apache.commons.io.IOUtils
Get the contents of an InputStream as a character array using the default character encoding of the platform.
toCharArray(InputStream,String) - static method in class org.apache.commons.io.IOUtils
Get the contents of an InputStream as a character array using the specified character encoding.
toCharArray(Reader) - static method in class org.apache.commons.io.IOUtils
Get the contents of a Reader as a character array.
toFile(URL) - static method in class org.apache.commons.io.FileUtils
Convert from a URL to a File.
toFiles(URL[]) - static method in class org.apache.commons.io.FileUtils
Converts each of an array of URL to a File.
toInputStream(String) - static method in class org.apache.commons.io.IOUtils
Convert the specified string to an input stream, encoded as bytes using the default character encoding of the platform.
toInputStream(String,String) - static method in class org.apache.commons.io.IOUtils
Convert the specified string to an input stream, encoded as bytes using the specified character encoding.
toString() - method in class org.apache.commons.io.filefilter.AbstractFileFilter
Provide a String representaion of this file filter.
toString() - method in class org.apache.commons.io.filefilter.AgeFileFilter
Provide a String representaion of this file filter.
toString() - method in class org.apache.commons.io.filefilter.AndFileFilter
Provide a String representaion of this file filter.
toString() - method in class org.apache.commons.io.output.ByteArrayOutputStream
Gets the curent contents of this byte stream as a string.
toString() - method in class org.apache.commons.io.input.CharSequenceReader
Return a String representation of the underlying character sequence.
toString() - method in class org.apache.commons.io.filefilter.DelegateFileFilter
Provide a String representaion of this file filter.
toString() - method in class org.apache.commons.io.FileDeleteStrategy
Gets a string describing the delete strategy.
toString() - method in class org.apache.commons.io.IOCase
Gets a string describing the sensitivity.
toString() - method in class org.apache.commons.io.filefilter.NameFileFilter
Provide a String representaion of this file filter.
toString() - method in class org.apache.commons.io.filefilter.NotFileFilter
Provide a String representaion of this file filter.
toString() - method in class org.apache.commons.io.filefilter.OrFileFilter
Provide a String representaion of this file filter.
toString() - method in class org.apache.commons.io.filefilter.PrefixFileFilter
Provide a String representaion of this file filter.
toString() - method in class org.apache.commons.io.filefilter.SizeFileFilter
Provide a String representaion of this file filter.
toString() - method in class org.apache.commons.io.filefilter.SuffixFileFilter
Provide a String representaion of this file filter.
toString() - method in class org.apache.commons.io.filefilter.WildcardFileFilter
Provide a String representaion of this file filter.
toString(byte[]) - static method in class org.apache.commons.io.IOUtils
Get the contents of a byte[] as a String using the default character encoding of the platform.
toString(byte[],String) - static method in class org.apache.commons.io.IOUtils
Get the contents of a byte[] as a String using the specified character encoding.
toString(InputStream) - static method in class org.apache.commons.io.IOUtils
Get the contents of an InputStream as a String using the default character encoding of the platform.
toString(InputStream,String) - static method in class org.apache.commons.io.IOUtils
Get the contents of an InputStream as a String using the specified character encoding.
toString(Reader) - static method in class org.apache.commons.io.IOUtils
Get the contents of a Reader as a String.
toString(String) - method in class org.apache.commons.io.output.ByteArrayOutputStream
Gets the curent contents of this byte stream as a string using the specified encoding.
toSuffixes(String[]) - static method in class org.apache.commons.io.FileUtils
Converts an array of file extensions to suffixes for use with IOFileFilters.
touch(File) - static method in class org.apache.commons.io.FileUtils
Implements the same behaviour as the "touch" utility on Unix.
toURLs(File[]) - static method in class org.apache.commons.io.FileUtils
Converts each of an array of File to a URL.
track(File,Object) - static method in class org.apache.commons.io.FileCleaner
Track the specified file, using the provided marker, deleting the file when the marker instance is garbage collected.
track(File,Object) - method in class org.apache.commons.io.FileCleaningTracker
Track the specified file, using the provided marker, deleting the file when the marker instance is garbage collected.
track(File,Object,org.apache.commons.io.FileDeleteStrategy) - static method in class org.apache.commons.io.FileCleaner
Track the specified file, using the provided marker, deleting the file when the marker instance is garbage collected.
Track the specified file, using the provided marker, deleting the file when the marker instance is garbage collected.
track(String,Object) - static method in class org.apache.commons.io.FileCleaner
Track the specified file, using the provided marker, deleting the file when the marker instance is garbage collected.
track(String,Object) - method in class org.apache.commons.io.FileCleaningTracker
Track the specified file, using the provided marker, deleting the file when the marker instance is garbage collected.
track(String,Object,org.apache.commons.io.FileDeleteStrategy) - static method in class org.apache.commons.io.FileCleaner
Track the specified file, using the provided marker, deleting the file when the marker instance is garbage collected.
Track the specified file, using the provided marker, deleting the file when the marker instance is garbage collected.
Inner class which acts as the reference for a file pending deletion.
Constructs an instance of this class from the supplied parameters.
trackers - field in class org.apache.commons.io.FileCleaningTracker
Collection of Tracker instances in existence.
TRUE - static field in class org.apache.commons.io.filefilter.TrueFileFilter
Singleton instance of true filter.
TrueFileFilter - class org.apache.commons.io.filefilter.TrueFileFilter
A file filter that always returns true.
trueFileFilter() - static method in class org.apache.commons.io.filefilter.FileFilterUtils
Returns a filter that always returns true.
TrueFileFilter() - constructor for class org.apache.commons.io.filefilter.TrueFileFilter
Restrictive consructor.

U

UNIX - static field in class org.apache.commons.io.FileSystemUtils
Operating system state flag for Unix.
UNIX_SEPARATOR - static field in class org.apache.commons.io.FilenameUtils
The Unix separator character.

V

VISIBLE - static field in class org.apache.commons.io.filefilter.HiddenFileFilter
Singleton instance of visible filter

W

waitFor(File,int) - static method in class org.apache.commons.io.FileUtils
Waits for NFS to propagate a file creation, imposing a timeout.
walk(File,Collection) - method in class org.apache.commons.io.DirectoryWalker
Internal method that walks the directory hierarchy in a depth-first manner.
walk(File,int,Collection) - method in class org.apache.commons.io.DirectoryWalker
Main recursive method to examine the directory hierarchy.
WildcardFileFilter - class org.apache.commons.io.filefilter.WildcardFileFilter
Filters files using the supplied wildcards.
WildcardFileFilter(List) - constructor for class org.apache.commons.io.filefilter.WildcardFileFilter
Construct a new case-sensitive wildcard filter for a list of wildcards.
WildcardFileFilter(List,org.apache.commons.io.IOCase) - constructor for class org.apache.commons.io.filefilter.WildcardFileFilter
Construct a new wildcard filter for a list of wildcards specifying case-sensitivity.
WildcardFileFilter(String) - constructor for class org.apache.commons.io.filefilter.WildcardFileFilter
Construct a new case-sensitive wildcard filter for a single wildcard.
WildcardFileFilter(String,org.apache.commons.io.IOCase) - constructor for class org.apache.commons.io.filefilter.WildcardFileFilter
Construct a new wildcard filter for a single wildcard specifying case-sensitivity.
WildcardFileFilter(String[]) - constructor for class org.apache.commons.io.filefilter.WildcardFileFilter
Construct a new case-sensitive wildcard filter for an array of wildcards.
WildcardFileFilter(String[],org.apache.commons.io.IOCase) - constructor for class org.apache.commons.io.filefilter.WildcardFileFilter
Construct a new wildcard filter for an array of wildcards specifying case-sensitivity.
WildcardFilter - class org.apache.commons.io.filefilter.WildcardFilter
Filters files using the supplied wildcards.
WildcardFilter(List) - constructor for class org.apache.commons.io.filefilter.WildcardFilter
Construct a new case-sensitive wildcard filter for a list of wildcards.
WildcardFilter(String) - constructor for class org.apache.commons.io.filefilter.WildcardFilter
Construct a new case-sensitive wildcard filter for a single wildcard.
WildcardFilter(String[]) - constructor for class org.apache.commons.io.filefilter.WildcardFilter
Construct a new case-sensitive wildcard filter for an array of wildcards.
wildcardMatch(String,String) - static method in class org.apache.commons.io.FilenameUtils
Checks a filename to see if it matches the specified wildcard matcher, always testing case-sensitive.
wildcardMatch(String,String,org.apache.commons.io.IOCase) - static method in class org.apache.commons.io.FilenameUtils
Checks a filename to see if it matches the specified wildcard matcher allowing control over case-sensitivity.
wildcardMatchOnSystem(String,String) - static method in class org.apache.commons.io.FilenameUtils
Checks a filename to see if it matches the specified wildcard matcher using the case rules of the system.
wildcards - field in class org.apache.commons.io.filefilter.WildcardFileFilter
The wildcards that will be used to match filenames.
wildcards - field in class org.apache.commons.io.filefilter.WildcardFilter
The wildcards that will be used to match filenames.
WINDOWS - static field in class org.apache.commons.io.FileSystemUtils
Operating system state flag for Windows.
WINDOWS_SEPARATOR - static field in class org.apache.commons.io.FilenameUtils
The Windows separator character.
write(b[]) - method in class org.apache.commons.io.output.ThresholdingOutputStream
Writes b.length bytes from the specified byte array to this output stream.
write(b[],int,int) - method in class org.apache.commons.io.output.ThresholdingOutputStream
Writes len bytes from the specified byte array starting at offset off to this output stream.
write(byte[]) - method in class org.apache.commons.io.output.CountingOutputStream
Writes the contents of the specified byte array to this output stream keeping count of the number of bytes written.
write(byte[]) - method in class org.apache.commons.io.output.NullOutputStream
Does nothing - output to /dev/null.
write(byte[]) - method in class org.apache.commons.io.output.ProxyOutputStream
Invokes the delegate's write(byte[]) method.
write(byte[]) - method in class org.apache.commons.io.output.TeeOutputStream
Write the bytes to both streams.
write(byte[],int,int) - method in class org.apache.commons.io.output.ByteArrayOutputStream
Write the bytes to byte array.
write(byte[],int,int) - method in class org.apache.commons.io.output.CountingOutputStream
Writes a portion of the specified byte array to this output stream keeping count of the number of bytes written.
write(byte[],int,int) - method in class org.apache.commons.io.output.NullOutputStream
Does nothing - output to /dev/null.
write(byte[],int,int) - method in class org.apache.commons.io.output.ProxyOutputStream
Invokes the delegate's write(byte[]) method.
write(byte[],int,int) - method in class org.apache.commons.io.output.TeeOutputStream
Write the specified bytes to both streams.
write(byte[],OutputStream) - static method in class org.apache.commons.io.IOUtils
Writes bytes from a byte[] to an OutputStream.
write(byte[],Writer) - static method in class org.apache.commons.io.IOUtils
Writes bytes from a byte[] to chars on a Writer using the default character encoding of the platform.
write(byte[],Writer,String) - static method in class org.apache.commons.io.IOUtils
Writes bytes from a byte[] to chars on a Writer using the specified character encoding.
write(char[]) - method in class org.apache.commons.io.output.FileWriterWithEncoding
Write the characters from an array.
write(char[]) - method in class org.apache.commons.io.output.LockableFileWriter
Write the characters from an array.
write(char[]) - method in class org.apache.commons.io.output.NullWriter
Does nothing - output to /dev/null.
write(char[]) - method in class org.apache.commons.io.output.ProxyWriter
Invokes the delegate's write(char[]) method.
write(char[],int,int) - method in class org.apache.commons.io.output.FileWriterWithEncoding
Write the specified characters from an array.
write(char[],int,int) - method in class org.apache.commons.io.output.LockableFileWriter
Write the specified characters from an array.
write(char[],int,int) - method in class org.apache.commons.io.output.NullWriter
Does nothing - output to /dev/null.
write(char[],int,int) - method in class org.apache.commons.io.output.ProxyWriter
Invokes the delegate's write(char[], int, int) method.
write(char[],OutputStream) - static method in class org.apache.commons.io.IOUtils
Writes chars from a char[] to bytes on an OutputStream.
write(char[],OutputStream,String) - static method in class org.apache.commons.io.IOUtils
Writes chars from a char[] to bytes on an OutputStream using the specified character encoding.
write(char[],Writer) - static method in class org.apache.commons.io.IOUtils
Writes chars from a char[] to a Writer using the default character encoding of the platform.
write(InputStream) - method in class org.apache.commons.io.output.ByteArrayOutputStream
Writes the entire contents of the specified input stream to this byte stream.
write(int) - method in class org.apache.commons.io.output.ByteArrayOutputStream
Write a byte to byte array.
write(int) - method in class org.apache.commons.io.output.ClosedOutputStream
Throws an IOException to indicate that the stream is closed.
write(int) - method in class org.apache.commons.io.output.CountingOutputStream
Writes a single byte to the output stream adding to the count of the number of bytes written.
write(int) - method in class org.apache.commons.io.output.DemuxOutputStream
Writes byte to stream associated with current thread.
write(int) - method in class org.apache.commons.io.output.FileWriterWithEncoding
Write a character.
write(int) - method in class org.apache.commons.io.output.LockableFileWriter
Write a character.
write(int) - method in class org.apache.commons.io.output.NullOutputStream
Does nothing - output to /dev/null.
write(int) - method in class org.apache.commons.io.output.NullWriter
Does nothing - output to /dev/null.
write(int) - method in class org.apache.commons.io.output.ProxyOutputStream
Invokes the delegate's write(int) method.
write(int) - method in class org.apache.commons.io.output.ProxyWriter
Invokes the delegate's write(int) method.
write(int) - method in class org.apache.commons.io.output.TeeOutputStream
Write a byte to both streams.
write(int) - method in class org.apache.commons.io.output.ThresholdingOutputStream
Writes the specified byte to this output stream.
write(String) - method in class org.apache.commons.io.output.FileWriterWithEncoding
Write the characters from a string.
write(String) - method in class org.apache.commons.io.output.LockableFileWriter
Write the characters from a string.
write(String) - method in class org.apache.commons.io.output.NullWriter
Does nothing - output to /dev/null.
write(String) - method in class org.apache.commons.io.output.ProxyWriter
Invokes the delegate's write(String) method.
write(String,int,int) - method in class org.apache.commons.io.output.FileWriterWithEncoding
Write the specified characters from a string.
write(String,int,int) - method in class org.apache.commons.io.output.LockableFileWriter
Write the specified characters from a string.
write(String,int,int) - method in class org.apache.commons.io.output.NullWriter
Does nothing - output to /dev/null.
write(String,int,int) - method in class org.apache.commons.io.output.ProxyWriter
Invokes the delegate's write(String) method.
write(String,OutputStream) - static method in class org.apache.commons.io.IOUtils
Writes chars from a String to bytes on an OutputStream using the default character encoding of the platform.
write(String,OutputStream,String) - static method in class org.apache.commons.io.IOUtils
Writes chars from a String to bytes on an OutputStream using the specified character encoding.
write(String,Writer) - static method in class org.apache.commons.io.IOUtils
Writes chars from a String to a Writer.
write(StringBuffer,OutputStream) - static method in class org.apache.commons.io.IOUtils
Writes chars from a StringBuffer to bytes on an OutputStream using the default character encoding of the platform.
write(StringBuffer,OutputStream,String) - static method in class org.apache.commons.io.IOUtils
Writes chars from a StringBuffer to bytes on an OutputStream using the specified character encoding.
write(StringBuffer,Writer) - static method in class org.apache.commons.io.IOUtils
Writes chars from a StringBuffer to a Writer.
writeByteArrayToFile(File,byte[]) - static method in class org.apache.commons.io.FileUtils
Writes a byte array to a file creating the file if it does not exist.
writeLines(Collection,String,OutputStream) - static method in class org.apache.commons.io.IOUtils
Writes the toString() value of each item in a collection to an OutputStream line by line, using the default character encoding of the platform and the specified line ending.
writeLines(Collection,String,OutputStream,String) - static method in class org.apache.commons.io.IOUtils
Writes the toString() value of each item in a collection to an OutputStream line by line, using the specified character encoding and the specified line ending.
writeLines(Collection,String,Writer) - static method in class org.apache.commons.io.IOUtils
Writes the toString() value of each item in a collection to a Writer line by line, using the specified line ending.
writeLines(File,Collection) - static method in class org.apache.commons.io.FileUtils
Writes the toString() value of each item in a collection to the specified File line by line.
writeLines(File,Collection,String) - static method in class org.apache.commons.io.FileUtils
Writes the toString() value of each item in a collection to the specified File line by line.
writeLines(File,String,Collection) - static method in class org.apache.commons.io.FileUtils
Writes the toString() value of each item in a collection to the specified File line by line.
writeLines(File,String,Collection,String) - static method in class org.apache.commons.io.FileUtils
Writes the toString() value of each item in a collection to the specified File line by line.
writeStringToFile(File,String) - static method in class org.apache.commons.io.FileUtils
Writes a String to a file creating the file if it does not exist using the default encoding for the VM.
writeStringToFile(File,String,String) - static method in class org.apache.commons.io.FileUtils
Writes a String to a file creating the file if it does not exist.
writeSwappedDouble(byte[],int,double) - static method in class org.apache.commons.io.EndianUtils
Writes a "double" value to a byte array at a given offset.
writeSwappedDouble(OutputStream,double) - static method in class org.apache.commons.io.EndianUtils
Writes a "double" value to an OutputStream.
writeSwappedFloat(byte[],int,float) - static method in class org.apache.commons.io.EndianUtils
Writes a "float" value to a byte array at a given offset.
writeSwappedFloat(OutputStream,float) - static method in class org.apache.commons.io.EndianUtils
Writes a "float" value to an OutputStream.
writeSwappedInteger(byte[],int,int) - static method in class org.apache.commons.io.EndianUtils
Writes a "int" value to a byte array at a given offset.
writeSwappedInteger(OutputStream,int) - static method in class org.apache.commons.io.EndianUtils
Writes a "int" value to an OutputStream.
writeSwappedLong(byte[],int,long) - static method in class org.apache.commons.io.EndianUtils
Writes a "long" value to a byte array at a given offset.
writeSwappedLong(OutputStream,long) - static method in class org.apache.commons.io.EndianUtils
Writes a "long" value to an OutputStream.
writeSwappedShort(byte[],int,short) - static method in class org.apache.commons.io.EndianUtils
Writes a "short" value to a byte array at a given offset.
writeSwappedShort(OutputStream,short) - static method in class org.apache.commons.io.EndianUtils
Writes a "short" value to an OutputStream.
writeTo(OutputStream) - method in class org.apache.commons.io.output.ByteArrayOutputStream
Writes the entire contents of this byte stream to the specified output stream.
writeTo(OutputStream) - method in class org.apache.commons.io.output.DeferredFileOutputStream
Writes the data from this output stream to the specified output stream, after it has been closed.
written - field in class org.apache.commons.io.output.ThresholdingOutputStream
The number of bytes written to the output stream.

Copyright (c) 2002-2009 Apache Software Foundation