Skip navigation links
A B C D E F G H I L M N O P R S T U V W X 

A

AbstractByteArrayOutputStream - Class in org.apache.commons.io.output
This is the base class for implementing an output stream in which the data is written into a byte array.
AbstractByteArrayOutputStream() - Constructor for class org.apache.commons.io.output.AbstractByteArrayOutputStream
 
AbstractByteArrayOutputStream.InputStreamConstructor<T extends InputStream> - Interface in org.apache.commons.io.output
Constructor for an InputStream subclass.
AbstractCharacterFilterReader - Class in org.apache.commons.io.input
A filter reader that filters out characters where subclasses decide which characters to filter out.
AbstractCharacterFilterReader(Reader) - Constructor for class org.apache.commons.io.input.AbstractCharacterFilterReader
Constructs a new reader.
AbstractFileFilter - Class in org.apache.commons.io.filefilter
An abstract class which implements the Java FileFilter and FilenameFilter interfaces via the IOFileFilter interface.
AbstractFileFilter() - Constructor for class org.apache.commons.io.filefilter.AbstractFileFilter
 
accept(File) - Method in class org.apache.commons.io.filefilter.AbstractFileFilter
Checks to see if the File should be accepted by this filter.
accept(File, String) - Method in class org.apache.commons.io.filefilter.AbstractFileFilter
Checks to see if the File should be accepted by this filter.
accept(File) - Method in class org.apache.commons.io.filefilter.AgeFileFilter
Checks to see if the last modification of the file matches cutoff favorably.
accept(File) - Method in class org.apache.commons.io.filefilter.AndFileFilter
Checks to see if the File should be accepted by this filter.
accept(File, String) - Method in class org.apache.commons.io.filefilter.AndFileFilter
Checks to see if the File should be accepted by this filter.
accept(File) - Method in class org.apache.commons.io.filefilter.CanExecuteFileFilter
Checks to see if the file can be executed.
accept(File) - Method in class org.apache.commons.io.filefilter.CanReadFileFilter
Checks to see if the file can be read.
accept(File) - Method in class org.apache.commons.io.filefilter.CanWriteFileFilter
Checks to see if the file can be written to.
accept(File) - Method in class org.apache.commons.io.filefilter.DelegateFileFilter
Checks the filter.
accept(File, String) - Method in class org.apache.commons.io.filefilter.DelegateFileFilter
Checks the filter.
accept(File) - Method in class org.apache.commons.io.filefilter.DirectoryFileFilter
Checks to see if the file is a directory.
accept(File) - Method in class org.apache.commons.io.filefilter.EmptyFileFilter
Checks to see if the file is empty.
accept(File) - Method in class org.apache.commons.io.filefilter.FalseFileFilter
Returns false.
accept(File, String) - Method in class org.apache.commons.io.filefilter.FalseFileFilter
Returns false.
accept(File) - Method in class org.apache.commons.io.filefilter.FileFileFilter
Checks to see if the file is a file.
accept(File) - Method in class org.apache.commons.io.filefilter.HiddenFileFilter
Checks to see if the file is hidden.
accept(File) - Method in interface org.apache.commons.io.filefilter.IOFileFilter
Checks to see if the File should be accepted by this filter.
accept(File, String) - Method in interface org.apache.commons.io.filefilter.IOFileFilter
Checks to see if the File should be accepted by this filter.
accept(File) - Method in class org.apache.commons.io.filefilter.MagicNumberFileFilter
Accepts the provided file if the file contains the file filter's magic number at the specified offset.
accept(File) - Method in class org.apache.commons.io.filefilter.NameFileFilter
Checks to see if the file name matches.
accept(File, String) - Method in class org.apache.commons.io.filefilter.NameFileFilter
Checks to see if the file name matches.
accept(File) - Method in class org.apache.commons.io.filefilter.NotFileFilter
Returns the logical NOT of the underlying filter's return value for the same File.
accept(File, String) - Method in class org.apache.commons.io.filefilter.NotFileFilter
Returns the logical NOT of the underlying filter's return value for the same arguments.
accept(File) - Method in class org.apache.commons.io.filefilter.OrFileFilter
Checks to see if the File should be accepted by this filter.
accept(File, String) - Method in class org.apache.commons.io.filefilter.OrFileFilter
Checks to see if the File should be accepted by this filter.
accept(File) - Method in class org.apache.commons.io.filefilter.PrefixFileFilter
Checks to see if the file name starts with the prefix.
accept(File, String) - Method in class org.apache.commons.io.filefilter.PrefixFileFilter
Checks to see if the file name starts with the prefix.
accept(File, String) - Method in class org.apache.commons.io.filefilter.RegexFileFilter
Checks to see if the file name matches one of the regular expressions.
accept(File) - Method in class org.apache.commons.io.filefilter.SizeFileFilter
Checks to see if the size of the file is favorable.
accept(File) - Method in class org.apache.commons.io.filefilter.SuffixFileFilter
Checks to see if the file name ends with the suffix.
accept(File, String) - Method in class org.apache.commons.io.filefilter.SuffixFileFilter
Checks to see if the file name ends with the suffix.
accept(File) - Method in class org.apache.commons.io.filefilter.TrueFileFilter
Returns true.
accept(File, String) - Method in class org.apache.commons.io.filefilter.TrueFileFilter
Returns true.
accept(File, String) - Method in class org.apache.commons.io.filefilter.WildcardFileFilter
Checks to see if the file name matches one of the wildcards.
accept(File) - Method in class org.apache.commons.io.filefilter.WildcardFileFilter
Checks to see if the file name matches one of the wildcards.
accept(File, String) - Method in class org.apache.commons.io.filefilter.WildcardFilter
Deprecated.
Checks to see if the file name matches one of the wildcards.
accept(File) - Method in class org.apache.commons.io.filefilter.WildcardFilter
Deprecated.
Checks to see if the file name matches one of the wildcards.
accept(T) - Method in interface org.apache.commons.io.function.IOConsumer
Performs this operation on the given argument.
accept(Class<?>...) - Method in class org.apache.commons.io.serialization.ValidatingObjectInputStream
Accept the specified classes for deserialization, unless they are otherwise rejected.
accept(String...) - Method in class org.apache.commons.io.serialization.ValidatingObjectInputStream
Accept the wildcard specified classes for deserialization, unless they are otherwise rejected.
accept(Pattern) - Method in class org.apache.commons.io.serialization.ValidatingObjectInputStream
Accept class names that match the supplied pattern for deserialization, unless they are otherwise rejected.
accept(ClassNameMatcher) - Method in class org.apache.commons.io.serialization.ValidatingObjectInputStream
Accept class names where the supplied ClassNameMatcher matches for deserialization, unless they are otherwise rejected.
AccumulatorPathVisitor - Class in org.apache.commons.io.file
Accumulates normalized paths during visitation.
AccumulatorPathVisitor(Counters.PathCounters) - Constructor for class org.apache.commons.io.file.AccumulatorPathVisitor
Constructs a new instance.
add(long) - Method in interface org.apache.commons.io.file.Counters.Counter
Adds the given number to this counter.
add(byte) - Method in class org.apache.commons.io.input.buffer.CircularByteBuffer
Adds a new byte to the buffer, which will eventually be returned by following invocations of CircularByteBuffer.read().
add(byte[], int, int) - Method in class org.apache.commons.io.input.buffer.CircularByteBuffer
Adds the given bytes to the buffer.
add(ObservableInputStream.Observer) - Method in class org.apache.commons.io.input.ObservableInputStream
Adds an Observer.
addFileFilter(IOFileFilter) - Method in class org.apache.commons.io.filefilter.AndFileFilter
Adds the specified file filter to the list of file filters at the end of the list.
addFileFilter(IOFileFilter) - Method in interface org.apache.commons.io.filefilter.ConditionalFileFilter
Adds the specified file filter to the list of file filters at the end of the list.
addFileFilter(IOFileFilter) - Method in class org.apache.commons.io.filefilter.OrFileFilter
Adds the specified file filter to the list of file filters at the end of the list.
addListener(FileAlterationListener) - Method in class org.apache.commons.io.monitor.FileAlterationObserver
Adds a file system listener.
addObserver(FileAlterationObserver) - Method in class org.apache.commons.io.monitor.FileAlterationMonitor
Adds a file system observer to this monitor.
afterRead(int) - Method in class org.apache.commons.io.input.AutoCloseInputStream
Automatically closes the stream if the end of stream was reached.
afterRead(int) - Method in class org.apache.commons.io.input.CountingInputStream
Adds the number of read bytes to the count.
afterRead(int) - Method in class org.apache.commons.io.input.ProxyInputStream
Invoked by the read methods after the proxied call has returned successfully.
afterRead(int) - Method in class org.apache.commons.io.input.ProxyReader
Invoked by the read methods after the proxied call has returned successfully.
afterWrite(int) - Method in class org.apache.commons.io.output.ProxyCollectionWriter
Invoked by the write methods after the proxied call has returned successfully.
afterWrite(int) - Method in class org.apache.commons.io.output.ProxyOutputStream
Invoked by the write methods after the proxied call has returned successfully.
afterWrite(int) - Method in class org.apache.commons.io.output.ProxyWriter
Invoked by the write methods after the proxied call has returned successfully.
AgeFileFilter - Class in org.apache.commons.io.filefilter
Filters files based on a cutoff time, can filter either newer files or files equal to or older.
AgeFileFilter(long) - Constructor for class org.apache.commons.io.filefilter.AgeFileFilter
Constructs a new age file filter for files equal to or older than a certain cutoff
AgeFileFilter(long, boolean) - Constructor for class org.apache.commons.io.filefilter.AgeFileFilter
Constructs a new age file filter for files on any one side of a certain cutoff.
AgeFileFilter(Date) - Constructor for class org.apache.commons.io.filefilter.AgeFileFilter
Constructs a new age file filter for files older than (at or before) a certain cutoff date.
AgeFileFilter(Date, boolean) - Constructor for class org.apache.commons.io.filefilter.AgeFileFilter
Constructs a new age file filter for files on any one side of a certain cutoff date.
AgeFileFilter(File) - Constructor for class org.apache.commons.io.filefilter.AgeFileFilter
Constructs a new age file filter for files older than (at or before) a certain File (whose last modification time will be used as reference).
AgeFileFilter(File, boolean) - Constructor for class org.apache.commons.io.filefilter.AgeFileFilter
Constructs a new age file filter for files on any one side of a certain File (whose last modification time will be used as reference).
ageFileFilter(long) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
Returns a filter that returns true if the file was last modified before or at the specified cutoff time.
ageFileFilter(long, boolean) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
Returns a filter that filters files based on a cutoff time.
ageFileFilter(Date) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
Returns a filter that returns true if the file was last modified before or at the specified cutoff date.
ageFileFilter(Date, boolean) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
Returns a filter that filters files based on a cutoff date.
ageFileFilter(File) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
Returns a filter that returns true if the file was last modified before or at the same time as the specified reference file.
ageFileFilter(File, boolean) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
Returns a filter that filters files based on a cutoff reference file.
and(IOFileFilter...) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
Returns a filter that ANDs the specified filters.
AndFileFilter - Class in org.apache.commons.io.filefilter
A FileFilter providing conditional AND logic across a list of file filters.
AndFileFilter() - Constructor for class org.apache.commons.io.filefilter.AndFileFilter
Constructs a new instance of AndFileFilter.
AndFileFilter(List<IOFileFilter>) - Constructor for class org.apache.commons.io.filefilter.AndFileFilter
Constructs a new instance of AndFileFilter with the specified list of filters.
AndFileFilter(IOFileFilter, IOFileFilter) - Constructor for class org.apache.commons.io.filefilter.AndFileFilter
Constructs a new file filter that ANDs the result of two other filters.
andFileFilter(IOFileFilter, IOFileFilter) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
andThen(IOConsumer<? super T>) - Method in interface org.apache.commons.io.function.IOConsumer
Returns a composed IoConsumer that performs, in sequence, this operation followed by the after operation.
andThen(IOFunction<? super R, ? extends V>) - Method in interface org.apache.commons.io.function.IOFunction
Returns a composed IOFunction that first applies this function to its input, and then applies the after function to the result.
andThen(Function<? super R, ? extends V>) - Method in interface org.apache.commons.io.function.IOFunction
Returns a composed IOFunction that first applies this function to its input, and then applies the after function to the result.
andThen(IOConsumer<? super R>) - Method in interface org.apache.commons.io.function.IOFunction
Returns a composed IOFunction that first applies this function to its input, and then applies the after consumer to the result.
andThen(Consumer<? super R>) - Method in interface org.apache.commons.io.function.IOFunction
Returns a composed IOFunction that first applies this function to its input, and then applies the after consumer to the result.
append(char) - Method in class org.apache.commons.io.output.AppendableWriter
Appends the specified character to the underlying appendable.
append(CharSequence) - Method in class org.apache.commons.io.output.AppendableWriter
Appends the specified character sequence to the underlying appendable.
append(CharSequence, int, int) - Method in class org.apache.commons.io.output.AppendableWriter
Appends a subsequence of the specified character sequence to the underlying appendable.
append(char) - Method in class org.apache.commons.io.output.FilterCollectionWriter
 
append(CharSequence) - Method in class org.apache.commons.io.output.FilterCollectionWriter
 
append(CharSequence, int, int) - Method in class org.apache.commons.io.output.FilterCollectionWriter
 
append(char) - Method in class org.apache.commons.io.output.NullWriter
Does nothing - output to /dev/null.
append(CharSequence, int, int) - Method in class org.apache.commons.io.output.NullWriter
Does nothing - output to /dev/null.
append(CharSequence) - Method in class org.apache.commons.io.output.NullWriter
Does nothing - output to /dev/null.
append(char) - Method in class org.apache.commons.io.output.ProxyCollectionWriter
Invokes the delegates' append(char) methods.
append(CharSequence) - Method in class org.apache.commons.io.output.ProxyCollectionWriter
Invokes the delegates' append(CharSequence) methods.
append(CharSequence, int, int) - Method in class org.apache.commons.io.output.ProxyCollectionWriter
Invokes the delegates' append(CharSequence, int, int) methods.
append(char) - Method in class org.apache.commons.io.output.ProxyWriter
Invokes the delegate's append(char) method.
append(CharSequence, int, int) - Method in class org.apache.commons.io.output.ProxyWriter
Invokes the delegate's append(CharSequence, int, int) method.
append(CharSequence) - Method in class org.apache.commons.io.output.ProxyWriter
Invokes the delegate's append(CharSequence) method.
append(char) - Method in class org.apache.commons.io.output.StringBuilderWriter
Appends a single character to this Writer.
append(CharSequence) - Method in class org.apache.commons.io.output.StringBuilderWriter
Appends a character sequence to this Writer.
append(CharSequence, int, int) - Method in class org.apache.commons.io.output.StringBuilderWriter
Appends a portion of a character sequence to the StringBuilder.
AppendableOutputStream<T extends Appendable> - Class in org.apache.commons.io.output
OutputStream implementation that writes the data to an Appendable Object.
AppendableOutputStream(T) - Constructor for class org.apache.commons.io.output.AppendableOutputStream
Construct a new instance with the specified appendable.
AppendableWriter<T extends Appendable> - Class in org.apache.commons.io.output
Writer implementation that writes the data to an Appendable Object.
AppendableWriter(T) - Constructor for class org.apache.commons.io.output.AppendableWriter
Constructs a new instance with the specified appendable.
apply(T) - Method in interface org.apache.commons.io.function.IOFunction
Applies this function to the given argument.
asFileFilter(FileFilter) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
Returns an IOFileFilter that wraps the FileFilter instance.
asFileFilter(FilenameFilter) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
Returns an IOFileFilter that wraps the FilenameFilter instance.
AutoCloseInputStream - Class in org.apache.commons.io.input
Proxy stream that closes and discards the underlying stream as soon as the end of input has been reached or when the stream is explicitly closed.
AutoCloseInputStream(InputStream) - Constructor for class org.apache.commons.io.input.AutoCloseInputStream
Creates an automatically closing proxy for the given input stream.
available() - Method in class org.apache.commons.io.input.BoundedInputStream
available() - Method in class org.apache.commons.io.input.BrokenInputStream
Throws the configured exception.
available() - Method in class org.apache.commons.io.input.CharSequenceInputStream
Return an estimate of the number of bytes remaining in the byte 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.
available() - Method in class org.apache.commons.io.input.UnsynchronizedByteArrayInputStream
 

B

beforeRead(int) - Method in class org.apache.commons.io.input.ProxyInputStream
Invoked by the read methods before the call is proxied.
beforeRead(int) - Method in class org.apache.commons.io.input.ProxyReader
Invoked by the read methods before the call is proxied.
beforeWrite(int) - Method in class org.apache.commons.io.output.CountingOutputStream
Updates the count with the number of bytes that are being written.
beforeWrite(int) - Method in class org.apache.commons.io.output.ProxyCollectionWriter
Invoked by the write methods before the call is proxied.
beforeWrite(int) - Method in class org.apache.commons.io.output.ProxyOutputStream
Invoked by the write methods before the call is proxied.
beforeWrite(int) - Method in class org.apache.commons.io.output.ProxyWriter
Invoked by the write methods before the call is proxied.
bigIntegerCounter() - Static method in class org.apache.commons.io.file.Counters
Returns a new BigInteger Counter.
bigIntegerPathCounters() - Static method in class org.apache.commons.io.file.Counters
Returns a new BigInteger PathCounters.
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
Binds the specified stream to the current thread.
BOMInputStream - Class in org.apache.commons.io.input
This class is used to wrap a stream that includes an encoded ByteOrderMark as its first bytes.
BOMInputStream(InputStream) - Constructor for class org.apache.commons.io.input.BOMInputStream
Constructs a new BOM InputStream that excludes a ByteOrderMark.UTF_8 BOM.
BOMInputStream(InputStream, boolean) - Constructor for class org.apache.commons.io.input.BOMInputStream
Constructs a new BOM InputStream that detects a a ByteOrderMark.UTF_8 and optionally includes it.
BOMInputStream(InputStream, ByteOrderMark...) - Constructor for class org.apache.commons.io.input.BOMInputStream
Constructs a new BOM InputStream that excludes the specified BOMs.
BOMInputStream(InputStream, boolean, ByteOrderMark...) - Constructor for class org.apache.commons.io.input.BOMInputStream
Constructs a new BOM InputStream that detects the specified BOMs and optionally includes them.
BoundedInputStream - Class in org.apache.commons.io.input
This is a stream that will only supply bytes up to a certain length - if its position goes above that, it will stop.
BoundedInputStream(InputStream, long) - Constructor for class org.apache.commons.io.input.BoundedInputStream
Creates a new BoundedInputStream that wraps the given input stream and limits it to a certain size.
BoundedInputStream(InputStream) - Constructor for class org.apache.commons.io.input.BoundedInputStream
Creates a new BoundedInputStream that wraps the given input stream and is unlimited.
BoundedReader - Class in org.apache.commons.io.input
A reader that imposes a limit to the number of characters that can be read from an underlying reader, returning EOF when this limit is reached, regardless of state of underlying reader.
BoundedReader(Reader, int) - Constructor for class org.apache.commons.io.input.BoundedReader
Constructs a bounded reader
branch - Variable in class org.apache.commons.io.output.TeeOutputStream
the second OutputStream to write to
BrokenInputStream - Class in org.apache.commons.io.input
Broken input stream.
BrokenInputStream(IOException) - Constructor for class org.apache.commons.io.input.BrokenInputStream
Creates a new stream that always throws the given exception.
BrokenInputStream() - Constructor for class org.apache.commons.io.input.BrokenInputStream
Creates a new stream that always throws an IOException
BrokenOutputStream - Class in org.apache.commons.io.output
Broken output stream.
BrokenOutputStream(IOException) - Constructor for class org.apache.commons.io.output.BrokenOutputStream
Creates a new stream that always throws the given exception.
BrokenOutputStream() - Constructor for class org.apache.commons.io.output.BrokenOutputStream
Creates a new stream that always throws an IOException
BrokenReader - Class in org.apache.commons.io.input
Broken reader.
BrokenReader(IOException) - Constructor for class org.apache.commons.io.input.BrokenReader
Creates a new reader that always throws the given exception.
BrokenReader() - Constructor for class org.apache.commons.io.input.BrokenReader
Creates a new reader that always throws an IOException
BrokenWriter - Class in org.apache.commons.io.output
Broken writer.
BrokenWriter(IOException) - Constructor for class org.apache.commons.io.output.BrokenWriter
Creates a new writer that always throws the given exception.
BrokenWriter() - Constructor for class org.apache.commons.io.output.BrokenWriter
Creates a new writer that always throws an IOException
buffer - Variable in class org.apache.commons.io.input.buffer.CircularBufferInputStream
 
buffer(InputStream) - Static method in class org.apache.commons.io.IOUtils
Returns the given InputStream if it is already a BufferedInputStream, otherwise creates a BufferedInputStream from the given InputStream.
buffer(InputStream, int) - Static method in class org.apache.commons.io.IOUtils
Returns the given InputStream if it is already a BufferedInputStream, otherwise creates a BufferedInputStream from the given InputStream.
buffer(OutputStream) - Static method in class org.apache.commons.io.IOUtils
Returns the given OutputStream if it is already a BufferedOutputStream, otherwise creates a BufferedOutputStream from the given OutputStream.
buffer(OutputStream, int) - Static method in class org.apache.commons.io.IOUtils
Returns the given OutputStream if it is already a BufferedOutputStream, otherwise creates a BufferedOutputStream from the given OutputStream.
buffer(Reader) - Static method in class org.apache.commons.io.IOUtils
Returns the given reader if it is already a BufferedReader, otherwise creates a BufferedReader from the given reader.
buffer(Reader, int) - Static method in class org.apache.commons.io.IOUtils
Returns the given reader if it is already a BufferedReader, otherwise creates a BufferedReader from the given reader.
buffer(Writer) - Static method in class org.apache.commons.io.IOUtils
Returns the given Writer if it is already a BufferedWriter, otherwise creates a BufferedWriter from the given Writer.
buffer(Writer, int) - Static method in class org.apache.commons.io.IOUtils
Returns the given Writer if it is already a BufferedWriter, otherwise creates a BufferedWriter from the given Writer.
bufferSize - Variable in class org.apache.commons.io.input.buffer.CircularBufferInputStream
 
ByteArrayOutputStream - Class in org.apache.commons.io.output
Implements a ThreadSafe version of AbstractByteArrayOutputStream using instance synchronization.
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(BigInteger) - 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.
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.
ByteOrderMark - Class in org.apache.commons.io
Byte Order Mark (BOM) representation - see BOMInputStream.
ByteOrderMark(String, int...) - Constructor for class org.apache.commons.io.ByteOrderMark
Construct a new BOM.
ByteOrderParser - Class in org.apache.commons.io
Converts Strings to ByteOrder instances.

C

CAN_EXECUTE - Static variable in class org.apache.commons.io.filefilter.CanExecuteFileFilter
Singleton instance of executable filter
CAN_READ - Static variable in class org.apache.commons.io.filefilter.CanReadFileFilter
Singleton instance of readable filter
CAN_WRITE - Static variable in class org.apache.commons.io.filefilter.CanWriteFileFilter
Singleton instance of writable filter
CancelException(File, int) - Constructor for exception org.apache.commons.io.DirectoryWalker.CancelException
Constructs a CancelException with the file and depth when cancellation occurred.
CancelException(String, File, int) - Constructor for exception org.apache.commons.io.DirectoryWalker.CancelException
Constructs a CancelException with an appropriate message and the file and depth when cancellation occurred.
CanExecuteFileFilter - Class in org.apache.commons.io.filefilter
This filter accepts Files that can be executed.
CanExecuteFileFilter() - Constructor for class org.apache.commons.io.filefilter.CanExecuteFileFilter
Restrictive constructor.
CANNOT_EXECUTE - Static variable in class org.apache.commons.io.filefilter.CanExecuteFileFilter
Singleton instance of not executable filter
CANNOT_READ - Static variable in class org.apache.commons.io.filefilter.CanReadFileFilter
Singleton instance of not readable filter
CANNOT_WRITE - Static variable in class org.apache.commons.io.filefilter.CanWriteFileFilter
Singleton instance of not writable filter
CanReadFileFilter - Class in org.apache.commons.io.filefilter
This filter accepts Files that can be read.
CanReadFileFilter() - Constructor for class org.apache.commons.io.filefilter.CanReadFileFilter
Restrictive constructor.
CanWriteFileFilter - Class in org.apache.commons.io.filefilter
This filter accepts Files that can be written to.
CanWriteFileFilter() - Constructor for class org.apache.commons.io.filefilter.CanWriteFileFilter
Restrictive constructor.
CharacterFilterReader - Class in org.apache.commons.io.input
A filter reader that filters out a given character represented as an int code point, handy to remove known junk characters from CSV files for example.
CharacterFilterReader(Reader, int) - Constructor for class org.apache.commons.io.input.CharacterFilterReader
Constructs a new reader.
CharacterSetFilterReader - Class in org.apache.commons.io.input
A filter reader that removes a given set of characters represented as int code points, handy to remove known junk characters from CSV files for example.
CharacterSetFilterReader(Reader, Set<Integer>) - Constructor for class org.apache.commons.io.input.CharacterSetFilterReader
Constructs a new reader.
CharSequenceInputStream - Class in org.apache.commons.io.input
InputStream implementation that can read from String, StringBuffer, StringBuilder or CharBuffer.
CharSequenceInputStream(CharSequence, Charset, int) - Constructor for class org.apache.commons.io.input.CharSequenceInputStream
Constructor.
CharSequenceInputStream(CharSequence, String, int) - Constructor for class org.apache.commons.io.input.CharSequenceInputStream
CharSequenceInputStream(CharSequence, Charset) - Constructor for class org.apache.commons.io.input.CharSequenceInputStream
CharSequenceInputStream(CharSequence, String) - Constructor for class org.apache.commons.io.input.CharSequenceInputStream
CharSequenceReader - Class in org.apache.commons.io.input
Reader implementation that can read from String, StringBuffer, StringBuilder or CharBuffer.
CharSequenceReader(CharSequence) - Constructor for class org.apache.commons.io.input.CharSequenceReader
Constructs a new instance with the specified character sequence.
CharSequenceReader(CharSequence, int) - Constructor for class org.apache.commons.io.input.CharSequenceReader
Constructs a new instance with a portion of the specified character sequence.
CharSequenceReader(CharSequence, int, int) - Constructor for class org.apache.commons.io.input.CharSequenceReader
Constructs a new instance with a portion of the specified character sequence.
Charsets - Class in org.apache.commons.io
Charsets required of every implementation of the Java platform.
Charsets() - Constructor for class org.apache.commons.io.Charsets
 
checkAndNotify() - Method in class org.apache.commons.io.monitor.FileAlterationObserver
Checks whether the file and its children have been created, modified or deleted.
checkCompareTo(String, String) - Method in enum org.apache.commons.io.IOCase
Compares two strings using the case-sensitivity rule.
checkEndsWith(String, String) - Method in enum org.apache.commons.io.IOCase
Checks if one string ends with another using the case-sensitivity rule.
checkEquals(String, String) - Method in enum org.apache.commons.io.IOCase
Compares two strings using the case-sensitivity rule.
checkIfCancelled(File, int, Collection<T>) - Method in class org.apache.commons.io.DirectoryWalker
Checks whether the walk has been cancelled by calling DirectoryWalker.handleIsCancelled(java.io.File, int, java.util.Collection<T>), throwing a CancelException if it has.
checkIndexOf(String, int, String) - Method in enum org.apache.commons.io.IOCase
Checks if one string contains another starting at a specific index using the case-sensitivity rule.
checkRegionMatches(String, int, String) - Method in enum 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 enum 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.
ChunkedOutputStream - Class in org.apache.commons.io.output
OutputStream which breaks larger output blocks into chunks.
ChunkedOutputStream(OutputStream, int) - Constructor for class org.apache.commons.io.output.ChunkedOutputStream
Creates a new stream that uses the specified chunk size.
ChunkedOutputStream(OutputStream) - Constructor for class org.apache.commons.io.output.ChunkedOutputStream
Creates a new stream that uses a chunk size of ChunkedOutputStream.DEFAULT_CHUNK_SIZE.
ChunkedWriter - Class in org.apache.commons.io.output
Writer which breaks larger output blocks into chunks.
ChunkedWriter(Writer, int) - Constructor for class org.apache.commons.io.output.ChunkedWriter
Creates a new writer that uses the specified chunk size.
ChunkedWriter(Writer) - Constructor for class org.apache.commons.io.output.ChunkedWriter
Creates a new writer that uses a chunk size of ChunkedWriter.DEFAULT_CHUNK_SIZE
CircularBufferInputStream - Class in org.apache.commons.io.input.buffer
Implementation of a buffered input stream, which is internally based on the CircularByteBuffer.
CircularBufferInputStream(InputStream, int) - Constructor for class org.apache.commons.io.input.buffer.CircularBufferInputStream
Creates a new instance, which filters the given input stream, and uses the given buffer size.
CircularBufferInputStream(InputStream) - Constructor for class org.apache.commons.io.input.buffer.CircularBufferInputStream
Creates a new instance, which filters the given input stream, and uses a reasonable default buffer size (IOUtils.DEFAULT_BUFFER_SIZE).
CircularByteBuffer - Class in org.apache.commons.io.input.buffer
A buffer, which doesn't need reallocation of byte arrays, because it reuses a single byte array.
CircularByteBuffer(int) - Constructor for class org.apache.commons.io.input.buffer.CircularByteBuffer
Creates a new instance with the given buffer size.
CircularByteBuffer() - Constructor for class org.apache.commons.io.input.buffer.CircularByteBuffer
Creates a new instance with a reasonable default buffer size (IOUtils.DEFAULT_BUFFER_SIZE).
ClassLoaderObjectInputStream - Class in org.apache.commons.io.input
A special ObjectInputStream that loads a class based on a specified ClassLoader rather than the system default.
ClassLoaderObjectInputStream(ClassLoader, InputStream) - Constructor for class org.apache.commons.io.input.ClassLoaderObjectInputStream
Constructs a new ClassLoaderObjectInputStream.
ClassNameMatcher - Interface in org.apache.commons.io.serialization
An object that matches a Class name to a condition.
cleanDirectory(Path) - Static method in class org.apache.commons.io.file.PathUtils
Cleans a directory including sub-directories without deleting directories.
cleanDirectory(File) - Static method in class org.apache.commons.io.FileUtils
Cleans a directory without deleting it.
CleaningPathVisitor - Class in org.apache.commons.io.file
Deletes files but not directories as a visit proceeds.
CleaningPathVisitor(Counters.PathCounters, String...) - Constructor for class org.apache.commons.io.file.CleaningPathVisitor
Constructs a new visitor that deletes files except for the files and directories explicitly given.
clear() - Method in class org.apache.commons.io.input.buffer.CircularByteBuffer
Removes all bytes from the buffer.
close() - Method in class org.apache.commons.io.input.AutoCloseInputStream
Closes the underlying input stream and replaces the reference to it with a ClosedInputStream instance.
close() - Method in class org.apache.commons.io.input.BoundedInputStream
Invokes the delegate's close() method if BoundedInputStream.isPropagateClose() is true.
close() - Method in class org.apache.commons.io.input.BoundedReader
Closes the target
close() - Method in class org.apache.commons.io.input.BrokenInputStream
Throws the configured exception.
close() - Method in class org.apache.commons.io.input.BrokenReader
Throws the configured exception.
close() - Method in class org.apache.commons.io.input.buffer.CircularBufferInputStream
 
close() - Method in class org.apache.commons.io.input.CharSequenceInputStream
 
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.ClosedReader
 
close() - Method in class org.apache.commons.io.input.CloseShieldInputStream
Replaces the underlying input stream with a ClosedInputStream sentinel.
close() - Method in class org.apache.commons.io.input.CloseShieldReader
Replaces the underlying reader with a ClosedReader sentinel.
close() - Method in class org.apache.commons.io.input.DemuxInputStream
Closes stream associated with current thread.
close() - Method in class org.apache.commons.io.input.NullInputStream
Close this input stream - resets the internal state to the initial values.
close() - Method in class org.apache.commons.io.input.NullReader
Closes this Reader - resets the internal state to the initial values.
close() - Method in class org.apache.commons.io.input.ObservableInputStream
 
close() - Method in class org.apache.commons.io.input.ProxyInputStream
Invokes the delegate's close() method.
close() - Method in class org.apache.commons.io.input.ProxyReader
Invokes the delegate's close() method.
close() - Method in class org.apache.commons.io.input.ReaderInputStream
Close the stream.
close() - Method in class org.apache.commons.io.input.ReversedLinesFileReader
Closes underlying resources.
close() - Method in class org.apache.commons.io.input.SequenceReader
 
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.input.TeeReader
Closes the proxied reader and, if so configured, the associated writer.
close() - Method in class org.apache.commons.io.input.UnixLineEndingInputStream
Closes the stream.
close() - Method in class org.apache.commons.io.input.WindowsLineEndingInputStream
Closes the stream.
close() - Method in class org.apache.commons.io.input.XmlStreamReader
Closes the XmlStreamReader stream.
close(Closeable) - Static method in class org.apache.commons.io.IOUtils
Closes the given Closeable as a null-safe operation.
close(Closeable, IOConsumer<IOException>) - Static method in class org.apache.commons.io.IOUtils
Closes the given Closeable as a null-safe operation.
close(URLConnection) - Static method in class org.apache.commons.io.IOUtils
Closes a URLConnection.
close() - Method in class org.apache.commons.io.LineIterator
Closes the underlying Reader.
close() - Method in class org.apache.commons.io.output.AbstractByteArrayOutputStream
Closing a ByteArrayOutputStream has no effect.
close() - Method in class org.apache.commons.io.output.AppendableWriter
Closes the stream.
close() - Method in class org.apache.commons.io.output.BrokenOutputStream
Throws the configured exception.
close() - Method in class org.apache.commons.io.output.BrokenWriter
Throws the configured exception.
close() - Method in class org.apache.commons.io.output.ClosedWriter
 
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.CloseShieldWriter
Replaces the underlying writer with a ClosedWriter sentinel.
close() - Method in class org.apache.commons.io.output.DeferredFileOutputStream
Closes underlying output stream, and mark this as closed
close() - Method in class org.apache.commons.io.output.DemuxOutputStream
Closes stream associated with current thread.
close() - Method in class org.apache.commons.io.output.FileWriterWithEncoding
Close the stream.
close() - Method in class org.apache.commons.io.output.FilterCollectionWriter
 
close() - Method in class org.apache.commons.io.output.LockableFileWriter
Closes the file writer and deletes the lockfile (if possible).
close() - Method in class org.apache.commons.io.output.NullWriter
 
close() - Method in class org.apache.commons.io.output.ProxyCollectionWriter
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.output.ProxyWriter
Invokes the delegate's close() method.
close() - Method in class org.apache.commons.io.output.StringBuilderWriter
Closing this writer has no effect.
close() - Method in class org.apache.commons.io.output.TeeOutputStream
Closes both output streams.
close() - Method in class org.apache.commons.io.output.ThresholdingOutputStream
Closes this output stream and releases any system resources associated with this stream.
close() - Method in class org.apache.commons.io.output.WriterOutputStream
Close the stream.
close() - Method in class org.apache.commons.io.output.XmlStreamWriter
Closes the underlying writer.
closed() - Method in class org.apache.commons.io.input.ObservableInputStream.Observer
Called to indicate, that the ObservableInputStream has been closed.
CLOSED_INPUT_STREAM - Static variable in class org.apache.commons.io.input.ClosedInputStream
A singleton.
CLOSED_OUTPUT_STREAM - Static variable in class org.apache.commons.io.output.ClosedOutputStream
A singleton.
CLOSED_READER - Static variable in class org.apache.commons.io.input.ClosedReader
A singleton.
CLOSED_WRITER - Static variable in class org.apache.commons.io.output.ClosedWriter
A singleton.
ClosedInputStream - Class in org.apache.commons.io.input
Closed input stream.
ClosedInputStream() - Constructor for class org.apache.commons.io.input.ClosedInputStream
 
ClosedOutputStream - Class in org.apache.commons.io.output
Throws an exception on all attempts to write to the stream.
ClosedOutputStream() - Constructor for class org.apache.commons.io.output.ClosedOutputStream
 
ClosedReader - Class in org.apache.commons.io.input
Closed reader.
ClosedReader() - Constructor for class org.apache.commons.io.input.ClosedReader
 
ClosedWriter - Class in org.apache.commons.io.output
Throws an exception on all attempts to write with ClosedWriter.close() implemented as a noop.
ClosedWriter() - Constructor for class org.apache.commons.io.output.ClosedWriter
 
closeQuietly(Closeable) - Static method in class org.apache.commons.io.IOUtils
Deprecated.
As of 2.6 deprecated without replacement. Please use the try-with-resources statement or handle suppressed exceptions manually.
closeQuietly(Closeable, Consumer<IOException>) - Static method in class org.apache.commons.io.IOUtils
Closes the given Closeable as a null-safe operation while consuming IOException by the given consumer.
closeQuietly(Closeable...) - Static method in class org.apache.commons.io.IOUtils
Deprecated.
As of 2.6 deprecated without replacement. Please use the try-with-resources statement or handle suppressed exceptions manually.
closeQuietly(InputStream) - Static method in class org.apache.commons.io.IOUtils
Deprecated.
As of 2.6 deprecated without replacement. Please use the try-with-resources statement or handle suppressed exceptions manually.
closeQuietly(OutputStream) - Static method in class org.apache.commons.io.IOUtils
Deprecated.
As of 2.6 deprecated without replacement. Please use the try-with-resources statement or handle suppressed exceptions manually.
closeQuietly(Reader) - Static method in class org.apache.commons.io.IOUtils
Deprecated.
As of 2.6 deprecated without replacement. Please use the try-with-resources statement or handle suppressed exceptions manually.
closeQuietly(Selector) - Static method in class org.apache.commons.io.IOUtils
Deprecated.
As of 2.6 deprecated without replacement. Please use the try-with-resources statement or handle suppressed exceptions manually.
closeQuietly(ServerSocket) - Static method in class org.apache.commons.io.IOUtils
Deprecated.
As of 2.6 deprecated without replacement. Please use the try-with-resources statement or handle suppressed exceptions manually.
closeQuietly(Socket) - Static method in class org.apache.commons.io.IOUtils
Deprecated.
As of 2.6 deprecated without replacement. Please use the try-with-resources statement or handle suppressed exceptions manually.
closeQuietly(Writer) - Static method in class org.apache.commons.io.IOUtils
Deprecated.
As of 2.6 deprecated without replacement. Please use the try-with-resources statement or handle suppressed exceptions manually.
closeQuietly(LineIterator) - Static method in class org.apache.commons.io.LineIterator
Deprecated.
As of 2.6 deprecated without replacement. Please use the try-with-resources statement or handle suppressed exceptions manually.
CloseShieldInputStream - Class in org.apache.commons.io.input
Proxy stream that prevents the underlying input stream from being closed.
CloseShieldInputStream(InputStream) - Constructor for class org.apache.commons.io.input.CloseShieldInputStream
Creates a proxy that shields the given input stream from being closed.
CloseShieldOutputStream - Class in org.apache.commons.io.output
Proxy stream that prevents the underlying output stream from being closed.
CloseShieldOutputStream(OutputStream) - Constructor for class org.apache.commons.io.output.CloseShieldOutputStream
Creates a proxy that shields the given output stream from being closed.
CloseShieldReader - Class in org.apache.commons.io.input
Proxy stream that prevents the underlying reader from being closed.
CloseShieldReader(Reader) - Constructor for class org.apache.commons.io.input.CloseShieldReader
Creates a proxy that shields the given reader from being closed.
CloseShieldWriter - Class in org.apache.commons.io.output
Proxy stream that prevents the underlying writer from being closed.
CloseShieldWriter(Writer) - Constructor for class org.apache.commons.io.output.CloseShieldWriter
Creates a proxy that shields the given writer from being closed.
compare(File, File) - Method in class org.apache.commons.io.comparator.CompositeFileComparator
Compare the two files using delegate comparators.
compare(File, File) - Method in class org.apache.commons.io.comparator.DefaultFileComparator
Compare the two files using the File.compareTo(File) method.
compare(File, File) - Method in class org.apache.commons.io.comparator.DirectoryFileComparator
Compare the two files using the File.isDirectory() method.
compare(File, File) - Method in class org.apache.commons.io.comparator.ExtensionFileComparator
Compare the extensions of two files the specified case sensitivity.
compare(File, File) - Method in class org.apache.commons.io.comparator.LastModifiedFileComparator
Compare the last the last modified date/time of two files.
compare(File, File) - Method in class org.apache.commons.io.comparator.NameFileComparator
Compare the names of two files with the specified case sensitivity.
compare(File, File) - Method in class org.apache.commons.io.comparator.PathFileComparator
Compare the paths of two files the specified case sensitivity.
compare(File, File) - Method in class org.apache.commons.io.comparator.SizeFileComparator
Compare the length of two files.
compose(IOFunction<? super V, ? extends T>) - Method in interface org.apache.commons.io.function.IOFunction
Returns a composed IOFunction that first applies the before function to its input, and then applies this function to the result.
compose(Function<? super V, ? extends T>) - Method in interface org.apache.commons.io.function.IOFunction
Returns a composed IOFunction that first applies the before function to its input, and then applies this function to the result.
compose(IOSupplier<? extends T>) - Method in interface org.apache.commons.io.function.IOFunction
Returns a composed IOFunction that first applies the before function to its input, and then applies this function to the result.
compose(Supplier<? extends T>) - Method in interface org.apache.commons.io.function.IOFunction
Returns a composed IOFunction that first applies the before function to its input, and then applies this function to the result.
CompositeFileComparator - Class in org.apache.commons.io.comparator
Compare two files using a set of delegate file Comparator.
CompositeFileComparator(Comparator<File>...) - Constructor for class org.apache.commons.io.comparator.CompositeFileComparator
Create a composite comparator for the set of delegate comparators.
CompositeFileComparator(Iterable<Comparator<File>>) - Constructor for class org.apache.commons.io.comparator.CompositeFileComparator
Create a composite comparator for the set of delegate comparators.
concat(String, String) - Static method in class org.apache.commons.io.FilenameUtils
Concatenates a fileName to a base path using normal command line style rules.
ConditionalFileFilter - Interface in org.apache.commons.io.filefilter
Defines operations for conditional file filters.
construct(byte[], int, int) - Method in interface org.apache.commons.io.output.AbstractByteArrayOutputStream.InputStreamConstructor
Construct an InputStream subclass.
consume() - Method in class org.apache.commons.io.input.ObservableInputStream
Reads all data from the underlying InputStream, while notifying the observers.
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
Compares 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
Compares the contents of two Readers to determine if they are equal or not.
contentEqualsIgnoreEOL(File, File, String) - Static method in class org.apache.commons.io.FileUtils
Compares the contents of two files to determine if they are equal or not.
contentEqualsIgnoreEOL(Reader, Reader) - Static method in class org.apache.commons.io.IOUtils
Compares the contents of two Readers to determine if they are equal or not, ignoring EOL characters.
convertFileCollectionToFileArray(Collection<File>) - Static method in class org.apache.commons.io.FileUtils
Converts a Collection containing java.io.File instanced into array representation.
copy(byte[], OutputStream) - Static method in class org.apache.commons.io.CopyUtils
Deprecated.
Copy bytes from a byte[] to an OutputStream.
copy(byte[], Writer) - Static method in class org.apache.commons.io.CopyUtils
Deprecated.
copy(byte[], Writer, String) - Static method in class org.apache.commons.io.CopyUtils
Deprecated.
Copy and convert bytes from a byte[] to chars on a Writer, using the specified encoding.
copy(InputStream, OutputStream) - Static method in class org.apache.commons.io.CopyUtils
Deprecated.
Copy bytes from an InputStream to an OutputStream.
copy(Reader, Writer) - Static method in class org.apache.commons.io.CopyUtils
Deprecated.
Copy chars from a Reader to a Writer.
copy(InputStream, Writer) - Static method in class org.apache.commons.io.CopyUtils
Deprecated.
copy(InputStream, Writer, String) - Static method in class org.apache.commons.io.CopyUtils
Deprecated.
Copy and convert bytes from an InputStream to chars on a Writer, using the specified encoding.
copy(Reader, OutputStream) - Static method in class org.apache.commons.io.CopyUtils
copy(Reader, OutputStream, String) - Static method in class org.apache.commons.io.CopyUtils
Deprecated.
Serialize chars from a Reader to bytes on an OutputStream, and flush the OutputStream.
copy(String, OutputStream) - Static method in class org.apache.commons.io.CopyUtils
copy(String, OutputStream, String) - Static method in class org.apache.commons.io.CopyUtils
Deprecated.
Serialize chars from a String to bytes on an OutputStream, and flush the OutputStream.
copy(String, Writer) - Static method in class org.apache.commons.io.CopyUtils
Deprecated.
Copy chars from a String to a Writer.
copy(InputStream, OutputStream) - Static method in class org.apache.commons.io.IOUtils
Copies bytes from an InputStream to an OutputStream.
copy(InputStream, OutputStream, int) - Static method in class org.apache.commons.io.IOUtils
Copies bytes from an InputStream to an OutputStream using an internal buffer of the given size.
copy(InputStream, Writer) - Static method in class org.apache.commons.io.IOUtils
Deprecated.
copy(InputStream, Writer, Charset) - Static method in class org.apache.commons.io.IOUtils
Copies bytes from an InputStream to chars on a Writer using the specified character encoding.
copy(InputStream, Writer, String) - Static method in class org.apache.commons.io.IOUtils
Copies bytes from an InputStream to chars on a Writer using the specified character encoding.
copy(Reader, Appendable) - Static method in class org.apache.commons.io.IOUtils
Copies chars from a Reader to a Appendable.
copy(Reader, Appendable, CharBuffer) - Static method in class org.apache.commons.io.IOUtils
Copies chars from a Reader to an Appendable.
copy(Reader, OutputStream) - Static method in class org.apache.commons.io.IOUtils
Deprecated.
copy(Reader, OutputStream, Charset) - Static method in class org.apache.commons.io.IOUtils
Copies chars from a Reader to bytes on an OutputStream using the specified character encoding, and calling flush.
copy(Reader, OutputStream, String) - Static method in class org.apache.commons.io.IOUtils
Copies 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.IOUtils
Copies chars from a Reader to a Writer.
copyDirectory(Path, Path, CopyOption...) - Static method in class org.apache.commons.io.file.PathUtils
Copies a directory to another directory.
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.
CopyDirectoryVisitor - Class in org.apache.commons.io.file
Copies a source directory to a target directory.
CopyDirectoryVisitor(Counters.PathCounters, Path, Path, CopyOption...) - Constructor for class org.apache.commons.io.file.CopyDirectoryVisitor
Constructs a new visitor that deletes files except for the files and directories explicitly given.
copyFile(URL, Path, CopyOption...) - Static method in class org.apache.commons.io.file.PathUtils
Copies a URL to a directory.
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.
copyFile(File, OutputStream) - Static method in class org.apache.commons.io.FileUtils
Copy bytes from a File to an OutputStream.
copyFileToDirectory(Path, Path, CopyOption...) - Static method in class org.apache.commons.io.file.PathUtils
Copies a file to a directory.
copyFileToDirectory(URL, Path, CopyOption...) - Static method in class org.apache.commons.io.file.PathUtils
Copies a URL to a directory.
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.
copyInputStreamToFile(InputStream, File) - Static method in class org.apache.commons.io.FileUtils
Copies bytes from an InputStream source to a file destination.
copyLarge(InputStream, OutputStream) - Static method in class org.apache.commons.io.IOUtils
Copies bytes from a large (over 2GB) InputStream to an OutputStream.
copyLarge(InputStream, OutputStream, byte[]) - Static method in class org.apache.commons.io.IOUtils
Copies bytes from a large (over 2GB) InputStream to an OutputStream.
copyLarge(InputStream, OutputStream, long, long) - Static method in class org.apache.commons.io.IOUtils
Copies some or all bytes from a large (over 2GB) InputStream to an OutputStream, optionally skipping input bytes.
copyLarge(InputStream, OutputStream, long, long, byte[]) - Static method in class org.apache.commons.io.IOUtils
Copies some or all bytes from a large (over 2GB) InputStream to an OutputStream, optionally skipping input bytes.
copyLarge(Reader, Writer) - Static method in class org.apache.commons.io.IOUtils
Copies chars from a large (over 2GB) Reader to a Writer.
copyLarge(Reader, Writer, char[]) - Static method in class org.apache.commons.io.IOUtils
Copies chars from a large (over 2GB) Reader to a Writer.
copyLarge(Reader, Writer, long, long) - Static method in class org.apache.commons.io.IOUtils
Copies some or all chars from a large (over 2GB) InputStream to an OutputStream, optionally skipping input chars.
copyLarge(Reader, Writer, long, long, char[]) - Static method in class org.apache.commons.io.IOUtils
Copies some or all chars from a large (over 2GB) InputStream to an OutputStream, optionally skipping input chars.
copyToDirectory(File, File) - Static method in class org.apache.commons.io.FileUtils
Copies a file or directory to within another directory preserving the file dates.
copyToDirectory(Iterable<File>, File) - Static method in class org.apache.commons.io.FileUtils
Copies a files to a directory preserving each file's date.
copyToFile(InputStream, File) - Static method in class org.apache.commons.io.FileUtils
Copies bytes from an InputStream source to a file destination.
copyURLToFile(URL, File) - Static method in class org.apache.commons.io.FileUtils
Copies bytes from the URL source to a file destination.
copyURLToFile(URL, File, int, int) - Static method in class org.apache.commons.io.FileUtils
Copies bytes from the URL source to a file destination.
CopyUtils - Class in org.apache.commons.io
Deprecated.
Use IOUtils. Will be removed in 2.0. Methods renamed to IOUtils.write() or IOUtils.copy(). Null handling behavior changed in IOUtils (null data does not throw NullPointerException).
CopyUtils() - Constructor for class org.apache.commons.io.CopyUtils
Deprecated.
Instances should NOT be constructed in standard programming.
count - Variable in class org.apache.commons.io.output.AbstractByteArrayOutputStream
The total count of bytes written.
countDirectory(Path) - Static method in class org.apache.commons.io.file.PathUtils
Counts aspects of a directory including sub-directories.
Counters - Class in org.apache.commons.io.file
Provides counters for files, directories, and sizes, as a visit proceeds.
Counters() - Constructor for class org.apache.commons.io.file.Counters
 
Counters.Counter - Interface in org.apache.commons.io.file
Counts using a number.
Counters.PathCounters - Interface in org.apache.commons.io.file
Counts files, directories, and sizes, as a visit proceeds.
CountingInputStream - Class in org.apache.commons.io.input
A decorating input stream that counts the number of bytes that have passed through the stream so far.
CountingInputStream(InputStream) - Constructor for class org.apache.commons.io.input.CountingInputStream
Constructs a new CountingInputStream.
CountingOutputStream - Class in org.apache.commons.io.output
A decorating output stream that counts the number of bytes that have passed through the stream so far.
CountingOutputStream(OutputStream) - Constructor for class org.apache.commons.io.output.CountingOutputStream
Constructs a new CountingOutputStream.
CountingPathVisitor - Class in org.apache.commons.io.file
Counts files, directories, and sizes, as a visit proceeds.
CountingPathVisitor(Counters.PathCounters) - Constructor for class org.apache.commons.io.file.CountingPathVisitor
Constructs a new instance.
create(File, TailerListener, long, boolean, int) - Static method in class org.apache.commons.io.input.Tailer
Creates and starts a Tailer for the given file.
create(File, TailerListener, long, boolean, boolean, int) - Static method in class org.apache.commons.io.input.Tailer
Creates and starts a Tailer for the given file.
create(File, Charset, TailerListener, long, boolean, boolean, int) - Static method in class org.apache.commons.io.input.Tailer
Creates and starts a Tailer for the given file.
create(File, TailerListener, long, boolean) - Static method in class org.apache.commons.io.input.Tailer
Creates and starts a Tailer for the given file with default buffer size.
create(File, TailerListener, long, boolean, boolean) - Static method in class org.apache.commons.io.input.Tailer
Creates and starts a Tailer for the given file with default buffer size.
create(File, TailerListener, long) - Static method in class org.apache.commons.io.input.Tailer
Creates and starts a Tailer for the given file, starting at the beginning of the file
create(File, TailerListener) - Static method in class org.apache.commons.io.input.Tailer
Creates and starts a Tailer for the given file, starting at the beginning of the file with the default delay of 1.0s

D

data(int) - Method in class org.apache.commons.io.input.MessageDigestCalculatingInputStream.MessageDigestMaintainingObserver
 
data(byte[], int, int) - Method in class org.apache.commons.io.input.MessageDigestCalculatingInputStream.MessageDigestMaintainingObserver
 
data(int) - Method in class org.apache.commons.io.input.ObservableInputStream.Observer
Called to indicate, that InputStream.read() has been invoked on the ObservableInputStream, and will return a value.
data(byte[], int, int) - Method in class org.apache.commons.io.input.ObservableInputStream.Observer
Called to indicate, that InputStream.read(byte[]), or InputStream.read(byte[], int, int) have been called, and are about to invoke data.
DEFAULT_BUFFER_SIZE - Static variable in class org.apache.commons.io.IOUtils
The default buffer size (8192) to use in copy methods.
DEFAULT_COMPARATOR - Static variable in class org.apache.commons.io.comparator.DefaultFileComparator
Singleton default comparator instance
DEFAULT_REVERSE - Static variable in class org.apache.commons.io.comparator.DefaultFileComparator
Singleton reverse default comparator instance
DefaultFileComparator - Class in org.apache.commons.io.comparator
Compare two files using the default File.compareTo(File) method.
DefaultFileComparator() - Constructor for class org.apache.commons.io.comparator.DefaultFileComparator
 
DeferredFileOutputStream - Class in org.apache.commons.io.output
An output stream which will retain data in memory until a specified threshold is reached, and only then commit it to disk.
DeferredFileOutputStream(int, File) - Constructor for class org.apache.commons.io.output.DeferredFileOutputStream
Constructs an instance of this class which will trigger an event at the specified threshold, and save data to a file beyond that point.
DeferredFileOutputStream(int, 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.
DeferredFileOutputStream(int, int, String, String, File) - Constructor for class org.apache.commons.io.output.DeferredFileOutputStream
Constructs an instance of this class which will trigger an event at the specified threshold, and save data to a temporary file beyond that point.
DelegateFileFilter - Class in org.apache.commons.io.filefilter
This class turns a Java FileFilter or FilenameFilter into an IO FileFilter.
DelegateFileFilter(FilenameFilter) - Constructor for class org.apache.commons.io.filefilter.DelegateFileFilter
Constructs a delegate file filter around an existing FilenameFilter.
DelegateFileFilter(FileFilter) - Constructor for class org.apache.commons.io.filefilter.DelegateFileFilter
Constructs a delegate file filter around an existing FileFilter.
delete(Path) - Static method in class org.apache.commons.io.file.PathUtils
Deletes a file or directory.
delete(File) - Method in class org.apache.commons.io.FileDeleteStrategy
Deletes the file object, which may be a file or a directory.
deleteDirectory(Path) - Static method in class org.apache.commons.io.file.PathUtils
Deletes a directory including sub-directories.
deleteDirectory(File) - Static method in class org.apache.commons.io.FileUtils
Deletes a directory recursively.
deleteFile(Path) - Static method in class org.apache.commons.io.file.PathUtils
Deletes the given file.
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.
DeletingPathVisitor - Class in org.apache.commons.io.file
Deletes files and directories as a visit proceeds.
DeletingPathVisitor(Counters.PathCounters, String...) - Constructor for class org.apache.commons.io.file.DeletingPathVisitor
Constructs a new visitor that deletes files except for the files and directories explicitly given.
DemuxInputStream - Class in org.apache.commons.io.input
Data written to this stream is forwarded to a stream that has been associated with this thread.
DemuxInputStream() - Constructor for class org.apache.commons.io.input.DemuxInputStream
 
DemuxOutputStream - Class in org.apache.commons.io.output
Forwards data to a stream that has been associated with this thread.
DemuxOutputStream() - Constructor for class org.apache.commons.io.output.DemuxOutputStream
 
destroy() - Method in class org.apache.commons.io.monitor.FileAlterationObserver
Final processing.
DIR_SEPARATOR - Static variable in class org.apache.commons.io.IOUtils
The system directory separator character.
DIR_SEPARATOR_UNIX - Static variable in class org.apache.commons.io.IOUtils
The Unix directory separator character.
DIR_SEPARATOR_WINDOWS - Static variable in class org.apache.commons.io.IOUtils
The Windows directory separator character.
DIRECTORY - Static variable in class org.apache.commons.io.filefilter.DirectoryFileFilter
Singleton instance of directory filter.
DIRECTORY_COMPARATOR - Static variable in class org.apache.commons.io.comparator.DirectoryFileComparator
Singleton default comparator instance
DIRECTORY_REVERSE - Static variable in class org.apache.commons.io.comparator.DirectoryFileComparator
Singleton reverse default comparator instance
directoryAndFileContentEquals(Path, Path) - Static method in class org.apache.commons.io.file.PathUtils
Compares the file sets of two Paths to determine if they are equal or not while considering file contents.
directoryAndFileContentEquals(Path, Path, LinkOption[], OpenOption[], FileVisitOption[]) - Static method in class org.apache.commons.io.file.PathUtils
Compares the file sets of two Paths to determine if they are equal or not while considering file contents.
directoryContains(String, String) - Static method in class org.apache.commons.io.FilenameUtils
Determines whether the parent directory contains the child element (a file or directory).
directoryContains(File, File) - Static method in class org.apache.commons.io.FileUtils
Determines whether the parent directory contains the child element (a file or directory).
directoryContentEquals(Path, Path) - Static method in class org.apache.commons.io.file.PathUtils
Compares the file sets of two Paths to determine if they are equal or not without considering file contents.
directoryContentEquals(Path, Path, int, LinkOption[], FileVisitOption[]) - Static method in class org.apache.commons.io.file.PathUtils
Compares the file sets of two Paths to determine if they are equal or not without considering file contents.
DirectoryFileComparator - Class in org.apache.commons.io.comparator
Compare two files using the File.isDirectory() method.
DirectoryFileComparator() - Constructor for class org.apache.commons.io.comparator.DirectoryFileComparator
 
DirectoryFileFilter - Class in org.apache.commons.io.filefilter
This filter accepts Files that are directories.
DirectoryFileFilter() - Constructor for class org.apache.commons.io.filefilter.DirectoryFileFilter
Restrictive constructor.
directoryFileFilter() - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
Returns a filter that checks if the file is a directory.
DirectoryWalker<T> - Class in org.apache.commons.io
Abstract class that walks through a directory hierarchy and provides subclasses with convenient hooks to add specific behavior.
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
Constructs an instance with a filter and limit the depth navigated to.
DirectoryWalker(IOFileFilter, IOFileFilter, int) - Constructor for class org.apache.commons.io.DirectoryWalker
Constructs an instance with a directory and a file filter and an optional limit on the depth navigated to.
DirectoryWalker.CancelException - Exception in org.apache.commons.io
CancelException is thrown in DirectoryWalker to cancel the current processing.
doDelete(File) - Method in class org.apache.commons.io.FileDeleteStrategy
Actually deletes the file object, which may be a file or a directory.
dump(byte[], long, OutputStream, int) - Static method in class org.apache.commons.io.HexDump
Dump an array of bytes to an OutputStream.

E

EMPTY - Static variable in class org.apache.commons.io.filefilter.EmptyFileFilter
Singleton instance of empty filter
EMPTY_FILE_ARRAY - Static variable in class org.apache.commons.io.FileUtils
An empty array of type File.
EMPTY_FILE_VISIT_OPTION_ARRAY - Static variable in class org.apache.commons.io.file.PathUtils
Empty FileVisitOption array.
EMPTY_LINK_OPTION_ARRAY - Static variable in class org.apache.commons.io.file.PathUtils
Empty LinkOption array.
EMPTY_OPEN_OPTION_ARRAY - Static variable in class org.apache.commons.io.file.PathUtils
Empty OpenOption array.
EMPTY_STRING_ARRAY - Static variable in interface org.apache.commons.io.filefilter.IOFileFilter
An empty String array.
EMPTY_WRITERS - Variable in class org.apache.commons.io.output.FilterCollectionWriter
Empty and immutable collection of writers.
EmptyFileFilter - Class in org.apache.commons.io.filefilter
This filter accepts files or directories that are empty.
EmptyFileFilter() - Constructor for class org.apache.commons.io.filefilter.EmptyFileFilter
Restrictive constructor.
ENCODING_PATTERN - Static variable in class org.apache.commons.io.input.XmlStreamReader
 
END_OF_STREAM - Static variable in class org.apache.commons.io.input.UnsynchronizedByteArrayInputStream
 
EndianUtils - Class in org.apache.commons.io
Utility code for dealing with different endian systems.
EndianUtils() - Constructor for class org.apache.commons.io.EndianUtils
Instances should NOT be constructed in standard programming.
endOfFileReached() - Method in class org.apache.commons.io.input.TailerListenerAdapter
Called each time the Tailer reaches the end of the file.
EOF - Static variable in class org.apache.commons.io.IOUtils
Represents the end-of-file (or stream).
EOL - Static variable in class org.apache.commons.io.HexDump
The line-separator (initializes to "line.separator" system property.
equals(Object) - Method in class org.apache.commons.io.ByteOrderMark
Indicates if this BOM's bytes equals another.
equals(Object) - Method in class org.apache.commons.io.file.AccumulatorPathVisitor
 
equals(Object) - Method in class org.apache.commons.io.file.CountingPathVisitor
 
equals(String, String) - Static method in class org.apache.commons.io.FilenameUtils
Checks whether two fileNames are equal exactly.
equals(String, String, boolean, IOCase) - Static method in class org.apache.commons.io.FilenameUtils
Checks whether two fileNames are equal, optionally normalizing and providing control over the case-sensitivity.
equalsNormalized(String, String) - Static method in class org.apache.commons.io.FilenameUtils
Checks whether two fileNames are equal after both have been normalized.
equalsNormalizedOnSystem(String, String) - Static method in class org.apache.commons.io.FilenameUtils
Checks whether two fileNames are equal after both have been normalized and using the case rules of the system.
equalsOnSystem(String, String) - Static method in class org.apache.commons.io.FilenameUtils
Checks whether two fileNames are equal using the case rules of the system.
error(IOException) - Method in class org.apache.commons.io.input.ObservableInputStream.Observer
Called to indicate, that an error occurred on the underlying stream.
exitWhenFinished() - Static method in class org.apache.commons.io.FileCleaner
exitWhenFinished() - Method in class org.apache.commons.io.FileCleaningTracker
Call this method to cause the file cleaner thread to terminate when there are no more objects being tracked for deletion.
EXTENSION_COMPARATOR - Static variable in class org.apache.commons.io.comparator.ExtensionFileComparator
Case-sensitive extension comparator instance (see IOCase.SENSITIVE)
EXTENSION_INSENSITIVE_COMPARATOR - Static variable in class org.apache.commons.io.comparator.ExtensionFileComparator
Case-insensitive extension comparator instance (see IOCase.INSENSITIVE)
EXTENSION_INSENSITIVE_REVERSE - Static variable in class org.apache.commons.io.comparator.ExtensionFileComparator
Reverse case-insensitive extension comparator instance (see IOCase.INSENSITIVE)
EXTENSION_REVERSE - Static variable in class org.apache.commons.io.comparator.ExtensionFileComparator
Reverse case-sensitive extension comparator instance (see IOCase.SENSITIVE)
EXTENSION_SEPARATOR - Static variable in class org.apache.commons.io.FilenameUtils
The extension separator character.
EXTENSION_SEPARATOR_STR - Static variable in class org.apache.commons.io.FilenameUtils
The extension separator String.
EXTENSION_SYSTEM_COMPARATOR - Static variable in class org.apache.commons.io.comparator.ExtensionFileComparator
System sensitive extension comparator instance (see IOCase.SYSTEM)
EXTENSION_SYSTEM_REVERSE - Static variable in class org.apache.commons.io.comparator.ExtensionFileComparator
Reverse system sensitive path comparator instance (see IOCase.SYSTEM)
ExtensionFileComparator - Class in org.apache.commons.io.comparator
Compare the file name extensions for order (see FilenameUtils.getExtension(String)).
ExtensionFileComparator() - Constructor for class org.apache.commons.io.comparator.ExtensionFileComparator
Construct a case sensitive file extension comparator instance.
ExtensionFileComparator(IOCase) - Constructor for class org.apache.commons.io.comparator.ExtensionFileComparator
Construct a file extension comparator instance with the specified case-sensitivity.

F

FALSE - Static variable in class org.apache.commons.io.filefilter.FalseFileFilter
Singleton instance of false filter.
FalseFileFilter - Class in org.apache.commons.io.filefilter
A file filter that always returns false.
FalseFileFilter() - Constructor for class org.apache.commons.io.filefilter.FalseFileFilter
Restrictive constructor.
falseFileFilter() - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
Returns a filter that always returns false.
FILE - Static variable in class org.apache.commons.io.filefilter.FileFileFilter
Singleton instance of file filter
FileAlterationListener - Interface in org.apache.commons.io.monitor
A listener that receives events of file system modifications.
FileAlterationListenerAdaptor - Class in org.apache.commons.io.monitor
Convenience FileAlterationListener implementation that does nothing.
FileAlterationListenerAdaptor() - Constructor for class org.apache.commons.io.monitor.FileAlterationListenerAdaptor
 
FileAlterationMonitor - Class in org.apache.commons.io.monitor
A runnable that spawns a monitoring thread triggering any registered FileAlterationObserver at a specified interval.
FileAlterationMonitor() - Constructor for class org.apache.commons.io.monitor.FileAlterationMonitor
Constructs a monitor with a default interval of 10 seconds.
FileAlterationMonitor(long) - Constructor for class org.apache.commons.io.monitor.FileAlterationMonitor
Constructs a monitor with the specified interval.
FileAlterationMonitor(long, FileAlterationObserver...) - Constructor for class org.apache.commons.io.monitor.FileAlterationMonitor
Constructs a monitor with the specified interval and set of observers.
FileAlterationObserver - Class in org.apache.commons.io.monitor
FileAlterationObserver represents the state of files below a root directory, checking the file system and notifying listeners of create, change or delete events.
FileAlterationObserver(String) - Constructor for class org.apache.commons.io.monitor.FileAlterationObserver
Constructs an observer for the specified directory.
FileAlterationObserver(String, FileFilter) - Constructor for class org.apache.commons.io.monitor.FileAlterationObserver
Constructs an observer for the specified directory and file filter.
FileAlterationObserver(String, FileFilter, IOCase) - Constructor for class org.apache.commons.io.monitor.FileAlterationObserver
Construct an observer for the specified directory, file filter and file comparator.
FileAlterationObserver(File) - Constructor for class org.apache.commons.io.monitor.FileAlterationObserver
Constructs an observer for the specified directory.
FileAlterationObserver(File, FileFilter) - Constructor for class org.apache.commons.io.monitor.FileAlterationObserver
Constructs an observer for the specified directory and file filter.
FileAlterationObserver(File, FileFilter, IOCase) - Constructor for class org.apache.commons.io.monitor.FileAlterationObserver
Constructs an observer for the specified directory, file filter and file comparator.
FileAlterationObserver(FileEntry, FileFilter, IOCase) - Constructor for class org.apache.commons.io.monitor.FileAlterationObserver
Constructs an observer for the specified directory, file filter and file comparator.
FileCleaner - Class in org.apache.commons.io
Deprecated.
FileCleaner() - Constructor for class org.apache.commons.io.FileCleaner
Deprecated.
 
FileCleaningTracker - Class in org.apache.commons.io
Keeps track of files awaiting deletion, and deletes them when an associated marker object is reclaimed by the garbage collector.
FileCleaningTracker() - Constructor for class org.apache.commons.io.FileCleaningTracker
 
fileContentEquals(Path, Path) - Static method in class org.apache.commons.io.file.PathUtils
Compares the file contents of two Paths to determine if they are equal or not.
fileContentEquals(Path, Path, LinkOption[], OpenOption[]) - Static method in class org.apache.commons.io.file.PathUtils
Compares the file contents of two Paths to determine if they are equal or not.
FileDeleteStrategy - Class in org.apache.commons.io
Strategy for deleting files.
FileDeleteStrategy(String) - Constructor for class org.apache.commons.io.FileDeleteStrategy
Restricted constructor.
FileEntry - Class in org.apache.commons.io.monitor
The state of a file or directory, capturing the following File attributes at a point in time.
FileEntry(File) - Constructor for class org.apache.commons.io.monitor.FileEntry
Construct a new monitor for a specified File.
FileEntry(FileEntry, File) - Constructor for class org.apache.commons.io.monitor.FileEntry
Construct a new monitor for a specified File.
FileExistsException - Exception in org.apache.commons.io
Indicates that a file already exists.
FileExistsException() - Constructor for exception org.apache.commons.io.FileExistsException
Default Constructor.
FileExistsException(String) - Constructor for exception org.apache.commons.io.FileExistsException
Construct an instance with the specified message.
FileExistsException(File) - Constructor for exception org.apache.commons.io.FileExistsException
Construct an instance with the specified file.
FileFileFilter - Class in org.apache.commons.io.filefilter
This filter accepts Files that are files (not directories).
FileFileFilter() - Constructor for class org.apache.commons.io.filefilter.FileFileFilter
Restrictive constructor.
fileFileFilter() - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
Returns a filter that checks if the file is a file (and not a directory).
FileFilterUtils - Class in org.apache.commons.io.filefilter
Useful utilities for working with file filters.
FileFilterUtils() - Constructor for class org.apache.commons.io.filefilter.FileFilterUtils
FileFilterUtils is not normally instantiated.
FilenameUtils - Class in org.apache.commons.io
General file name and file path manipulation utilities.
FilenameUtils() - Constructor for class org.apache.commons.io.FilenameUtils
Instances should NOT be constructed in standard programming.
fileNotFound() - Method in interface org.apache.commons.io.input.TailerListener
This method is called if the tailed file is not found.
fileNotFound() - Method in class org.apache.commons.io.input.TailerListenerAdapter
This method is called if the tailed file is not found.
fileRotated() - Method in interface org.apache.commons.io.input.TailerListener
Called if a file rotation is detected.
fileRotated() - Method in class org.apache.commons.io.input.TailerListenerAdapter
Called if a file rotation is detected.
FileSystem - Enum in org.apache.commons.io
Abstracts an OS' file system details, currently supporting the single use case of converting a file name String to a legal file name with FileSystem.toLegalFileName(String, char).
FileSystemUtils - Class in org.apache.commons.io
Deprecated.
As of 2.6 deprecated without replacement. Use equivalent methods in FileStore instead, e.g. Files.getFileStore(Paths.get("/home")).getUsableSpace() or iterate over FileSystems.getDefault().getFileStores()
FileSystemUtils() - Constructor for class org.apache.commons.io.FileSystemUtils
Deprecated.
Instances should NOT be constructed in standard programming.
FileUtils - Class in org.apache.commons.io
General file manipulation utilities.
FileUtils() - Constructor for class org.apache.commons.io.FileUtils
Instances should NOT be constructed in standard programming.
FileWriterWithEncoding - Class in org.apache.commons.io.output
Writer of files that allows the encoding to be set.
FileWriterWithEncoding(String, String) - Constructor for class org.apache.commons.io.output.FileWriterWithEncoding
Constructs a FileWriterWithEncoding with a file encoding.
FileWriterWithEncoding(String, String, boolean) - Constructor for class org.apache.commons.io.output.FileWriterWithEncoding
Constructs a FileWriterWithEncoding with a file encoding.
FileWriterWithEncoding(String, Charset) - Constructor for class org.apache.commons.io.output.FileWriterWithEncoding
Constructs a FileWriterWithEncoding with a file encoding.
FileWriterWithEncoding(String, Charset, boolean) - Constructor for class org.apache.commons.io.output.FileWriterWithEncoding
Constructs a FileWriterWithEncoding with a file encoding.
FileWriterWithEncoding(String, CharsetEncoder) - Constructor for class org.apache.commons.io.output.FileWriterWithEncoding
Constructs a FileWriterWithEncoding with a file encoding.
FileWriterWithEncoding(String, CharsetEncoder, boolean) - Constructor for class org.apache.commons.io.output.FileWriterWithEncoding
Constructs a FileWriterWithEncoding with a file encoding.
FileWriterWithEncoding(File, String) - Constructor for class org.apache.commons.io.output.FileWriterWithEncoding
Constructs a FileWriterWithEncoding with a file encoding.
FileWriterWithEncoding(File, String, boolean) - Constructor for class org.apache.commons.io.output.FileWriterWithEncoding
Constructs a FileWriterWithEncoding with a file encoding.
FileWriterWithEncoding(File, Charset) - Constructor for class org.apache.commons.io.output.FileWriterWithEncoding
Constructs a FileWriterWithEncoding with a file encoding.
FileWriterWithEncoding(File, Charset, boolean) - Constructor for class org.apache.commons.io.output.FileWriterWithEncoding
Constructs a FileWriterWithEncoding with a file encoding.
FileWriterWithEncoding(File, CharsetEncoder) - Constructor for class org.apache.commons.io.output.FileWriterWithEncoding
Constructs a FileWriterWithEncoding with a file encoding.
FileWriterWithEncoding(File, CharsetEncoder, boolean) - Constructor for class org.apache.commons.io.output.FileWriterWithEncoding
Constructs a FileWriterWithEncoding with a file encoding.
fillBuffer() - Method in class org.apache.commons.io.input.buffer.CircularBufferInputStream
Fills the buffer with the contents of the input stream.
filter(IOFileFilter, File...) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
Applies an IOFileFilter to the provided File objects.
filter(IOFileFilter, Iterable<File>) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
Applies an IOFileFilter to the provided File objects.
filter(int) - Method in class org.apache.commons.io.input.AbstractCharacterFilterReader
Returns true if the given character should be filtered out, false to keep the character.
filter(int) - Method in class org.apache.commons.io.input.CharacterFilterReader
 
filter(int) - Method in class org.apache.commons.io.input.CharacterSetFilterReader
 
FilterCollectionWriter - Class in org.apache.commons.io.output
Abstract class for writing filtered character streams to a Collection of writers.
FilterCollectionWriter(Collection<Writer>) - Constructor for class org.apache.commons.io.output.FilterCollectionWriter
Creates a new filtered collection writer.
FilterCollectionWriter(Writer...) - Constructor for class org.apache.commons.io.output.FilterCollectionWriter
Creates a new filtered collection writer.
filterDirectoryContents(File, int, File...) - Method in class org.apache.commons.io.DirectoryWalker
Overridable callback method invoked with the contents of each directory.
filterList(IOFileFilter, Iterable<File>) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
Applies an IOFileFilter to the provided File objects.
filterList(IOFileFilter, File...) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
Applies an IOFileFilter to the provided File objects.
filterSet(IOFileFilter, File...) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
Applies an IOFileFilter to the provided File objects.
filterSet(IOFileFilter, Iterable<File>) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
Applies an IOFileFilter to the provided File objects.
finalize() - Method in class org.apache.commons.io.input.AutoCloseInputStream
Ensures that the stream is closed before it gets garbage-collected.
finished() - Method in class org.apache.commons.io.input.ObservableInputStream.Observer
Called to indicate, that EOF has been seen on the underlying stream.
flush() - Method in class org.apache.commons.io.output.AppendableWriter
Flushes the stream.
flush() - Method in class org.apache.commons.io.output.BrokenOutputStream
Throws the configured exception.
flush() - Method in class org.apache.commons.io.output.BrokenWriter
Throws the configured exception.
flush() - Method in class org.apache.commons.io.output.ClosedOutputStream
Throws an IOException to indicate that the stream is closed.
flush() - Method in class org.apache.commons.io.output.ClosedWriter
Throws an IOException to indicate that the stream is closed.
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.FilterCollectionWriter
Flushes 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.ProxyCollectionWriter
Invokes the delegate's flush() method.
flush() - Method in class org.apache.commons.io.output.ProxyOutputStream
Invokes the delegate's flush() method.
flush() - Method in class org.apache.commons.io.output.ProxyWriter
Invokes the delegate's flush() method.
flush() - Method in class org.apache.commons.io.output.StringBuilderWriter
Flushing this writer has no effect.
flush() - Method in class org.apache.commons.io.output.TeeOutputStream
Flushes both streams.
flush() - Method in class org.apache.commons.io.output.ThresholdingOutputStream
Flushes this output stream and forces any buffered output bytes to be written out.
flush() - Method in class org.apache.commons.io.output.WriterOutputStream
Flush the stream.
flush() - Method in class org.apache.commons.io.output.XmlStreamWriter
Flushes the underlying writer.
FORCE - Static variable in class org.apache.commons.io.FileDeleteStrategy
The singleton instance for forced file deletion, which always deletes, even if the file represents a non-empty directory.
forceDelete(File) - Static method in class org.apache.commons.io.FileUtils
Deletes a file.
forceDeleteOnExit(File) - Static method in class org.apache.commons.io.FileUtils
Schedules a file to be deleted when JVM exits.
forceMkdir(File) - Static method in class org.apache.commons.io.FileUtils
Makes a directory, including any necessary but nonexistent parent directories.
forceMkdirParent(File) - Static method in class org.apache.commons.io.FileUtils
Makes any necessary but nonexistent parent directories for a given File.
forName(String) - Static method in enum org.apache.commons.io.IOCase
Factory method to create an IOCase from a name.
freeSpace(String) - Static method in class org.apache.commons.io.FileSystemUtils
Deprecated.
Use freeSpaceKb(String) Deprecated from 1.3, may be removed in 2.0
freeSpaceKb(String) - Static method in class org.apache.commons.io.FileSystemUtils
Deprecated.
As of 2.6 deprecated without replacement. Please use FileStore.getUsableSpace().
freeSpaceKb(String, long) - Static method in class org.apache.commons.io.FileSystemUtils
Deprecated.
As of 2.6 deprecated without replacement. Please use FileStore.getUsableSpace().
freeSpaceKb() - Static method in class org.apache.commons.io.FileSystemUtils
Deprecated.
As of 2.6 deprecated without replacement. Please use FileStore.getUsableSpace().
freeSpaceKb(long) - Static method in class org.apache.commons.io.FileSystemUtils
Deprecated.
As of 2.6 deprecated without replacement. Please use FileStore.getUsableSpace().

G

get(int) - Method in class org.apache.commons.io.ByteOrderMark
The byte at the specified position.
get() - Method in interface org.apache.commons.io.file.Counters.Counter
Gets the counter as a long.
get() - Method in interface org.apache.commons.io.function.IOSupplier
Gets a result.
getAppendable() - Method in class org.apache.commons.io.output.AppendableOutputStream
Return the target appendable.
getAppendable() - Method in class org.apache.commons.io.output.AppendableWriter
Return the target appendable.
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.
getBigInteger() - Method in interface org.apache.commons.io.file.Counters.Counter
Gets the counter as a BigInteger.
getBOM() - Method in class org.apache.commons.io.input.BOMInputStream
Return the BOM (Byte Order Mark).
getBOMCharsetName() - Method in class org.apache.commons.io.input.BOMInputStream
Return the BOM charset Name - ByteOrderMark.getCharsetName().
getBomEncoding() - Method in exception org.apache.commons.io.input.XmlStreamReaderException
Returns the BOM encoding found in the InputStream.
getBuilder() - Method in class org.apache.commons.io.output.StringBuilderWriter
Returns the underlying builder.
getByteCount() - Method in class org.apache.commons.io.input.CountingInputStream
The number of bytes that have passed through this stream.
getByteCount() - Method in class org.apache.commons.io.output.CountingOutputStream
The number of bytes that have passed through this stream.
getByteCount() - Method in class org.apache.commons.io.output.ThresholdingOutputStream
Returns the number of bytes that have been written to this output stream.
getByteCounter() - Method in interface org.apache.commons.io.file.Counters.PathCounters
Gets the byte counter.
getBytes() - Method in class org.apache.commons.io.ByteOrderMark
Return a copy of the BOM's bytes.
getCause(int) - Method in exception org.apache.commons.io.IOExceptionList
Gets the cause list.
getCause(int, Class<T>) - Method in exception org.apache.commons.io.IOExceptionList
Gets the cause list.
getCause() - Method in exception org.apache.commons.io.TaggedIOException
Returns the wrapped exception.
getCauseList() - Method in exception org.apache.commons.io.IOExceptionList
Gets the cause list.
getCauseList(Class<T>) - Method in exception org.apache.commons.io.IOExceptionList
Works around Throwable and Generics, may fail at runtime depending on the argument value.
getCharsetName() - Method in class org.apache.commons.io.ByteOrderMark
Return the name of the Charset the BOM represents.
getChildren() - Method in class org.apache.commons.io.monitor.FileEntry
Return the directory's files.
getContentTypeEncoding() - Method in exception org.apache.commons.io.input.XmlStreamReaderException
Returns the encoding in the content-type used to attempt determining the encoding.
getContentTypeMime() - Method in exception org.apache.commons.io.input.XmlStreamReaderException
Returns the MIME type in the content-type used to attempt determining the encoding.
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.
getCurrent() - Static method in enum org.apache.commons.io.FileSystem
Gets the current file system.
getCurrentNumberOfBytes() - Method in class org.apache.commons.io.input.buffer.CircularByteBuffer
Returns the number of bytes, that are currently present in the buffer.
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.
getDefaultEncoding() - Method in class org.apache.commons.io.input.XmlStreamReader
Returns the default encoding to use if none is set in HTTP content-type, XML prolog and the rules based on content-type are not adequate.
getDefaultEncoding() - Method in class org.apache.commons.io.output.XmlStreamWriter
Returns the default encoding.
getDelay() - Method in class org.apache.commons.io.input.Tailer
Return the delay in milliseconds.
getDeleteFailures() - Method in class org.apache.commons.io.FileCleaningTracker
Return the file paths that failed to delete.
getDepth() - Method in exception org.apache.commons.io.DirectoryWalker.CancelException
Returns the depth when the operation was cancelled.
getDirectory() - Method in class org.apache.commons.io.monitor.FileAlterationObserver
Returns the directory being observed.
getDirectoryCounter() - Method in interface org.apache.commons.io.file.Counters.PathCounters
Gets the directory counter.
getDirList() - Method in class org.apache.commons.io.file.AccumulatorPathVisitor
Gets the list of visited directories.
getEncoding() - Method in class org.apache.commons.io.input.XmlStreamReader
Returns the charset encoding of the XmlStreamReader.
getEncoding() - Method in class org.apache.commons.io.output.XmlStreamWriter
Returns the detected encoding.
getExtension(String) - Static method in class org.apache.commons.io.FilenameUtils
Gets the extension of a fileName.
getFile() - Method in exception org.apache.commons.io.DirectoryWalker.CancelException
Returns the file when the operation was cancelled.
getFile(File, String...) - Static method in class org.apache.commons.io.FileUtils
Construct a file from the set of name elements.
getFile(String...) - Static method in class org.apache.commons.io.FileUtils
Construct a file from the set of name elements.
getFile() - Method in class org.apache.commons.io.input.Tailer
Return the file.
getFile() - Method in class org.apache.commons.io.monitor.FileEntry
Return the file being monitored.
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.
getFileCounter() - Method in interface org.apache.commons.io.file.Counters.PathCounters
Gets the file counter.
getFileFilter() - Method in class org.apache.commons.io.monitor.FileAlterationObserver
Returns the fileFilter.
getFileFilters() - Method in class org.apache.commons.io.filefilter.AndFileFilter
Returns this conditional file filter's list of file filters.
getFileFilters() - Method in interface org.apache.commons.io.filefilter.ConditionalFileFilter
Returns this conditional file filter's list of file filters.
getFileFilters() - Method in class org.apache.commons.io.filefilter.OrFileFilter
Returns this conditional file filter's list of file filters.
getFileList() - Method in class org.apache.commons.io.file.AccumulatorPathVisitor
Gets the list of visited files.
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.
getIllegalFileNameChars() - Method in enum org.apache.commons.io.FileSystem
Gets a cloned copy of the illegal characters for this file system.
getIndex() - Method in exception org.apache.commons.io.IOIndexedException
The index of this exception.
getInstance() - Static method in class org.apache.commons.io.FileCleaner
Deprecated.
Returns the singleton instance, which is used by the deprecated, static methods.
getInterval() - Method in class org.apache.commons.io.monitor.FileAlterationMonitor
Returns the interval.
getLastModified() - Method in class org.apache.commons.io.monitor.FileEntry
Return the last modified time from the last time it was checked.
getLength() - Method in class org.apache.commons.io.monitor.FileEntry
Return the length.
getLevel() - Method in class org.apache.commons.io.monitor.FileEntry
Return the level
getListeners() - Method in class org.apache.commons.io.monitor.FileAlterationObserver
Returns the set of registered file system listeners.
getLong() - Method in interface org.apache.commons.io.file.Counters.Counter
Gets the counter as a Long.
getMaxFileNameLength() - Method in enum org.apache.commons.io.FileSystem
Gets the maximum length for file names.
getMaxPathLength() - Method in enum org.apache.commons.io.FileSystem
Gets the maximum length of the path to a file.
getMessageDigest() - Method in class org.apache.commons.io.input.MessageDigestCalculatingInputStream
Returns the MessageDigest, which is being used for generating the checksum.
getName(String) - Static method in class org.apache.commons.io.FilenameUtils
Gets the name minus the path from a full fileName.
getName() - Method in enum org.apache.commons.io.IOCase
Gets the name of the constant.
getName() - Method in class org.apache.commons.io.monitor.FileEntry
Return the file name.
getObservers() - Method in class org.apache.commons.io.input.ObservableInputStream
Gets all currently registered observers.
getObservers() - Method in class org.apache.commons.io.monitor.FileAlterationMonitor
Returns the set of FileAlterationObserver registered with this monitor.
getParent() - Method in class org.apache.commons.io.monitor.FileEntry
Return the parent entry.
getPath(String) - Static method in class org.apache.commons.io.FilenameUtils
Gets the path from a full fileName, which excludes the prefix.
getPathCounters() - Method in class org.apache.commons.io.file.CountingPathVisitor
Gets the visitation counts.
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
Returns 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 ~/.
getReservedFileNames() - Method in enum org.apache.commons.io.FileSystem
Gets a cloned copy of the reserved file names.
getRun() - Method in class org.apache.commons.io.input.Tailer
Gets whether to keep on running.
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
Returns the size this Reader emulates.
getSpace() - Method in class org.apache.commons.io.input.buffer.CircularByteBuffer
Returns the number of bytes, that can currently be added to the buffer.
getStream() - Method in class org.apache.commons.io.output.DeferredFileOutputStream
Returns the current output stream.
getStream() - Method in class org.apache.commons.io.output.ThresholdingOutputStream
Returns the underlying output stream, to which the corresponding OutputStream methods in this class will ultimately delegate.
getTag() - Method in exception org.apache.commons.io.TaggedIOException
Returns the serializable tag object.
getTempDirectory() - Static method in class org.apache.commons.io.FileUtils
Returns a File representing the system temporary directory.
getTempDirectoryPath() - Static method in class org.apache.commons.io.FileUtils
Returns the path to the system temporary directory.
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
getTrackCount() - Method in class org.apache.commons.io.FileCleaningTracker
Retrieve the number of files currently being tracked, and therefore awaiting deletion.
getUserDirectory() - Static method in class org.apache.commons.io.FileUtils
Returns a File representing the user's home directory.
getUserDirectoryPath() - Static method in class org.apache.commons.io.FileUtils
Returns the path to the user's home directory.
getXmlEncoding() - Method in exception org.apache.commons.io.input.XmlStreamReaderException
Returns the encoding found in the XML prolog of the InputStream.
getXmlGuessEncoding() - Method in exception org.apache.commons.io.input.XmlStreamReaderException
Returns the encoding guess based on the first bytes of the InputStream.

H

handle(String) - Method in interface org.apache.commons.io.input.TailerListener
Handles a line from a Tailer.
handle(Exception) - Method in interface org.apache.commons.io.input.TailerListener
Handles an Exception .
handle(String) - Method in class org.apache.commons.io.input.TailerListenerAdapter
Handles a line from a Tailer.
handle(Exception) - Method in class org.apache.commons.io.input.TailerListenerAdapter
Handles an Exception .
handleCancelled(File, Collection<T>, DirectoryWalker.CancelException) - Method in class org.apache.commons.io.DirectoryWalker
Overridable callback method invoked when the operation is cancelled.
handleDirectory(File, int, Collection<T>) - Method in class org.apache.commons.io.DirectoryWalker
Overridable callback method invoked to determine if a directory should be processed.
handleDirectoryEnd(File, int, Collection<T>) - Method in class org.apache.commons.io.DirectoryWalker
Overridable callback method invoked at the end of processing each directory.
handleDirectoryStart(File, int, Collection<T>) - Method in class org.apache.commons.io.DirectoryWalker
Overridable callback method invoked at the start of processing each directory.
handleEnd(Collection<T>) - Method in class org.apache.commons.io.DirectoryWalker
Overridable callback method invoked at the end of processing.
handleFile(File, int, Collection<T>) - Method in class org.apache.commons.io.DirectoryWalker
Overridable callback method invoked for each (non-directory) file.
handleIOException(IOException) - Method in class org.apache.commons.io.input.ProxyInputStream
Handle any IOExceptions thrown.
handleIOException(IOException) - Method in class org.apache.commons.io.input.ProxyReader
Handle any IOExceptions thrown.
handleIOException(IOException) - Method in class org.apache.commons.io.input.TaggedInputStream
Tags any IOExceptions thrown, wrapping and re-throwing.
handleIOException(IOException) - Method in class org.apache.commons.io.input.TaggedReader
Tags any IOExceptions thrown, wrapping and re-throwing.
handleIOException(IOException) - Method in class org.apache.commons.io.output.ProxyCollectionWriter
Handle any IOExceptions thrown.
handleIOException(IOException) - Method in class org.apache.commons.io.output.ProxyOutputStream
Handle any IOExceptions thrown.
handleIOException(IOException) - Method in class org.apache.commons.io.output.ProxyWriter
Handle any IOExceptions thrown.
handleIOException(IOException) - Method in class org.apache.commons.io.output.TaggedOutputStream
Tags any IOExceptions thrown, wrapping and re-throwing.
handleIOException(IOException) - Method in class org.apache.commons.io.output.TaggedWriter
Tags any IOExceptions thrown, wrapping and re-throwing.
handleIsCancelled(File, int, Collection<T>) - 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<T>) - Method in class org.apache.commons.io.DirectoryWalker
Overridable callback method invoked for each restricted directory.
handleStart(File, Collection<T>) - Method in class org.apache.commons.io.DirectoryWalker
Overridable callback method invoked at the start of processing.
hasBOM() - Method in class org.apache.commons.io.input.BOMInputStream
Indicates whether the stream contains one of the specified BOMs.
hasBOM(ByteOrderMark) - Method in class org.apache.commons.io.input.BOMInputStream
Indicates whether the stream contains the specified BOM.
hasBytes() - Method in class org.apache.commons.io.input.buffer.CircularByteBuffer
Returns, whether the buffer is currently holding, at least, a single byte.
hashCode() - Method in class org.apache.commons.io.ByteOrderMark
Return the hashcode for this BOM.
hashCode() - Method in class org.apache.commons.io.file.AccumulatorPathVisitor
 
hashCode() - Method in class org.apache.commons.io.file.CountingPathVisitor
 
hasNext() - Method in class org.apache.commons.io.LineIterator
Indicates whether the Reader has more lines.
hasSpace() - Method in class org.apache.commons.io.input.buffer.CircularByteBuffer
Returns, whether there is currently room for a single byte in the buffer.
hasSpace(int) - Method in class org.apache.commons.io.input.buffer.CircularByteBuffer
Returns, whether there is currently room for the given number of bytes in the buffer.
haveBytes(int) - Method in class org.apache.commons.io.input.buffer.CircularBufferInputStream
Fills the buffer from the input stream until the given number of bytes have been added to the buffer.
HexDump - Class in org.apache.commons.io
Dumps data in hexadecimal format.
HexDump() - Constructor for class org.apache.commons.io.HexDump
Instances should NOT be constructed in standard programming.
HIDDEN - Static variable in class org.apache.commons.io.filefilter.HiddenFileFilter
Singleton instance of hidden filter
HiddenFileFilter - Class in org.apache.commons.io.filefilter
This filter accepts Files that are hidden.
HiddenFileFilter() - Constructor for class org.apache.commons.io.filefilter.HiddenFileFilter
Restrictive constructor.

I

identity() - Static method in interface org.apache.commons.io.function.IOFunction
Returns a IOFunction that always returns its input argument.
in - Variable in class org.apache.commons.io.input.buffer.CircularBufferInputStream
 
increment() - Method in interface org.apache.commons.io.file.Counters.Counter
Adds one to this counter.
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.
InfiniteCircularInputStream - Class in org.apache.commons.io.input
An InputStream that infinitely repeats provided bytes.
InfiniteCircularInputStream(byte[]) - Constructor for class org.apache.commons.io.input.InfiniteCircularInputStream
Creates a InfiniteCircularStream from the specified array of chars.
init(Tailer) - Method in interface org.apache.commons.io.input.TailerListener
The tailer will call this method during construction, giving the listener a method of stopping the tailer.
init(Tailer) - Method in class org.apache.commons.io.input.TailerListenerAdapter
The tailer will call this method during construction, giving the listener a method of stopping the tailer.
initialize() - Method in class org.apache.commons.io.monitor.FileAlterationObserver
Initializes the observer.
INSTANCE - Static variable in class org.apache.commons.io.filefilter.DirectoryFileFilter
Singleton instance of directory filter.
INSTANCE - Static variable in class org.apache.commons.io.filefilter.FalseFileFilter
Singleton instance of false filter.
INSTANCE - Static variable in class org.apache.commons.io.filefilter.TrueFileFilter
Singleton instance of true filter.
invalidClassNameFound(String) - Method in class org.apache.commons.io.serialization.ValidatingObjectInputStream
Called to throw InvalidClassException if an invalid class name is found during deserialization.
IOCase - Enum in org.apache.commons.io
Enumeration of IO case sensitivity.
IOConsumer<T> - Interface in org.apache.commons.io.function
Like Consumer but throws IOException.
IOExceptionList - Exception in org.apache.commons.io
A IOException based on a list of Throwable causes.
IOExceptionList(List<? extends Throwable>) - Constructor for exception org.apache.commons.io.IOExceptionList
Creates a new exception caused by a list of exceptions.
IOExceptionWithCause - Exception in org.apache.commons.io
Deprecated.
(since 2.5) use IOException instead
IOExceptionWithCause(String, Throwable) - Constructor for exception org.apache.commons.io.IOExceptionWithCause
Deprecated.
Constructs a new instance with the given message and cause.
IOExceptionWithCause(Throwable) - Constructor for exception org.apache.commons.io.IOExceptionWithCause
Deprecated.
Constructs a new instance with the given cause.
IOFileFilter - Interface in org.apache.commons.io.filefilter
An interface which brings the FileFilter and FilenameFilter interfaces together.
IOFunction<T,R> - Interface in org.apache.commons.io.function
Like Function but throws IOException.
IOIndexedException - Exception in org.apache.commons.io
A IOException associated with a source index.
IOIndexedException(int, Throwable) - Constructor for exception org.apache.commons.io.IOIndexedException
Creates a new exception.
IOSupplier<T> - Interface in org.apache.commons.io.function
Like Supplier but throws IOException.
IOUtils - Class in org.apache.commons.io
General IO stream manipulation utilities.
IOUtils() - Constructor for class org.apache.commons.io.IOUtils
Instances should NOT be constructed in standard programming.
isCasePreserving() - Method in enum org.apache.commons.io.FileSystem
Whether this file system preserves case.
isCaseSensitive() - Method in enum org.apache.commons.io.FileSystem
Whether this file system is case-sensitive.
isCaseSensitive() - Method in enum org.apache.commons.io.IOCase
Does the object represent case sensitive comparison.
isCauseOf(Throwable) - Method in class org.apache.commons.io.input.TaggedInputStream
Tests if the given exception was caused by this stream.
isCauseOf(Throwable) - Method in class org.apache.commons.io.input.TaggedReader
Tests if the given exception was caused by this reader.
isCauseOf(Exception) - Method in class org.apache.commons.io.output.TaggedOutputStream
Tests if the given exception was caused by this stream.
isCauseOf(Exception) - Method in class org.apache.commons.io.output.TaggedWriter
Tests if the given exception was caused by this writer.
isDirectory() - Method in class org.apache.commons.io.monitor.FileEntry
Indicate whether the file is a directory or not.
isEmpty(Path) - Static method in class org.apache.commons.io.file.PathUtils
Returns whether the given file or directory is empty.
isEmptyDirectory(Path) - Static method in class org.apache.commons.io.file.PathUtils
Returns whether the directory is empty.
isEmptyFile(Path) - Static method in class org.apache.commons.io.file.PathUtils
Returns whether the given file is empty.
isExists() - Method in class org.apache.commons.io.monitor.FileEntry
Indicate whether the file existed the last time it was checked.
isExtension(String, String) - Static method in class org.apache.commons.io.FilenameUtils
Checks whether the extension of the fileName is that specified.
isExtension(String, String...) - Static method in class org.apache.commons.io.FilenameUtils
Checks whether the extension of the fileName is one of those specified.
isExtension(String, Collection<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.
isLegalFileName(CharSequence) - Method in enum org.apache.commons.io.FileSystem
Checks if a candidate file name (without a path) such as "filename.ext" or "filename" is a potentially legal file name.
ISO_8859_1 - Static variable in class org.apache.commons.io.Charsets
Deprecated.
Use Java 7's StandardCharsets
isPropagateClose() - Method in class org.apache.commons.io.input.BoundedInputStream
Indicates whether the BoundedInputStream.close() method should propagate to the underling InputStream.
isReservedFileName(CharSequence) - Method in enum org.apache.commons.io.FileSystem
Returns whether the given string is a reserved file name.
isSymlink(File) - Static method in class org.apache.commons.io.FileUtils
Determines whether the specified file is a Symbolic Link rather than an actual file.
isTaggedWith(Throwable, Object) - Static method in exception org.apache.commons.io.TaggedIOException
Checks whether the given throwable is tagged with the given tag.
isThresholdExceeded() - Method in class org.apache.commons.io.output.ThresholdingOutputStream
Determines whether or not the configured threshold has been exceeded for this output stream.
isValidLine(String) - Method in class org.apache.commons.io.LineIterator
Overridable method to validate each line that is returned.
iterateFiles(File, IOFileFilter, IOFileFilter) - Static method in class org.apache.commons.io.FileUtils
Allows iteration over the files in given directory (and optionally its subdirectories).
iterateFiles(File, String[], boolean) - Static method in class org.apache.commons.io.FileUtils
Allows iteration over the files in a given directory (and optionally its subdirectories) which match an array of extensions.
iterateFilesAndDirs(File, IOFileFilter, IOFileFilter) - Static method in class org.apache.commons.io.FileUtils
Allows iteration over the files in given directory (and optionally its subdirectories).

L

LASTMODIFIED_COMPARATOR - Static variable in class org.apache.commons.io.comparator.LastModifiedFileComparator
Last modified comparator instance
LASTMODIFIED_REVERSE - Static variable in class org.apache.commons.io.comparator.LastModifiedFileComparator
Reverse last modified comparator instance
LastModifiedFileComparator - Class in org.apache.commons.io.comparator
Compare the last modified date/time of two files for order (see File.lastModified()).
LastModifiedFileComparator() - Constructor for class org.apache.commons.io.comparator.LastModifiedFileComparator
 
length() - Method in class org.apache.commons.io.ByteOrderMark
Return the length of the BOM's bytes.
length(byte[]) - Static method in class org.apache.commons.io.IOUtils
Returns the length of the given array in a null-safe manner.
length(char[]) - Static method in class org.apache.commons.io.IOUtils
Returns the length of the given array in a null-safe manner.
length(CharSequence) - Static method in class org.apache.commons.io.IOUtils
Returns the length of the given CharSequence in a null-safe manner.
length(Object[]) - Static method in class org.apache.commons.io.IOUtils
Returns the length of the given array in a null-safe manner.
LINE_SEPARATOR - Static variable in class org.apache.commons.io.IOUtils
The system line separator string.
LINE_SEPARATOR_UNIX - Static variable in class org.apache.commons.io.IOUtils
The Unix line separator string.
LINE_SEPARATOR_WINDOWS - Static variable in class org.apache.commons.io.IOUtils
The Windows line separator string.
lineIterator(File) - 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, Charset) - Static method in class org.apache.commons.io.IOUtils
Returns an Iterator for the lines in an InputStream, using the character encoding specified (or default encoding if null).
lineIterator(InputStream, String) - Static method in class org.apache.commons.io.IOUtils
Returns 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
Returns an Iterator for the lines in a Reader.
LineIterator - Class in org.apache.commons.io
An Iterator over the lines in a Reader.
LineIterator(Reader) - Constructor for class org.apache.commons.io.LineIterator
Constructs an iterator of the lines for a Reader.
listFiles(File, IOFileFilter, IOFileFilter) - Static method in class org.apache.commons.io.FileUtils
Finds files within a given directory (and optionally its subdirectories).
listFiles(File, String[], boolean) - Static method in class org.apache.commons.io.FileUtils
Finds files within a given directory (and optionally its subdirectories) which match an array of extensions.
listFilesAndDirs(File, IOFileFilter, IOFileFilter) - Static method in class org.apache.commons.io.FileUtils
Finds files within a given directory (and optionally its subdirectories).
LockableFileWriter - Class in org.apache.commons.io.output
FileWriter that will create and honor lock files to allow simple cross thread file lock handling.
LockableFileWriter(String) - Constructor for class org.apache.commons.io.output.LockableFileWriter
Constructs a LockableFileWriter.
LockableFileWriter(String, boolean) - Constructor for class org.apache.commons.io.output.LockableFileWriter
Constructs a LockableFileWriter.
LockableFileWriter(String, boolean, String) - Constructor for class org.apache.commons.io.output.LockableFileWriter
Constructs a LockableFileWriter.
LockableFileWriter(File) - Constructor for class org.apache.commons.io.output.LockableFileWriter
Constructs a LockableFileWriter.
LockableFileWriter(File, boolean) - Constructor for class org.apache.commons.io.output.LockableFileWriter
Constructs a LockableFileWriter.
LockableFileWriter(File, boolean, String) - Constructor for class org.apache.commons.io.output.LockableFileWriter
LockableFileWriter(File, Charset) - Constructor for class org.apache.commons.io.output.LockableFileWriter
Constructs a LockableFileWriter with a file encoding.
LockableFileWriter(File, String) - Constructor for class org.apache.commons.io.output.LockableFileWriter
Constructs a LockableFileWriter with a file encoding.
LockableFileWriter(File, Charset, boolean, 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.
longCounter() - Static method in class org.apache.commons.io.file.Counters
Returns a new long Counter.
longPathCounters() - Static method in class org.apache.commons.io.file.Counters
Returns a new BigInteger PathCounters.

M

magicNumberFileFilter(String) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
Returns a filter that accepts files that begin with the provided magic number.
magicNumberFileFilter(String, long) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
Returns a filter that accepts files that contains the provided magic number at a specified offset within the file.
magicNumberFileFilter(byte[]) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
Returns a filter that accepts files that begin with the provided magic number.
magicNumberFileFilter(byte[], long) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
Returns a filter that accepts files that contains the provided magic number at a specified offset within the file.
MagicNumberFileFilter - Class in org.apache.commons.io.filefilter
File filter for matching files containing a "magic number".
MagicNumberFileFilter(byte[]) - Constructor for class org.apache.commons.io.filefilter.MagicNumberFileFilter
Constructs a new MagicNumberFileFilter and associates it with the magic number to test for in files.
MagicNumberFileFilter(String) - Constructor for class org.apache.commons.io.filefilter.MagicNumberFileFilter
Constructs a new MagicNumberFileFilter and associates it with the magic number to test for in files.
MagicNumberFileFilter(String, long) - Constructor for class org.apache.commons.io.filefilter.MagicNumberFileFilter
Constructs a new MagicNumberFileFilter and associates it with the magic number to test for in files and the byte offset location in the file to to look for that magic number.
MagicNumberFileFilter(byte[], long) - Constructor for class org.apache.commons.io.filefilter.MagicNumberFileFilter
Constructs a new MagicNumberFileFilter and associates it with the magic number to test for in files and the byte offset location in the file to to look for that magic number.
makeCVSAware(IOFileFilter) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
Decorates a filter to make it ignore CVS directories.
makeDirectoryOnly(IOFileFilter) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
Decorates a filter so that it only applies to directories and not to files.
makeFileOnly(IOFileFilter) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
Decorates a filter so that it only applies to files and not to directories.
makeSVNAware(IOFileFilter) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
Decorates a filter to make it ignore SVN directories.
mark(int) - Method in class org.apache.commons.io.input.BOMInputStream
Invokes the delegate's mark(int) method.
mark(int) - Method in class org.apache.commons.io.input.BoundedInputStream
Invokes the delegate's mark(int) method.
mark(int) - Method in class org.apache.commons.io.input.BoundedReader
marks the target stream
mark(int) - Method in class org.apache.commons.io.input.BrokenReader
Throws the configured exception.
mark(int) - Method in class org.apache.commons.io.input.CharSequenceInputStream
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
Marks 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.
mark(int) - Method in class org.apache.commons.io.input.UnixLineEndingInputStream
mark(int) - Method in class org.apache.commons.io.input.UnsynchronizedByteArrayInputStream
 
mark(int) - Method in class org.apache.commons.io.input.WindowsLineEndingInputStream
markSupported() - Method in class org.apache.commons.io.input.BoundedInputStream
Invokes the delegate's markSupported() method.
markSupported() - Method in class org.apache.commons.io.input.CharSequenceInputStream
 
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.
markSupported() - Method in class org.apache.commons.io.input.UnsynchronizedByteArrayInputStream
 
matches(String) - Method in interface org.apache.commons.io.serialization.ClassNameMatcher
Returns true if the supplied class name matches this object's condition.
MessageDigestCalculatingInputStream - Class in org.apache.commons.io.input
This class is an example for using an ObservableInputStream.
MessageDigestCalculatingInputStream(InputStream, MessageDigest) - Constructor for class org.apache.commons.io.input.MessageDigestCalculatingInputStream
Creates a new instance, which calculates a signature on the given stream, using the given MessageDigest.
MessageDigestCalculatingInputStream(InputStream, String) - Constructor for class org.apache.commons.io.input.MessageDigestCalculatingInputStream
Creates a new instance, which calculates a signature on the given stream, using a MessageDigest with the given algorithm.
MessageDigestCalculatingInputStream(InputStream) - Constructor for class org.apache.commons.io.input.MessageDigestCalculatingInputStream
Creates a new instance, which calculates a signature on the given stream, using a MessageDigest with the "MD5" algorithm.
MessageDigestCalculatingInputStream.MessageDigestMaintainingObserver - Class in org.apache.commons.io.input
Maintains the message digest.
MessageDigestMaintainingObserver(MessageDigest) - Constructor for class org.apache.commons.io.input.MessageDigestCalculatingInputStream.MessageDigestMaintainingObserver
Creates an MessageDigestMaintainingObserver for the given MessageDigest.
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_COMPARATOR - Static variable in class org.apache.commons.io.comparator.NameFileComparator
Case-sensitive name comparator instance (see IOCase.SENSITIVE)
NAME_INSENSITIVE_COMPARATOR - Static variable in class org.apache.commons.io.comparator.NameFileComparator
Case-insensitive name comparator instance (see IOCase.INSENSITIVE)
NAME_INSENSITIVE_REVERSE - Static variable in class org.apache.commons.io.comparator.NameFileComparator
Reverse case-insensitive name comparator instance (see IOCase.INSENSITIVE)
NAME_REVERSE - Static variable in class org.apache.commons.io.comparator.NameFileComparator
Reverse case-sensitive name comparator instance (see IOCase.SENSITIVE)
NAME_SYSTEM_COMPARATOR - Static variable in class org.apache.commons.io.comparator.NameFileComparator
System sensitive name comparator instance (see IOCase.SYSTEM)
NAME_SYSTEM_REVERSE - Static variable in class org.apache.commons.io.comparator.NameFileComparator
Reverse system sensitive name comparator instance (see IOCase.SYSTEM)
NameFileComparator - Class in org.apache.commons.io.comparator
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(IOCase) - Constructor for class org.apache.commons.io.comparator.NameFileComparator
Construct a file name comparator instance with the specified case-sensitivity.
nameFileFilter(String) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
Returns a filter that returns true if the file name matches the specified text.
nameFileFilter(String, IOCase) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
Returns a filter that returns true if the file name matches the specified text.
NameFileFilter - Class in org.apache.commons.io.filefilter
Filters file names for a certain name.
NameFileFilter(String) - Constructor for class org.apache.commons.io.filefilter.NameFileFilter
Constructs a new case-sensitive name file filter for a single name.
NameFileFilter(String, IOCase) - Constructor for class org.apache.commons.io.filefilter.NameFileFilter
Construct a new name file filter specifying case-sensitivity.
NameFileFilter(String...) - Constructor for class org.apache.commons.io.filefilter.NameFileFilter
Constructs a new case-sensitive name file filter for an array of names.
NameFileFilter(String[], IOCase) - Constructor for class org.apache.commons.io.filefilter.NameFileFilter
Constructs a new name file filter for an array of names specifying case-sensitivity.
NameFileFilter(List<String>) - Constructor for class org.apache.commons.io.filefilter.NameFileFilter
Constructs a new case-sensitive name file filter for a list of names.
NameFileFilter(List<String>, IOCase) - Constructor for class org.apache.commons.io.filefilter.NameFileFilter
Constructs a new name file filter for a list of names specifying case-sensitivity.
needNewBuffer(int) - Method in class org.apache.commons.io.output.AbstractByteArrayOutputStream
Makes a new buffer available either by allocating a new one or re-cycling an existing one.
newChildInstance(File) - Method in class org.apache.commons.io.monitor.FileEntry
Create a new child instance.
next() - Method in class org.apache.commons.io.LineIterator
Returns the next line in the wrapped Reader.
nextLine() - Method in class org.apache.commons.io.LineIterator
Returns the next line in the wrapped Reader.
NORMAL - Static variable in class org.apache.commons.io.FileDeleteStrategy
The singleton instance for normal file deletion, which does not permit the deletion of directories that are not empty.
normalize(String) - Static method in class org.apache.commons.io.FilenameUtils
Normalizes a path, removing double and single dot path steps.
normalize(String, boolean) - 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.
normalizeNoEndSeparator(String, boolean) - Static method in class org.apache.commons.io.FilenameUtils
Normalizes a path, removing double and single dot path steps, and removing any final directory separator.
NOT_EMPTY - Static variable in class org.apache.commons.io.filefilter.EmptyFileFilter
Singleton instance of not-empty filter
noteClosed() - Method in class org.apache.commons.io.input.ObservableInputStream
Notifies the observers by invoking ObservableInputStream.Observer.finished().
noteDataByte(int) - Method in class org.apache.commons.io.input.ObservableInputStream
Notifies the observers by invoking ObservableInputStream.Observer.data(int) with the given arguments.
noteDataBytes(byte[], int, int) - Method in class org.apache.commons.io.input.ObservableInputStream
Notifies the observers by invoking ObservableInputStream.Observer.data(byte[],int,int) with the given arguments.
noteError(IOException) - Method in class org.apache.commons.io.input.ObservableInputStream
Notifies the observers by invoking ObservableInputStream.Observer.error(IOException) with the given argument.
noteFinished() - Method in class org.apache.commons.io.input.ObservableInputStream
Notifies the observers by invoking ObservableInputStream.Observer.finished().
notFileFilter(IOFileFilter) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
Returns a filter that NOTs the specified filter.
NotFileFilter - Class in org.apache.commons.io.filefilter
This filter produces a logical NOT of the filters specified.
NotFileFilter(IOFileFilter) - Constructor for class org.apache.commons.io.filefilter.NotFileFilter
Constructs a new file filter that NOTs the result of another filter.
NULL_OUTPUT_STREAM - Static variable in class org.apache.commons.io.output.NullOutputStream
A singleton.
NULL_PRINT_STREAM - Static variable in class org.apache.commons.io.output.NullPrintStream
The singleton instance.
NULL_WRITER - Static variable in class org.apache.commons.io.output.NullWriter
A singleton.
NullInputStream - Class in org.apache.commons.io.input
A functional, light weight InputStream that emulates a stream of a specified size.
NullInputStream() - Constructor for class org.apache.commons.io.input.NullInputStream
Create an InputStream that emulates a size 0 stream which supports marking and does not throw EOFException.
NullInputStream(long) - Constructor for class org.apache.commons.io.input.NullInputStream
Create an InputStream that emulates a specified size which supports marking and does not throw EOFException.
NullInputStream(long, boolean, boolean) - Constructor for class org.apache.commons.io.input.NullInputStream
Create an InputStream that emulates a specified size with option settings.
NullOutputStream - Class in org.apache.commons.io.output
This OutputStream writes all data to the famous /dev/null.
NullOutputStream() - Constructor for class org.apache.commons.io.output.NullOutputStream
NullPrintStream - Class in org.apache.commons.io.output
This PrintStream writes all data to the famous /dev/null.
NullPrintStream() - Constructor for class org.apache.commons.io.output.NullPrintStream
Constructs an instance.
NullReader - Class in org.apache.commons.io.input
A functional, light weight Reader that emulates a reader of a specified size.
NullReader() - Constructor for class org.apache.commons.io.input.NullReader
Creates a Reader that emulates a size 0 reader which supports marking and does not throw EOFException.
NullReader(long) - Constructor for class org.apache.commons.io.input.NullReader
Creates 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
Creates a Reader that emulates a specified size with option settings.
NullWriter - Class in org.apache.commons.io.output
This Writer writes all data to the famous /dev/null.
NullWriter() - Constructor for class org.apache.commons.io.output.NullWriter
Constructs a new NullWriter.

O

ObservableInputStream - Class in org.apache.commons.io.input
The ObservableInputStream allows, that an InputStream may be consumed by other receivers, apart from the thread, which is reading it.
ObservableInputStream(InputStream) - Constructor for class org.apache.commons.io.input.ObservableInputStream
Creates a new ObservableInputStream for the given InputStream.
ObservableInputStream.Observer - Class in org.apache.commons.io.input
Abstracts observer callback for ObservableInputStreams.
Observer() - Constructor for class org.apache.commons.io.input.ObservableInputStream.Observer
 
onDirectoryChange(File) - Method in interface org.apache.commons.io.monitor.FileAlterationListener
Directory changed Event.
onDirectoryChange(File) - Method in class org.apache.commons.io.monitor.FileAlterationListenerAdaptor
Directory changed Event.
onDirectoryCreate(File) - Method in interface org.apache.commons.io.monitor.FileAlterationListener
Directory created Event.
onDirectoryCreate(File) - Method in class org.apache.commons.io.monitor.FileAlterationListenerAdaptor
Directory created Event.
onDirectoryDelete(File) - Method in interface org.apache.commons.io.monitor.FileAlterationListener
Directory deleted Event.
onDirectoryDelete(File) - Method in class org.apache.commons.io.monitor.FileAlterationListenerAdaptor
Directory deleted Event.
ONE_EB - Static variable in class org.apache.commons.io.FileUtils
The number of bytes in an exabyte.
ONE_EB_BI - Static variable in class org.apache.commons.io.FileUtils
The number of bytes in an exabyte.
ONE_GB - Static variable in class org.apache.commons.io.FileUtils
The number of bytes in a gigabyte.
ONE_GB_BI - Static variable in class org.apache.commons.io.FileUtils
The number of bytes in a gigabyte.
ONE_KB - Static variable in class org.apache.commons.io.FileUtils
The number of bytes in a kilobyte.
ONE_KB_BI - Static variable in class org.apache.commons.io.FileUtils
The number of bytes in a kilobyte.
ONE_MB - Static variable in class org.apache.commons.io.FileUtils
The number of bytes in a megabyte.
ONE_MB_BI - Static variable in class org.apache.commons.io.FileUtils
The number of bytes in a megabyte.
ONE_PB - Static variable in class org.apache.commons.io.FileUtils
The number of bytes in a petabyte.
ONE_PB_BI - Static variable in class org.apache.commons.io.FileUtils
The number of bytes in a petabyte.
ONE_TB - Static variable in class org.apache.commons.io.FileUtils
The number of bytes in a terabyte.
ONE_TB_BI - Static variable in class org.apache.commons.io.FileUtils
The number of bytes in a terabyte.
ONE_YB - Static variable in class org.apache.commons.io.FileUtils
The number of bytes in a yottabyte.
ONE_ZB - Static variable in class org.apache.commons.io.FileUtils
The number of bytes in a zettabyte.
onFileChange(File) - Method in interface org.apache.commons.io.monitor.FileAlterationListener
File changed Event.
onFileChange(File) - Method in class org.apache.commons.io.monitor.FileAlterationListenerAdaptor
File changed Event.
onFileCreate(File) - Method in interface org.apache.commons.io.monitor.FileAlterationListener
File created Event.
onFileCreate(File) - Method in class org.apache.commons.io.monitor.FileAlterationListenerAdaptor
File created Event.
onFileDelete(File) - Method in interface org.apache.commons.io.monitor.FileAlterationListener
File deleted Event.
onFileDelete(File) - Method in class org.apache.commons.io.monitor.FileAlterationListenerAdaptor
File deleted Event.
onStart(FileAlterationObserver) - Method in interface org.apache.commons.io.monitor.FileAlterationListener
File system observer started checking event.
onStart(FileAlterationObserver) - Method in class org.apache.commons.io.monitor.FileAlterationListenerAdaptor
File system observer started checking event.
onStop(FileAlterationObserver) - Method in interface org.apache.commons.io.monitor.FileAlterationListener
File system observer finished checking event.
onStop(FileAlterationObserver) - Method in class org.apache.commons.io.monitor.FileAlterationListenerAdaptor
File system observer finished checking event.
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.
openOutputStream(File, boolean) - 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.
or(IOFileFilter...) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
Returns a filter that ORs the specified filters.
orFileFilter(IOFileFilter, IOFileFilter) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
OrFileFilter - Class in org.apache.commons.io.filefilter
A 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<IOFileFilter>) - Constructor for class org.apache.commons.io.filefilter.OrFileFilter
Constructs a new instance of OrFileFilter with the specified filters.
OrFileFilter(IOFileFilter, IOFileFilter) - Constructor for class org.apache.commons.io.filefilter.OrFileFilter
Constructs a new file filter that ORs the result of two other filters.
org.apache.commons.io - package org.apache.commons.io
This package defines utility classes for working with streams, readers, writers and files.
org.apache.commons.io.comparator - package org.apache.commons.io.comparator
This package provides various Comparator implementations for Files.
org.apache.commons.io.file - package org.apache.commons.io.file
This package provides extensions in the realm of java.nio.file.
org.apache.commons.io.filefilter - package org.apache.commons.io.filefilter
This package defines an interface (IOFileFilter) that combines both FileFilter and FilenameFilter.
org.apache.commons.io.function - package org.apache.commons.io.function
IO-only related functional interfaces provide target types for lambda expressions and method references.
org.apache.commons.io.input - package org.apache.commons.io.input
This package provides implementations of input classes, such as InputStream and Reader.
org.apache.commons.io.input.buffer - package org.apache.commons.io.input.buffer
 
org.apache.commons.io.monitor - package org.apache.commons.io.monitor
This package provides a component for monitoring file system events (directory and file create, update and delete events).
org.apache.commons.io.output - package org.apache.commons.io.output
This package provides implementations of output classes, such as OutputStream and Writer.
org.apache.commons.io.serialization - package org.apache.commons.io.serialization
This package provides a framework for controlling the deserialization of classes.

P

parseByteOrder(String) - Static method in class org.apache.commons.io.ByteOrderParser
Parses the String argument as a ByteOrder.
PATH_COMPARATOR - Static variable in class org.apache.commons.io.comparator.PathFileComparator
Case-sensitive path comparator instance (see IOCase.SENSITIVE)
PATH_INSENSITIVE_COMPARATOR - Static variable in class org.apache.commons.io.comparator.PathFileComparator
Case-insensitive path comparator instance (see IOCase.INSENSITIVE)
PATH_INSENSITIVE_REVERSE - Static variable in class org.apache.commons.io.comparator.PathFileComparator
Reverse case-insensitive path comparator instance (see IOCase.INSENSITIVE)
PATH_REVERSE - Static variable in class org.apache.commons.io.comparator.PathFileComparator
Reverse case-sensitive path comparator instance (see IOCase.SENSITIVE)
PATH_SYSTEM_COMPARATOR - Static variable in class org.apache.commons.io.comparator.PathFileComparator
System sensitive path comparator instance (see IOCase.SYSTEM)
PATH_SYSTEM_REVERSE - Static variable in class org.apache.commons.io.comparator.PathFileComparator
Reverse system sensitive path comparator instance (see IOCase.SYSTEM)
PathFileComparator - Class in org.apache.commons.io.comparator
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(IOCase) - Constructor for class org.apache.commons.io.comparator.PathFileComparator
Construct a file path comparator instance with the specified case-sensitivity.
PathUtils - Class in org.apache.commons.io.file
NIO Path utilities.
peek(byte[], int, int) - Method in class org.apache.commons.io.input.buffer.CircularByteBuffer
Returns, whether the next bytes in the buffer are exactly those, given by sourceBuffer, offset, and length.
peek(byte[]) - Method in class org.apache.commons.io.input.buffer.PeekableInputStream
Returns, whether the next bytes in the buffer are as given by sourceBuffer.
peek(byte[], int, int) - Method in class org.apache.commons.io.input.buffer.PeekableInputStream
Returns, whether the next bytes in the buffer are as given by sourceBuffer, {code offset}, and length.
PeekableInputStream - Class in org.apache.commons.io.input.buffer
Implementation of a buffered input stream, which allows to peek into the buffers first bytes.
PeekableInputStream(InputStream, int) - Constructor for class org.apache.commons.io.input.buffer.PeekableInputStream
Creates a new instance, which filters the given input stream, and uses the given buffer size.
PeekableInputStream(InputStream) - Constructor for class org.apache.commons.io.input.buffer.PeekableInputStream
Creates a new instance, which filters the given input stream, and uses a reasonable default buffer size (8192).
postVisitDirectory(Path, IOException) - Method in class org.apache.commons.io.file.CountingPathVisitor
 
postVisitDirectory(Path, IOException) - Method in class org.apache.commons.io.file.DeletingPathVisitor
 
prefixFileFilter(String) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
Returns a filter that returns true if the file name starts with the specified text.
prefixFileFilter(String, IOCase) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
Returns a filter that returns true if the file name starts with the specified text.
PrefixFileFilter - Class in org.apache.commons.io.filefilter
Filters file names for a certain prefix.
PrefixFileFilter(String) - Constructor for class org.apache.commons.io.filefilter.PrefixFileFilter
Constructs a new Prefix file filter for a single prefix.
PrefixFileFilter(String, 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[], 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.
PrefixFileFilter(List<String>) - Constructor for class org.apache.commons.io.filefilter.PrefixFileFilter
Constructs a new Prefix file filter for a list of prefixes.
PrefixFileFilter(List<String>, IOCase) - Constructor for class org.apache.commons.io.filefilter.PrefixFileFilter
Constructs a new Prefix file filter for a list of prefixes specifying case-sensitivity.
preVisitDirectory(Path, BasicFileAttributes) - Method in class org.apache.commons.io.file.CleaningPathVisitor
 
preVisitDirectory(Path, BasicFileAttributes) - Method in class org.apache.commons.io.file.CopyDirectoryVisitor
 
preVisitDirectory(Path, BasicFileAttributes) - Method in class org.apache.commons.io.file.DeletingPathVisitor
 
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
Returns 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.
ProxyCollectionWriter - Class in org.apache.commons.io.output
A Proxy stream collection which acts as expected, that is it passes the method calls on to the proxied streams and doesn't change which methods are being called.
ProxyCollectionWriter(Collection<Writer>) - Constructor for class org.apache.commons.io.output.ProxyCollectionWriter
Creates a new proxy collection writer.
ProxyCollectionWriter(Writer...) - Constructor for class org.apache.commons.io.output.ProxyCollectionWriter
Creates a new proxy collection writer.
ProxyInputStream - Class in org.apache.commons.io.input
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 in org.apache.commons.io.output
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 in org.apache.commons.io.input
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 in org.apache.commons.io.output
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.

R

read() - Method in class org.apache.commons.io.input.AbstractCharacterFilterReader
 
read(char[], int, int) - Method in class org.apache.commons.io.input.AbstractCharacterFilterReader
 
read() - Method in class org.apache.commons.io.input.BOMInputStream
Invokes the delegate's read() method, detecting and optionally skipping BOM.
read(byte[], int, int) - Method in class org.apache.commons.io.input.BOMInputStream
Invokes the delegate's read(byte[], int, int) method, detecting and optionally skipping BOM.
read(byte[]) - Method in class org.apache.commons.io.input.BOMInputStream
Invokes the delegate's read(byte[]) method, detecting and optionally skipping BOM.
read() - Method in class org.apache.commons.io.input.BoundedInputStream
Invokes the delegate's read() method if the current position is less than the limit.
read(byte[]) - Method in class org.apache.commons.io.input.BoundedInputStream
Invokes the delegate's read(byte[]) method.
read(byte[], int, int) - Method in class org.apache.commons.io.input.BoundedInputStream
Invokes the delegate's read(byte[], int, int) method.
read() - Method in class org.apache.commons.io.input.BoundedReader
Reads a single character
read(char[], int, int) - Method in class org.apache.commons.io.input.BoundedReader
Reads into an array
read() - Method in class org.apache.commons.io.input.BrokenInputStream
Throws the configured exception.
read(char[], int, int) - Method in class org.apache.commons.io.input.BrokenReader
Throws the configured exception.
read() - Method in class org.apache.commons.io.input.buffer.CircularBufferInputStream
 
read(byte[]) - Method in class org.apache.commons.io.input.buffer.CircularBufferInputStream
 
read(byte[], int, int) - Method in class org.apache.commons.io.input.buffer.CircularBufferInputStream
 
read() - Method in class org.apache.commons.io.input.buffer.CircularByteBuffer
Returns the next byte from the buffer, removing it at the same time, so that following invocations won't return it again.
read(byte[], int, int) - Method in class org.apache.commons.io.input.buffer.CircularByteBuffer
Returns the given number of bytes from the buffer by storing them in the given byte array at the given offset.
read(byte[], int, int) - Method in class org.apache.commons.io.input.CharSequenceInputStream
 
read() - Method in class org.apache.commons.io.input.CharSequenceInputStream
 
read(byte[]) - Method in class org.apache.commons.io.input.CharSequenceInputStream
 
read() - Method in class org.apache.commons.io.input.CharSequenceReader
Read a single character.
read(char[], int, int) - Method in class org.apache.commons.io.input.CharSequenceReader
Read the specified number of characters into the array.
read() - Method in class org.apache.commons.io.input.ClosedInputStream
Returns -1 to indicate that the stream is closed.
read(char[], int, int) - Method in class org.apache.commons.io.input.ClosedReader
Returns -1 to indicate that the stream is closed.
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.InfiniteCircularInputStream
 
read() - Method in class org.apache.commons.io.input.NullInputStream
Read a byte.
read(byte[]) - Method in class org.apache.commons.io.input.NullInputStream
Read some bytes into the specified array.
read(byte[], int, int) - Method in class org.apache.commons.io.input.NullInputStream
Read the specified number bytes into an array.
read() - Method in class org.apache.commons.io.input.NullReader
Reads a character.
read(char[]) - Method in class org.apache.commons.io.input.NullReader
Reads some characters into the specified array.
read(char[], int, int) - Method in class org.apache.commons.io.input.NullReader
Reads the specified number characters into an array.
read() - Method in class org.apache.commons.io.input.ObservableInputStream
 
read(byte[]) - Method in class org.apache.commons.io.input.ObservableInputStream
 
read(byte[], int, int) - Method in class org.apache.commons.io.input.ObservableInputStream
 
read() - Method in class org.apache.commons.io.input.ProxyInputStream
Invokes the delegate's read() method.
read(byte[]) - Method in class org.apache.commons.io.input.ProxyInputStream
Invokes the delegate's read(byte[]) method.
read(byte[], int, int) - Method in class org.apache.commons.io.input.ProxyInputStream
Invokes the delegate's read(byte[], int, int) method.
read() - Method in class org.apache.commons.io.input.ProxyReader
Invokes the delegate's read() method.
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.ProxyReader
Invokes the delegate's read(char[], int, int) method.
read(CharBuffer) - Method in class org.apache.commons.io.input.ProxyReader
Invokes the delegate's read(CharBuffer) method.
read(byte[], int, int) - Method in class org.apache.commons.io.input.ReaderInputStream
Read the specified number of bytes into an array.
read(byte[]) - Method in class org.apache.commons.io.input.ReaderInputStream
Read the specified number of bytes into an array.
read() - Method in class org.apache.commons.io.input.ReaderInputStream
Read a single byte.
read() - Method in class org.apache.commons.io.input.SequenceReader
 
read(char[], int, int) - Method in class org.apache.commons.io.input.SequenceReader
 
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[], 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(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() - Method in class org.apache.commons.io.input.TeeReader
Reads a single chracter from the proxied reader and writes it to the associated writer.
read(char[]) - Method in class org.apache.commons.io.input.TeeReader
Reads characters from the proxied reader and writes the read characters to the associated writer.
read(char[], int, int) - Method in class org.apache.commons.io.input.TeeReader
Reads characters from the proxied reader and writes the read characters to the associated writer.
read(CharBuffer) - Method in class org.apache.commons.io.input.TeeReader
Reads characters from the proxied reader and writes the read characters to the associated writer.
read() - Method in class org.apache.commons.io.input.UnixLineEndingInputStream
read() - Method in class org.apache.commons.io.input.UnsynchronizedByteArrayInputStream
 
read(byte[]) - Method in class org.apache.commons.io.input.UnsynchronizedByteArrayInputStream
 
read(byte[], int, int) - Method in class org.apache.commons.io.input.UnsynchronizedByteArrayInputStream
 
read() - Method in class org.apache.commons.io.input.WindowsLineEndingInputStream
read(char[], int, int) - Method in class org.apache.commons.io.input.XmlStreamReader
Invokes the underlying reader's read(char[], int, int) method.
read(InputStream, byte[]) - Static method in class org.apache.commons.io.IOUtils
Reads bytes from an input stream.
read(InputStream, byte[], int, int) - Static method in class org.apache.commons.io.IOUtils
Reads bytes from an input stream.
read(ReadableByteChannel, ByteBuffer) - Static method in class org.apache.commons.io.IOUtils
Reads bytes from a ReadableByteChannel.
read(Reader, char[]) - Static method in class org.apache.commons.io.IOUtils
Reads characters from an input character stream.
read(Reader, char[], int, int) - Static method in class org.apache.commons.io.IOUtils
Reads characters from an input character stream.
READ_ONLY - Static variable in class org.apache.commons.io.filefilter.CanReadFileFilter
Singleton instance of read-only filter
readBoolean() - Method in class org.apache.commons.io.input.SwappedDataInputStream
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 SwappedDataInputStream.readShort().
readDouble() - Method in class org.apache.commons.io.input.SwappedDataInputStream
ReaderInputStream - Class in org.apache.commons.io.input
InputStream implementation that reads a character stream from a Reader and transforms it to a byte stream using a specified charset encoding.
ReaderInputStream(Reader, CharsetEncoder) - Constructor for class org.apache.commons.io.input.ReaderInputStream
Construct a new ReaderInputStream.
ReaderInputStream(Reader, CharsetEncoder, int) - Constructor for class org.apache.commons.io.input.ReaderInputStream
Construct a new ReaderInputStream.
ReaderInputStream(Reader, Charset, int) - Constructor for class org.apache.commons.io.input.ReaderInputStream
Construct a new ReaderInputStream.
ReaderInputStream(Reader, Charset) - Constructor for class org.apache.commons.io.input.ReaderInputStream
Construct a new ReaderInputStream with a default input buffer size of characters.
ReaderInputStream(Reader, String, int) - Constructor for class org.apache.commons.io.input.ReaderInputStream
Construct a new ReaderInputStream.
ReaderInputStream(Reader, String) - Constructor for class org.apache.commons.io.input.ReaderInputStream
Construct a new ReaderInputStream with a default input buffer size of characters.
ReaderInputStream(Reader) - Constructor for class org.apache.commons.io.input.ReaderInputStream
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
Deprecated.
2.5 use FileUtils.readFileToString(File, Charset) instead (and specify the appropriate encoding)
readFileToString(File, Charset) - Static method in class org.apache.commons.io.FileUtils
Reads the contents of a file into a String.
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.
readFully(InputStream, byte[]) - Static method in class org.apache.commons.io.IOUtils
Reads the requested number of bytes or fail if there are not enough left.
readFully(InputStream, byte[], int, int) - Static method in class org.apache.commons.io.IOUtils
Reads the requested number of bytes or fail if there are not enough left.
readFully(InputStream, int) - Static method in class org.apache.commons.io.IOUtils
Reads the requested number of bytes or fail if there are not enough left.
readFully(ReadableByteChannel, ByteBuffer) - Static method in class org.apache.commons.io.IOUtils
Reads the requested number of bytes or fail if there are not enough left.
readFully(Reader, char[]) - Static method in class org.apache.commons.io.IOUtils
Reads the requested number of characters or fail if there are not enough left.
readFully(Reader, char[], int, int) - Static method in class org.apache.commons.io.IOUtils
Reads the requested number of characters or fail if there are not enough left.
readInt() - Method in class org.apache.commons.io.input.SwappedDataInputStream
readLine() - Method in class org.apache.commons.io.input.ReversedLinesFileReader
Returns the lines of the file from bottom to top.
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
Deprecated.
2.5 use FileUtils.readLines(File, Charset) instead (and specify the appropriate encoding)
readLines(File, Charset) - Static method in class org.apache.commons.io.FileUtils
Reads the contents of a file line by line to a List of Strings.
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
Deprecated.
readLines(InputStream, Charset) - Static method in class org.apache.commons.io.IOUtils
Gets the contents of an InputStream as a list of Strings, one entry per line, using the specified character encoding.
readLines(InputStream, String) - Static method in class org.apache.commons.io.IOUtils
Gets 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
Gets the contents of a Reader as a list of Strings, one entry per line.
readLong() - Method in class org.apache.commons.io.input.SwappedDataInputStream
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.BrokenReader
Throws the configured exception.
ready() - Method in class org.apache.commons.io.input.ProxyReader
Invokes the delegate's ready() method.
refresh(File) - Method in class org.apache.commons.io.monitor.FileEntry
Refresh the attributes from the File, indicating whether the file has changed.
RegexFileFilter - Class in org.apache.commons.io.filefilter
Filters files using supplied regular expression(s).
RegexFileFilter(String) - Constructor for class org.apache.commons.io.filefilter.RegexFileFilter
Construct a new regular expression filter.
RegexFileFilter(String, IOCase) - Constructor for class org.apache.commons.io.filefilter.RegexFileFilter
Construct a new regular expression filter with the specified flags case sensitivity.
RegexFileFilter(String, int) - Constructor for class org.apache.commons.io.filefilter.RegexFileFilter
Construct a new regular expression filter with the specified flags.
RegexFileFilter(Pattern) - Constructor for class org.apache.commons.io.filefilter.RegexFileFilter
Construct a new regular expression filter for a compiled regular expression
reject(Class<?>...) - Method in class org.apache.commons.io.serialization.ValidatingObjectInputStream
Reject the specified classes for deserialization, even if they are otherwise accepted.
reject(String...) - Method in class org.apache.commons.io.serialization.ValidatingObjectInputStream
Reject the wildcard specified classes for deserialization, even if they are otherwise accepted.
reject(Pattern) - Method in class org.apache.commons.io.serialization.ValidatingObjectInputStream
Reject class names that match the supplied pattern for deserialization, even if they are otherwise accepted.
reject(ClassNameMatcher) - Method in class org.apache.commons.io.serialization.ValidatingObjectInputStream
Reject class names where the supplied ClassNameMatcher matches for deserialization, even if they are otherwise accepted.
relativizeDirectories(Path, boolean, Comparator<? super Path>) - Method in class org.apache.commons.io.file.AccumulatorPathVisitor
Relativizes each directory path with Path.relativize(Path) against the given parent, optionally sorting the result.
relativizeFiles(Path, boolean, Comparator<? super Path>) - Method in class org.apache.commons.io.file.AccumulatorPathVisitor
Relativizes each file path with Path.relativize(Path) against the given parent, optionally sorting the result.
remove(ObservableInputStream.Observer) - Method in class org.apache.commons.io.input.ObservableInputStream
Removes an Observer.
remove() - Method in class org.apache.commons.io.LineIterator
Unsupported.
removeAllObservers() - Method in class org.apache.commons.io.input.ObservableInputStream
Removes all Observers.
removeExtension(String) - Static method in class org.apache.commons.io.FilenameUtils
Removes the extension from a fileName.
removeFileFilter(IOFileFilter) - Method in class org.apache.commons.io.filefilter.AndFileFilter
Removes the specified file filter.
removeFileFilter(IOFileFilter) - Method in interface org.apache.commons.io.filefilter.ConditionalFileFilter
Removes the specified file filter.
removeFileFilter(IOFileFilter) - Method in class org.apache.commons.io.filefilter.OrFileFilter
Removes the specified file filter.
removeListener(FileAlterationListener) - Method in class org.apache.commons.io.monitor.FileAlterationObserver
Removes a file system listener.
removeObserver(FileAlterationObserver) - Method in class org.apache.commons.io.monitor.FileAlterationMonitor
Removes a file system observer from this monitor.
requiredCharsets() - Static method in class org.apache.commons.io.Charsets
Constructs a sorted map from canonical charset names to charset objects required of every implementation of the Java platform.
reset() - Method in class org.apache.commons.io.input.BOMInputStream
Invokes the delegate's reset() method.
reset() - Method in class org.apache.commons.io.input.BoundedInputStream
Invokes the delegate's reset() method.
reset() - Method in class org.apache.commons.io.input.BoundedReader
Resets the target to the latest mark,
reset() - Method in class org.apache.commons.io.input.BrokenInputStream
Throws the configured exception.
reset() - Method in class org.apache.commons.io.input.BrokenReader
Throws the configured exception.
reset() - Method in class org.apache.commons.io.input.CharSequenceInputStream
 
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
Resets 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.
reset() - Method in class org.apache.commons.io.input.UnsynchronizedByteArrayInputStream
 
reset() - Method in class org.apache.commons.io.output.AbstractByteArrayOutputStream
 
reset() - Method in class org.apache.commons.io.output.ByteArrayOutputStream
 
reset() - Method in class org.apache.commons.io.output.UnsynchronizedByteArrayOutputStream
 
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.
resetImpl() - Method in class org.apache.commons.io.output.AbstractByteArrayOutputStream
 
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.
resolveClass(ObjectStreamClass) - Method in class org.apache.commons.io.serialization.ValidatingObjectInputStream
 
resolveProxyClass(String[]) - Method in class org.apache.commons.io.input.ClassLoaderObjectInputStream
Create a proxy class that implements the specified interfaces using the specified ClassLoader or the super ClassLoader.
resourceToByteArray(String) - Static method in class org.apache.commons.io.IOUtils
Gets the contents of a classpath resource as a byte array.
resourceToByteArray(String, ClassLoader) - Static method in class org.apache.commons.io.IOUtils
Gets the contents of a classpath resource as a byte array.
resourceToString(String, Charset) - Static method in class org.apache.commons.io.IOUtils
Gets the contents of a classpath resource as a String using the specified character encoding.
resourceToString(String, Charset, ClassLoader) - Static method in class org.apache.commons.io.IOUtils
Gets the contents of a classpath resource as a String using the specified character encoding.
resourceToURL(String) - Static method in class org.apache.commons.io.IOUtils
Gets a URL pointing to the given classpath resource.
resourceToURL(String, ClassLoader) - Static method in class org.apache.commons.io.IOUtils
Gets a URL pointing to the given classpath resource.
ReversedLinesFileReader - Class in org.apache.commons.io.input
Reads lines in a file reversely (similar to a BufferedReader, but starting at the last line).
ReversedLinesFileReader(File) - Constructor for class org.apache.commons.io.input.ReversedLinesFileReader
ReversedLinesFileReader(File, Charset) - Constructor for class org.apache.commons.io.input.ReversedLinesFileReader
Creates a ReversedLinesFileReader with default block size of 4KB and the specified encoding.
ReversedLinesFileReader(Path, Charset) - Constructor for class org.apache.commons.io.input.ReversedLinesFileReader
Creates a ReversedLinesFileReader with default block size of 4KB and the specified encoding.
ReversedLinesFileReader(File, int, Charset) - Constructor for class org.apache.commons.io.input.ReversedLinesFileReader
Creates a ReversedLinesFileReader with the given block size and encoding.
ReversedLinesFileReader(Path, int, Charset) - Constructor for class org.apache.commons.io.input.ReversedLinesFileReader
Creates a ReversedLinesFileReader with the given block size and encoding.
ReversedLinesFileReader(File, int, String) - Constructor for class org.apache.commons.io.input.ReversedLinesFileReader
Creates a ReversedLinesFileReader with the given block size and encoding.
ReversedLinesFileReader(Path, int, String) - Constructor for class org.apache.commons.io.input.ReversedLinesFileReader
Creates a ReversedLinesFileReader with the given block size and encoding.
run() - Method in class org.apache.commons.io.input.Tailer
Follows changes in the file, calling the TailerListener's handle method for each new line.
run() - Method in class org.apache.commons.io.monitor.FileAlterationMonitor
Runs this monitor.

S

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.
SequenceReader - Class in org.apache.commons.io.input
Provides the contents of multiple Readers in sequence.
SequenceReader(Iterable<? extends Reader>) - Constructor for class org.apache.commons.io.input.SequenceReader
Construct a new instance with readers
SequenceReader(Reader...) - Constructor for class org.apache.commons.io.input.SequenceReader
Construct a new instance with readers
setByteCount(long) - Method in class org.apache.commons.io.output.ThresholdingOutputStream
Sets the byteCount to count.
setChildren(FileEntry...) - Method in class org.apache.commons.io.monitor.FileEntry
Set the directory's files.
setDirectory(boolean) - Method in class org.apache.commons.io.monitor.FileEntry
Set whether the file is a directory or not.
setExists(boolean) - Method in class org.apache.commons.io.monitor.FileEntry
Set whether the file existed the last time it was checked.
setFileFilters(List<IOFileFilter>) - Method in class org.apache.commons.io.filefilter.AndFileFilter
Sets the list of file filters, replacing any previously configured file filters on this filter.
setFileFilters(List<IOFileFilter>) - Method in interface org.apache.commons.io.filefilter.ConditionalFileFilter
Sets the list of file filters, replacing any previously configured file filters on this filter.
setFileFilters(List<IOFileFilter>) - Method in class org.apache.commons.io.filefilter.OrFileFilter
Sets the list of file filters, replacing any previously configured file filters on this filter.
setLastModified(long) - Method in class org.apache.commons.io.monitor.FileEntry
Return the last modified time from the last time it was checked.
setLength(long) - Method in class org.apache.commons.io.monitor.FileEntry
Set the length.
setName(String) - Method in class org.apache.commons.io.monitor.FileEntry
Set the file name.
setPropagateClose(boolean) - Method in class org.apache.commons.io.input.BoundedInputStream
Set whether the BoundedInputStream.close() method should propagate to the underling InputStream.
setThreadFactory(ThreadFactory) - Method in class org.apache.commons.io.monitor.FileAlterationMonitor
Sets the thread factory.
SimplePathVisitor - Class in org.apache.commons.io.file
A SimpleFileVisitor typed to a Path.
SimplePathVisitor() - Constructor for class org.apache.commons.io.file.SimplePathVisitor
Constructs a new instance.
size() - Method in class org.apache.commons.io.output.AbstractByteArrayOutputStream
Returns the current size of the byte array.
size() - Method in class org.apache.commons.io.output.ByteArrayOutputStream
 
size() - Method in class org.apache.commons.io.output.UnsynchronizedByteArrayOutputStream
 
SIZE_COMPARATOR - Static variable in class org.apache.commons.io.comparator.SizeFileComparator
Size comparator instance - directories are treated as zero size
SIZE_REVERSE - Static variable in class org.apache.commons.io.comparator.SizeFileComparator
Reverse size comparator instance - directories are treated as zero size
SIZE_SUMDIR_COMPARATOR - Static variable 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 variable 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 in org.apache.commons.io.comparator
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(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, boolean) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
Returns a filter that filters based on file size.
SizeFileFilter - Class in org.apache.commons.io.filefilter
Filters files based on size, can filter either smaller files or files equal to or larger than a given threshold.
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) - Constructor for class org.apache.commons.io.filefilter.SizeFileFilter
Constructs a new size file filter for files based on a certain size threshold.
sizeOf(File) - Static method in class org.apache.commons.io.FileUtils
Returns the size of the specified file or directory.
sizeOfAsBigInteger(File) - Static method in class org.apache.commons.io.FileUtils
Returns the size of the specified file or directory.
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).
sizeOfDirectoryAsBigInteger(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.BOMInputStream
Invokes the delegate's skip(long) method, detecting and optionally skipping BOM.
skip(long) - Method in class org.apache.commons.io.input.BoundedInputStream
Invokes the delegate's skip(long) method.
skip(long) - Method in class org.apache.commons.io.input.BrokenInputStream
Throws the configured exception.
skip(long) - Method in class org.apache.commons.io.input.BrokenReader
Throws the configured exception.
skip(long) - Method in class org.apache.commons.io.input.CharSequenceInputStream
 
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
Skips 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.
skip(long) - Method in class org.apache.commons.io.input.UnsynchronizedByteArrayInputStream
 
skip(InputStream, long) - Static method in class org.apache.commons.io.IOUtils
Skips bytes from an input byte stream.
skip(ReadableByteChannel, long) - Static method in class org.apache.commons.io.IOUtils
Skips bytes from a ReadableByteChannel.
skip(Reader, long) - Static method in class org.apache.commons.io.IOUtils
Skips characters from an input character stream.
skipBytes(int) - Method in class org.apache.commons.io.input.SwappedDataInputStream
Invokes the delegate's skip(int) method.
skipFully(InputStream, long) - Static method in class org.apache.commons.io.IOUtils
Skips the requested number of bytes or fail if there are not enough left.
skipFully(ReadableByteChannel, long) - Static method in class org.apache.commons.io.IOUtils
Skips the requested number of bytes or fail if there are not enough left.
skipFully(Reader, long) - Static method in class org.apache.commons.io.IOUtils
Skips the requested number of characters or fail if there are not enough left.
start() - Method in class org.apache.commons.io.monitor.FileAlterationMonitor
Starts monitoring.
stop() - Method in class org.apache.commons.io.input.Tailer
Allows the tailer to complete its current loop and return.
stop() - Method in class org.apache.commons.io.monitor.FileAlterationMonitor
Stops monitoring.
stop(long) - Method in class org.apache.commons.io.monitor.FileAlterationMonitor
Stops monitoring.
StringBuilderWriter - Class in org.apache.commons.io.output
Writer implementation that outputs to a StringBuilder.
StringBuilderWriter() - Constructor for class org.apache.commons.io.output.StringBuilderWriter
Constructs a new StringBuilder instance with default capacity.
StringBuilderWriter(int) - Constructor for class org.apache.commons.io.output.StringBuilderWriter
Constructs a new StringBuilder instance with the specified capacity.
StringBuilderWriter(StringBuilder) - Constructor for class org.apache.commons.io.output.StringBuilderWriter
Constructs a new instance with the specified StringBuilder.
suffixFileFilter(String) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
Returns a filter that returns true if the file name ends with the specified text.
suffixFileFilter(String, IOCase) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
Returns a filter that returns true if the file name ends with the specified text.
SuffixFileFilter - Class in org.apache.commons.io.filefilter
Filters files based on the suffix (what the file name ends with).
SuffixFileFilter(String) - Constructor for class org.apache.commons.io.filefilter.SuffixFileFilter
Constructs a new Suffix file filter for a single extension.
SuffixFileFilter(String, 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 suffixes.
SuffixFileFilter(String[], IOCase) - Constructor for class org.apache.commons.io.filefilter.SuffixFileFilter
Constructs a new Suffix file filter for an array of suffixes specifying case-sensitivity.
SuffixFileFilter(List<String>) - Constructor for class org.apache.commons.io.filefilter.SuffixFileFilter
Constructs a new Suffix file filter for a list of suffixes.
SuffixFileFilter(List<String>, IOCase) - Constructor for class org.apache.commons.io.filefilter.SuffixFileFilter
Constructs a new Suffix file filter for a list of suffixes specifying case-sensitivity.
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 in org.apache.commons.io.input
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.

T

TaggedInputStream - Class in org.apache.commons.io.input
An input stream decorator that tags potential exceptions so that the stream that caused the exception can easily be identified.
TaggedInputStream(InputStream) - Constructor for class org.apache.commons.io.input.TaggedInputStream
Creates a tagging decorator for the given input stream.
TaggedIOException - Exception in org.apache.commons.io
An IOException decorator that adds a serializable tag to the wrapped exception.
TaggedIOException(IOException, Serializable) - Constructor for exception org.apache.commons.io.TaggedIOException
Creates a tagged wrapper for the given exception.
TaggedOutputStream - Class in org.apache.commons.io.output
An output stream decorator that tags potential exceptions so that the stream that caused the exception can easily be identified.
TaggedOutputStream(OutputStream) - Constructor for class org.apache.commons.io.output.TaggedOutputStream
Creates a tagging decorator for the given output stream.
TaggedReader - Class in org.apache.commons.io.input
A reader decorator that tags potential exceptions so that the reader that caused the exception can easily be identified.
TaggedReader(Reader) - Constructor for class org.apache.commons.io.input.TaggedReader
Creates a tagging decorator for the given reader.
TaggedWriter - Class in org.apache.commons.io.output
A writer decorator that tags potential exceptions so that the reader that caused the exception can easily be identified.
TaggedWriter(Writer) - Constructor for class org.apache.commons.io.output.TaggedWriter
Creates a tagging decorator for the given writer.
Tailer - Class in org.apache.commons.io.input
Simple implementation of the unix "tail -f" functionality.
Tailer(File, TailerListener) - Constructor for class org.apache.commons.io.input.Tailer
Creates a Tailer for the given file, starting from the beginning, with the default delay of 1.0s.
Tailer(File, TailerListener, long) - Constructor for class org.apache.commons.io.input.Tailer
Creates a Tailer for the given file, starting from the beginning.
Tailer(File, TailerListener, long, boolean) - Constructor for class org.apache.commons.io.input.Tailer
Creates a Tailer for the given file, with a delay other than the default 1.0s.
Tailer(File, TailerListener, long, boolean, boolean) - Constructor for class org.apache.commons.io.input.Tailer
Creates a Tailer for the given file, with a delay other than the default 1.0s.
Tailer(File, TailerListener, long, boolean, int) - Constructor for class org.apache.commons.io.input.Tailer
Creates a Tailer for the given file, with a specified buffer size.
Tailer(File, TailerListener, long, boolean, boolean, int) - Constructor for class org.apache.commons.io.input.Tailer
Creates a Tailer for the given file, with a specified buffer size.
Tailer(File, Charset, TailerListener, long, boolean, boolean, int) - Constructor for class org.apache.commons.io.input.Tailer
Creates a Tailer for the given file, with a specified buffer size.
TailerListener - Interface in org.apache.commons.io.input
Listener for events from a Tailer.
TailerListenerAdapter - Class in org.apache.commons.io.input
TailerListenerAdapter() - Constructor for class org.apache.commons.io.input.TailerListenerAdapter
 
TeeInputStream - Class in org.apache.commons.io.input
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 in org.apache.commons.io.output
Classic splitter of OutputStream.
TeeOutputStream(OutputStream, OutputStream) - Constructor for class org.apache.commons.io.output.TeeOutputStream
Constructs a TeeOutputStream.
TeeReader - Class in org.apache.commons.io.input
Reader proxy that transparently writes a copy of all characters read from the proxied reader to a given Reader.
TeeReader(Reader, Writer) - Constructor for class org.apache.commons.io.input.TeeReader
Creates a TeeReader that proxies the given Reader and copies all read characters to the given Writer.
TeeReader(Reader, Writer, boolean) - Constructor for class org.apache.commons.io.input.TeeReader
Creates a TeeReader that proxies the given Reader and copies all read characters to the given Writer.
TeeWriter - Class in org.apache.commons.io.output
Classic splitter of Writer.
TeeWriter(Collection<Writer>) - Constructor for class org.apache.commons.io.output.TeeWriter
Creates a new filtered collection writer.
TeeWriter(Writer...) - Constructor for class org.apache.commons.io.output.TeeWriter
Creates a new filtered collection writer.
ThresholdingOutputStream - Class in org.apache.commons.io.output
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.
throwCauseIfTaggedWith(Throwable, Object) - Static method in exception org.apache.commons.io.TaggedIOException
Throws the original IOException if the given throwable is a TaggedIOException decorator the given tag.
throwIfCauseOf(Throwable) - Method in class org.apache.commons.io.input.TaggedInputStream
Re-throws the original exception thrown by this stream.
throwIfCauseOf(Throwable) - Method in class org.apache.commons.io.input.TaggedReader
Re-throws the original exception thrown by this reader.
throwIfCauseOf(Exception) - Method in class org.apache.commons.io.output.TaggedOutputStream
Re-throws the original exception thrown by this stream.
throwIfCauseOf(Exception) - Method in class org.apache.commons.io.output.TaggedWriter
Re-throws the original exception thrown by this writer.
toBufferedInputStream(InputStream) - Static method in class org.apache.commons.io.IOUtils
Fetches entire contents of an InputStream and represent same data as result InputStream.
toBufferedInputStream(InputStream, int) - Static method in class org.apache.commons.io.IOUtils
Fetches entire contents of an InputStream and represent same data as result InputStream.
toBufferedInputStream(InputStream) - Static method in class org.apache.commons.io.output.ByteArrayOutputStream
Fetches entire contents of an InputStream and represent same data as result InputStream.
toBufferedInputStream(InputStream, int) - Static method in class org.apache.commons.io.output.ByteArrayOutputStream
Fetches entire contents of an InputStream and represent same data as result InputStream.
toBufferedInputStream(InputStream) - Static method in class org.apache.commons.io.output.UnsynchronizedByteArrayOutputStream
Fetches entire contents of an InputStream and represent same data as result InputStream.
toBufferedInputStream(InputStream, int) - Static method in class org.apache.commons.io.output.UnsynchronizedByteArrayOutputStream
Fetches entire contents of an InputStream and represent same data as result InputStream.
toBufferedReader(Reader) - Static method in class org.apache.commons.io.IOUtils
Returns the given reader if it is a BufferedReader, otherwise creates a BufferedReader from the given reader.
toBufferedReader(Reader, int) - Static method in class org.apache.commons.io.IOUtils
Returns the given reader if it is a BufferedReader, otherwise creates a BufferedReader from the given reader.
toByteArray(InputStream) - Static method in class org.apache.commons.io.IOUtils
Gets the contents of an InputStream as a byte[].
toByteArray(InputStream, int) - Static method in class org.apache.commons.io.IOUtils
Gets the contents of an InputStream as a byte[].
toByteArray(InputStream, long) - Static method in class org.apache.commons.io.IOUtils
Gets contents of an InputStream as a byte[].
toByteArray(Reader) - Static method in class org.apache.commons.io.IOUtils
Deprecated.
toByteArray(Reader, Charset) - Static method in class org.apache.commons.io.IOUtils
Gets the contents of a Reader as a byte[] using the specified character encoding.
toByteArray(Reader, String) - Static method in class org.apache.commons.io.IOUtils
Gets the contents of a Reader as a byte[] using the specified character encoding.
toByteArray(String) - Static method in class org.apache.commons.io.IOUtils
Deprecated.
2.5 Use String.getBytes() instead
toByteArray(URI) - Static method in class org.apache.commons.io.IOUtils
Gets the contents of a URI as a byte[].
toByteArray(URL) - Static method in class org.apache.commons.io.IOUtils
Gets the contents of a URL as a byte[].
toByteArray(URLConnection) - Static method in class org.apache.commons.io.IOUtils
Gets the contents of a URLConnection as a byte[].
toByteArray() - Method in class org.apache.commons.io.output.AbstractByteArrayOutputStream
Gets the current contents of this byte stream as a byte array.
toByteArray() - Method in class org.apache.commons.io.output.ByteArrayOutputStream
 
toByteArray() - Method in class org.apache.commons.io.output.UnsynchronizedByteArrayOutputStream
 
toByteArrayImpl() - Method in class org.apache.commons.io.output.AbstractByteArrayOutputStream
Gets the current contents of this byte stream as a byte array.
toCharArray(InputStream) - Static method in class org.apache.commons.io.IOUtils
Deprecated.
toCharArray(InputStream, Charset) - Static method in class org.apache.commons.io.IOUtils
Gets the contents of an InputStream as a character array using the specified character encoding.
toCharArray(InputStream, String) - Static method in class org.apache.commons.io.IOUtils
Gets 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
Gets the contents of a Reader as a character array.
toCharset(Charset) - Static method in class org.apache.commons.io.Charsets
Returns the given Charset or the default Charset if the given Charset is null.
toCharset(String) - Static method in class org.apache.commons.io.Charsets
Returns a Charset for the named charset.
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(CharSequence) - Static method in class org.apache.commons.io.IOUtils
toInputStream(CharSequence, Charset) - Static method in class org.apache.commons.io.IOUtils
Converts the specified CharSequence to an input stream, encoded as bytes using the specified character encoding.
toInputStream(CharSequence, String) - Static method in class org.apache.commons.io.IOUtils
Converts the specified CharSequence to an input stream, encoded as bytes using the specified character encoding.
toInputStream(String) - Static method in class org.apache.commons.io.IOUtils
Deprecated.
toInputStream(String, Charset) - Static method in class org.apache.commons.io.IOUtils
Converts the specified string to an input stream, encoded as bytes using the specified character encoding.
toInputStream(String, String) - Static method in class org.apache.commons.io.IOUtils
Converts the specified string to an input stream, encoded as bytes using the specified character encoding.
toInputStream() - Method in class org.apache.commons.io.output.AbstractByteArrayOutputStream
Gets the current contents of this byte stream as a Input Stream.
toInputStream(AbstractByteArrayOutputStream.InputStreamConstructor<T>) - Method in class org.apache.commons.io.output.AbstractByteArrayOutputStream
Gets the current contents of this byte stream as a Input Stream.
toInputStream() - Method in class org.apache.commons.io.output.ByteArrayOutputStream
 
toInputStream() - Method in class org.apache.commons.io.output.UnsynchronizedByteArrayOutputStream
 
toLegalFileName(String, char) - Method in enum org.apache.commons.io.FileSystem
Converts a candidate file name (without a path) like "filename.ext" or "filename" to a legal file name.
toList(IOFileFilter...) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
Create a List of file filters.
toMessage(int, Throwable) - Static method in exception org.apache.commons.io.IOIndexedException
Converts input to a suitable Stirng for exception message.
toString() - Method in class org.apache.commons.io.ByteOrderMark
Provide a String representation of the BOM.
toString() - Method in class org.apache.commons.io.comparator.CompositeFileComparator
String representation of this file comparator.
toString() - Method in class org.apache.commons.io.comparator.ExtensionFileComparator
String representation of this file comparator.
toString() - Method in class org.apache.commons.io.comparator.NameFileComparator
String representation of this file comparator.
toString() - Method in class org.apache.commons.io.comparator.PathFileComparator
String representation of this file comparator.
toString() - Method in class org.apache.commons.io.comparator.SizeFileComparator
String representation of this file comparator.
toString() - Method in class org.apache.commons.io.file.CountingPathVisitor
 
toString() - Method in class org.apache.commons.io.FileDeleteStrategy
Gets a string describing the delete strategy.
toString() - Method in class org.apache.commons.io.filefilter.AbstractFileFilter
Provide a String representation of this file filter.
toString() - Method in class org.apache.commons.io.filefilter.AgeFileFilter
Provide a String representation of this file filter.
toString() - Method in class org.apache.commons.io.filefilter.AndFileFilter
Provide a String representation of this file filter.
toString() - Method in class org.apache.commons.io.filefilter.DelegateFileFilter
Provide a String representation of this file filter.
toString() - Method in class org.apache.commons.io.filefilter.MagicNumberFileFilter
Returns a String representation of the file filter, which includes the magic number bytes and byte offset.
toString() - Method in class org.apache.commons.io.filefilter.NameFileFilter
Provide a String representation of this file filter.
toString() - Method in class org.apache.commons.io.filefilter.NotFileFilter
Provide a String representation of this file filter.
toString() - Method in class org.apache.commons.io.filefilter.OrFileFilter
Provide a String representation of this file filter.
toString() - Method in class org.apache.commons.io.filefilter.PrefixFileFilter
Provide a String representation of this file filter.
toString() - Method in class org.apache.commons.io.filefilter.SizeFileFilter
Provide a String representation of this file filter.
toString() - Method in class org.apache.commons.io.filefilter.SuffixFileFilter
Provide a String representation of this file filter.
toString() - Method in class org.apache.commons.io.filefilter.WildcardFileFilter
Provide a String representation of this file filter.
toString() - Method in class org.apache.commons.io.input.BoundedInputStream
Invokes the delegate's toString() method.
toString() - Method in class org.apache.commons.io.input.CharSequenceReader
Return a String representation of the underlying character sequence.
toString() - Method in enum org.apache.commons.io.IOCase
Gets a string describing the sensitivity.
toString(byte[]) - Static method in class org.apache.commons.io.IOUtils
Deprecated.
2.5 Use String.String(byte[]) instead
toString(byte[], String) - Static method in class org.apache.commons.io.IOUtils
Gets the contents of a byte[] as a String using the specified character encoding.
toString(InputStream) - Static method in class org.apache.commons.io.IOUtils
Deprecated.
toString(InputStream, Charset) - Static method in class org.apache.commons.io.IOUtils
Gets the contents of an InputStream as a String using the specified character encoding.
toString(InputStream, String) - Static method in class org.apache.commons.io.IOUtils
Gets the contents of an InputStream as a String using the specified character encoding.
toString(Reader) - Static method in class org.apache.commons.io.IOUtils
Gets the contents of a Reader as a String.
toString(URI) - Static method in class org.apache.commons.io.IOUtils
Deprecated.
toString(URI, Charset) - Static method in class org.apache.commons.io.IOUtils
Gets the contents at the given URI.
toString(URI, String) - Static method in class org.apache.commons.io.IOUtils
Gets the contents at the given URI.
toString(URL) - Static method in class org.apache.commons.io.IOUtils
Deprecated.
toString(URL, Charset) - Static method in class org.apache.commons.io.IOUtils
Gets the contents at the given URL.
toString(URL, String) - Static method in class org.apache.commons.io.IOUtils
Gets the contents at the given URL.
toString() - Method in class org.apache.commons.io.monitor.FileAlterationObserver
Returns a String representation of this observer.
toString() - Method in class org.apache.commons.io.output.AbstractByteArrayOutputStream
toString(String) - Method in class org.apache.commons.io.output.AbstractByteArrayOutputStream
Gets the current contents of this byte stream as a string using the specified encoding.
toString(Charset) - Method in class org.apache.commons.io.output.AbstractByteArrayOutputStream
Gets the current contents of this byte stream as a string using the specified encoding.
toString() - Method in class org.apache.commons.io.output.StringBuilderWriter
touch(File) - Static method in class org.apache.commons.io.FileUtils
Implements the same behavior 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(File, Object, FileDeleteStrategy) - Static method in class org.apache.commons.io.FileCleaner
track(String, Object) - Static method in class org.apache.commons.io.FileCleaner
track(String, Object, FileDeleteStrategy) - Static method in class org.apache.commons.io.FileCleaner
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, FileDeleteStrategy) - 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) - 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, FileDeleteStrategy) - 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.
TRUE - Static variable in class org.apache.commons.io.filefilter.TrueFileFilter
Singleton instance of true filter.
trueFileFilter() - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
Returns a filter that always returns true.
TrueFileFilter - Class in org.apache.commons.io.filefilter
A file filter that always returns true.
TrueFileFilter() - Constructor for class org.apache.commons.io.filefilter.TrueFileFilter
Restrictive constructor.

U

UnixLineEndingInputStream - Class in org.apache.commons.io.input
A filtering input stream that ensures the content will have unix-style line endings, LF.
UnixLineEndingInputStream(InputStream, boolean) - Constructor for class org.apache.commons.io.input.UnixLineEndingInputStream
Create an input stream that filters another stream
UnsynchronizedByteArrayInputStream - Class in org.apache.commons.io.input
This is an alternative to ByteArrayInputStream which removes the synchronization overhead for non-concurrent access; as such this class is not thread-safe.
UnsynchronizedByteArrayInputStream(byte[]) - Constructor for class org.apache.commons.io.input.UnsynchronizedByteArrayInputStream
Creates a new byte array input stream.
UnsynchronizedByteArrayInputStream(byte[], int) - Constructor for class org.apache.commons.io.input.UnsynchronizedByteArrayInputStream
Creates a new byte array input stream.
UnsynchronizedByteArrayInputStream(byte[], int, int) - Constructor for class org.apache.commons.io.input.UnsynchronizedByteArrayInputStream
Creates a new byte array input stream.
UnsynchronizedByteArrayOutputStream - Class in org.apache.commons.io.output
Implements a version of AbstractByteArrayOutputStream without any concurrent thread safety.
UnsynchronizedByteArrayOutputStream() - Constructor for class org.apache.commons.io.output.UnsynchronizedByteArrayOutputStream
Creates a new byte array output stream.
UnsynchronizedByteArrayOutputStream(int) - Constructor for class org.apache.commons.io.output.UnsynchronizedByteArrayOutputStream
Creates a new byte array output stream, with a buffer capacity of the specified size, in bytes.
updateFileCounters(Path, BasicFileAttributes) - Method in class org.apache.commons.io.file.CountingPathVisitor
Updates the counters for visiting the given file.
US_ASCII - Static variable in class org.apache.commons.io.Charsets
Deprecated.
Use Java 7's StandardCharsets
UTF_16 - Static variable in class org.apache.commons.io.Charsets
Deprecated.
Use Java 7's StandardCharsets
UTF_16BE - Static variable in class org.apache.commons.io.ByteOrderMark
UTF-16BE BOM (Big-Endian)
UTF_16BE - Static variable in class org.apache.commons.io.Charsets
Deprecated.
Use Java 7's StandardCharsets
UTF_16LE - Static variable in class org.apache.commons.io.ByteOrderMark
UTF-16LE BOM (Little-Endian)
UTF_16LE - Static variable in class org.apache.commons.io.Charsets
Deprecated.
Use Java 7's StandardCharsets
UTF_32BE - Static variable in class org.apache.commons.io.ByteOrderMark
UTF-32BE BOM (Big-Endian)
UTF_32LE - Static variable in class org.apache.commons.io.ByteOrderMark
UTF-32LE BOM (Little-Endian)
UTF_8 - Static variable in class org.apache.commons.io.ByteOrderMark
UTF-8 BOM
UTF_8 - Static variable in class org.apache.commons.io.Charsets
Deprecated.
Use Java 7's StandardCharsets
UTF_BOM - Static variable in class org.apache.commons.io.ByteOrderMark
Unicode BOM character; external form depends on the encoding.

V

ValidatingObjectInputStream - Class in org.apache.commons.io.serialization
An ObjectInputStream that's restricted to deserialize a limited set of classes.
ValidatingObjectInputStream(InputStream) - Constructor for class org.apache.commons.io.serialization.ValidatingObjectInputStream
Constructs an object to deserialize the specified input stream.
valueOf(String) - Static method in enum org.apache.commons.io.FileSystem
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.commons.io.IOCase
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.apache.commons.io.FileSystem
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.commons.io.IOCase
Returns an array containing the constants of this enum type, in the order they are declared.
VISIBLE - Static variable in class org.apache.commons.io.filefilter.HiddenFileFilter
Singleton instance of visible filter
visitFile(Path, BasicFileAttributes) - Method in class org.apache.commons.io.file.AccumulatorPathVisitor
 
visitFile(Path, BasicFileAttributes) - Method in class org.apache.commons.io.file.CleaningPathVisitor
 
visitFile(Path, BasicFileAttributes) - Method in class org.apache.commons.io.file.CopyDirectoryVisitor
 
visitFile(Path, BasicFileAttributes) - Method in class org.apache.commons.io.file.CountingPathVisitor
 
visitFile(Path, BasicFileAttributes) - Method in class org.apache.commons.io.file.DeletingPathVisitor
 
visitFileTree(T, Path) - Static method in class org.apache.commons.io.file.PathUtils
Performs Files.walkFileTree(Path,FileVisitor) and returns the given visitor.
visitFileTree(T, Path, Set<FileVisitOption>, int) - Static method in class org.apache.commons.io.file.PathUtils
Performs Files.walkFileTree(Path,FileVisitor) and returns the given visitor.
visitFileTree(T, String, String...) - Static method in class org.apache.commons.io.file.PathUtils
Performs Files.walkFileTree(Path,FileVisitor) and returns the given visitor.
visitFileTree(T, URI) - Static method in class org.apache.commons.io.file.PathUtils
Performs Files.walkFileTree(Path,FileVisitor) and returns the given visitor.

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<T>) - Method in class org.apache.commons.io.DirectoryWalker
Internal method that walks the directory hierarchy in a depth-first manner.
WildcardFileFilter - Class in org.apache.commons.io.filefilter
Filters files using the supplied wildcards.
WildcardFileFilter(String) - Constructor for class org.apache.commons.io.filefilter.WildcardFileFilter
Construct a new case-sensitive wildcard filter for a single wildcard.
WildcardFileFilter(String, 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[], IOCase) - Constructor for class org.apache.commons.io.filefilter.WildcardFileFilter
Construct a new wildcard filter for an array of wildcards specifying case-sensitivity.
WildcardFileFilter(List<String>) - Constructor for class org.apache.commons.io.filefilter.WildcardFileFilter
Construct a new case-sensitive wildcard filter for a list of wildcards.
WildcardFileFilter(List<String>, IOCase) - Constructor for class org.apache.commons.io.filefilter.WildcardFileFilter
Construct a new wildcard filter for a list of wildcards specifying case-sensitivity.
WildcardFilter - Class in org.apache.commons.io.filefilter
Deprecated.
Use WildcardFileFilter. Deprecated as this class performs directory filtering which it shouldn't do, but that can't be removed due to compatibility.
WildcardFilter(String) - Constructor for class org.apache.commons.io.filefilter.WildcardFilter
Deprecated.
Construct a new case-sensitive wildcard filter for a single wildcard.
WildcardFilter(String...) - Constructor for class org.apache.commons.io.filefilter.WildcardFilter
Deprecated.
Construct a new case-sensitive wildcard filter for an array of wildcards.
WildcardFilter(List<String>) - Constructor for class org.apache.commons.io.filefilter.WildcardFilter
Deprecated.
Construct a new case-sensitive wildcard filter for a list 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, 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.
WindowsLineEndingInputStream - Class in org.apache.commons.io.input
A filtering input stream that ensures the content will have windows line endings, CRLF.
WindowsLineEndingInputStream(InputStream, boolean) - Constructor for class org.apache.commons.io.input.WindowsLineEndingInputStream
Create an input stream that filters another stream
withBigIntegerCounters() - Static method in class org.apache.commons.io.file.AccumulatorPathVisitor
Creates a new instance configured with a BigInteger Counters.PathCounters.
withBigIntegerCounters() - Static method in class org.apache.commons.io.file.CleaningPathVisitor
Creates a new instance configured with a BigInteger Counters.PathCounters.
withBigIntegerCounters() - Static method in class org.apache.commons.io.file.CountingPathVisitor
Creates a new instance configured with a BigInteger Counters.PathCounters.
withBigIntegerCounters() - Static method in class org.apache.commons.io.file.DeletingPathVisitor
Creates a new instance configured with a BigInteger Counters.PathCounters.
withLongCounters() - Static method in class org.apache.commons.io.file.AccumulatorPathVisitor
Creates a new instance configured with a long Counters.PathCounters.
withLongCounters() - Static method in class org.apache.commons.io.file.CleaningPathVisitor
Creates a new instance configured with a long Counters.PathCounters.
withLongCounters() - Static method in class org.apache.commons.io.file.CountingPathVisitor
Creates a new instance configured with a long Counters.PathCounters.
withLongCounters() - Static method in class org.apache.commons.io.file.DeletingPathVisitor
Creates a new instance configured with a long Counters.PathCounters.
write(File, CharSequence) - Static method in class org.apache.commons.io.FileUtils
Deprecated.
2.5 use FileUtils.write(File, CharSequence, Charset) instead (and specify the appropriate encoding)
write(File, CharSequence, boolean) - Static method in class org.apache.commons.io.FileUtils
Deprecated.
2.5 use FileUtils.write(File, CharSequence, Charset, boolean) instead (and specify the appropriate encoding)
write(File, CharSequence, Charset) - Static method in class org.apache.commons.io.FileUtils
Writes a CharSequence to a file creating the file if it does not exist.
write(File, CharSequence, Charset, boolean) - Static method in class org.apache.commons.io.FileUtils
Writes a CharSequence to a file creating the file if it does not exist.
write(File, CharSequence, String) - Static method in class org.apache.commons.io.FileUtils
Writes a CharSequence to a file creating the file if it does not exist.
write(File, CharSequence, String, boolean) - Static method in class org.apache.commons.io.FileUtils
Writes a CharSequence to a file creating the file if it does not exist.
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
Deprecated.
write(byte[], Writer, Charset) - 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(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[], OutputStream) - Static method in class org.apache.commons.io.IOUtils
write(char[], OutputStream, Charset) - 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[], 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
write(CharSequence, OutputStream) - Static method in class org.apache.commons.io.IOUtils
write(CharSequence, OutputStream, Charset) - Static method in class org.apache.commons.io.IOUtils
Writes chars from a CharSequence to bytes on an OutputStream using the specified character encoding.
write(CharSequence, OutputStream, String) - Static method in class org.apache.commons.io.IOUtils
Writes chars from a CharSequence to bytes on an OutputStream using the specified character encoding.
write(CharSequence, Writer) - Static method in class org.apache.commons.io.IOUtils
Writes chars from a CharSequence to a Writer.
write(String, OutputStream) - Static method in class org.apache.commons.io.IOUtils
write(String, OutputStream, Charset) - 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, 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
Deprecated.
replaced by write(CharSequence, OutputStream)
write(StringBuffer, OutputStream, String) - Static method in class org.apache.commons.io.IOUtils
Deprecated.
replaced by write(CharSequence, OutputStream, String)
write(StringBuffer, Writer) - Static method in class org.apache.commons.io.IOUtils
Deprecated.
replaced by write(CharSequence, Writer)
write(byte[], int, int) - Method in class org.apache.commons.io.output.AbstractByteArrayOutputStream
Writes the bytes to the byte array.
write(int) - Method in class org.apache.commons.io.output.AbstractByteArrayOutputStream
Write a byte to byte array.
write(InputStream) - Method in class org.apache.commons.io.output.AbstractByteArrayOutputStream
Writes the entire contents of the specified input stream to this byte stream.
write(int) - Method in class org.apache.commons.io.output.AppendableOutputStream
Write a character to the underlying appendable.
write(char[], int, int) - Method in class org.apache.commons.io.output.AppendableWriter
Writes a portion of an array of characters to the underlying appendable.
write(int) - Method in class org.apache.commons.io.output.AppendableWriter
Writes a character to the underlying appendable.
write(String, int, int) - Method in class org.apache.commons.io.output.AppendableWriter
Writes a portion of a String to the underlying appendable.
write(int) - Method in class org.apache.commons.io.output.BrokenOutputStream
Throws the configured exception.
write(char[], int, int) - Method in class org.apache.commons.io.output.BrokenWriter
Throws the configured exception.
write(byte[], int, int) - Method in class org.apache.commons.io.output.ByteArrayOutputStream
 
write(int) - Method in class org.apache.commons.io.output.ByteArrayOutputStream
 
write(InputStream) - Method in class org.apache.commons.io.output.ByteArrayOutputStream
 
write(byte[], int, int) - Method in class org.apache.commons.io.output.ChunkedOutputStream
Writes the data buffer in chunks to the underlying stream
write(char[], int, int) - Method in class org.apache.commons.io.output.ChunkedWriter
writes the data buffer in chunks to the underlying writer
write(int) - Method in class org.apache.commons.io.output.ClosedOutputStream
Throws an IOException to indicate that the stream is closed.
write(char[], int, int) - Method in class org.apache.commons.io.output.ClosedWriter
Throws an IOException to indicate that the writer is closed.
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(char[]) - Method in class org.apache.commons.io.output.FileWriterWithEncoding
Write the characters from an array.
write(char[], int, int) - Method in class org.apache.commons.io.output.FileWriterWithEncoding
Write the specified characters from an array.
write(String) - Method in class org.apache.commons.io.output.FileWriterWithEncoding
Write the characters from a string.
write(String, int, int) - Method in class org.apache.commons.io.output.FileWriterWithEncoding
Write the specified characters from a string.
write(char[], int, int) - Method in class org.apache.commons.io.output.FilterCollectionWriter
Writes a portion of an array of characters.
write(char[]) - Method in class org.apache.commons.io.output.FilterCollectionWriter
 
write(int) - Method in class org.apache.commons.io.output.FilterCollectionWriter
Writes a single character.
write(String) - Method in class org.apache.commons.io.output.FilterCollectionWriter
 
write(String, int, int) - Method in class org.apache.commons.io.output.FilterCollectionWriter
Writes a portion of a string.
write(int) - Method in class org.apache.commons.io.output.LockableFileWriter
Write a character.
write(char[]) - Method in class org.apache.commons.io.output.LockableFileWriter
Write the 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(String) - Method in class org.apache.commons.io.output.LockableFileWriter
Write the 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(byte[], int, 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.NullOutputStream
Does nothing - output to /dev/null.
write(byte[]) - 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(char[]) - 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.NullWriter
Does nothing - output to /dev/null.
write(String) - 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.NullWriter
Does nothing - output to /dev/null.
write(char[]) - Method in class org.apache.commons.io.output.ProxyCollectionWriter
Invokes the delegate's write(char[]) method.
write(char[], int, int) - Method in class org.apache.commons.io.output.ProxyCollectionWriter
Invokes the delegate's write(char[], int, int) method.
write(int) - Method in class org.apache.commons.io.output.ProxyCollectionWriter
Invokes the delegate's write(int) method.
write(String) - Method in class org.apache.commons.io.output.ProxyCollectionWriter
Invokes the delegate's write(String) method.
write(String, int, int) - Method in class org.apache.commons.io.output.ProxyCollectionWriter
Invokes the delegate's write(String) method.
write(int) - Method in class org.apache.commons.io.output.ProxyOutputStream
Invokes the delegate's write(int) method.
write(byte[]) - 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.ProxyOutputStream
Invokes the delegate's write(byte[]) method.
write(int) - Method in class org.apache.commons.io.output.ProxyWriter
Invokes the delegate's write(int) method.
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.ProxyWriter
Invokes the delegate's write(char[], int, int) method.
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.ProxyWriter
Invokes the delegate's write(String) method.
write(String) - Method in class org.apache.commons.io.output.StringBuilderWriter
Writes a String to the StringBuilder.
write(char[], int, int) - Method in class org.apache.commons.io.output.StringBuilderWriter
Writes a portion of a character array to the StringBuilder.
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.TeeOutputStream
Write the specified bytes to both streams.
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(byte[]) - Method in class org.apache.commons.io.output.ThresholdingOutputStream
Writes b.length bytes from the specified byte array to this output stream.
write(byte[], 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[], int, int) - Method in class org.apache.commons.io.output.UnsynchronizedByteArrayOutputStream
 
write(int) - Method in class org.apache.commons.io.output.UnsynchronizedByteArrayOutputStream
 
write(InputStream) - Method in class org.apache.commons.io.output.UnsynchronizedByteArrayOutputStream
 
write(byte[], int, int) - Method in class org.apache.commons.io.output.WriterOutputStream
Write bytes from the specified byte array to the stream.
write(byte[]) - Method in class org.apache.commons.io.output.WriterOutputStream
Write bytes from the specified byte array to the stream.
write(int) - Method in class org.apache.commons.io.output.WriterOutputStream
Write a single byte to the stream.
write(char[], int, int) - Method in class org.apache.commons.io.output.XmlStreamWriter
Writes the characters to the underlying writer, detecting encoding.
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.
writeByteArrayToFile(File, byte[], boolean) - Static method in class org.apache.commons.io.FileUtils
Writes a byte array to a file creating the file if it does not exist.
writeByteArrayToFile(File, byte[], int, int) - Static method in class org.apache.commons.io.FileUtils
Writes len bytes from the specified byte array starting at offset off to a file, creating the file if it does not exist.
writeByteArrayToFile(File, byte[], int, int, boolean) - Static method in class org.apache.commons.io.FileUtils
Writes len bytes from the specified byte array starting at offset off to a file, creating the file if it does not exist.
writeChunked(byte[], OutputStream) - Static method in class org.apache.commons.io.IOUtils
Writes bytes from a byte[] to an OutputStream using chunked writes.
writeChunked(char[], Writer) - Static method in class org.apache.commons.io.IOUtils
Writes chars from a char[] to a Writer using chunked writes.
writeImpl(byte[], int, int) - Method in class org.apache.commons.io.output.AbstractByteArrayOutputStream
Writes the bytes to the byte array.
writeImpl(int) - Method in class org.apache.commons.io.output.AbstractByteArrayOutputStream
Write a byte to byte array.
writeImpl(InputStream) - Method in class org.apache.commons.io.output.AbstractByteArrayOutputStream
Writes the entire contents of the specified input stream to this byte stream.
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<?>, boolean) - 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, Collection<?>, String, boolean) - 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<?>, boolean) - 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, optionally appending.
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.
writeLines(File, String, Collection<?>, String, boolean) - 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(Collection<?>, String, OutputStream) - Static method in class org.apache.commons.io.IOUtils
writeLines(Collection<?>, String, OutputStream, Charset) - 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, 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.
writer(Appendable) - Static method in class org.apache.commons.io.IOUtils
Returns the given Appendable if it is already a Writer, otherwise creates a Writer wrapper around the given Appendable.
WriterOutputStream - Class in org.apache.commons.io.output
OutputStream implementation that transforms a byte stream to a character stream using a specified charset encoding and writes the resulting stream to a Writer.
WriterOutputStream(Writer, CharsetDecoder) - Constructor for class org.apache.commons.io.output.WriterOutputStream
Constructs a new WriterOutputStream with a default output buffer size of characters.
WriterOutputStream(Writer, CharsetDecoder, int, boolean) - Constructor for class org.apache.commons.io.output.WriterOutputStream
Constructs a new WriterOutputStream.
WriterOutputStream(Writer, Charset, int, boolean) - Constructor for class org.apache.commons.io.output.WriterOutputStream
Constructs a new WriterOutputStream.
WriterOutputStream(Writer, Charset) - Constructor for class org.apache.commons.io.output.WriterOutputStream
Constructs a new WriterOutputStream with a default output buffer size of characters.
WriterOutputStream(Writer, String, int, boolean) - Constructor for class org.apache.commons.io.output.WriterOutputStream
Constructs a new WriterOutputStream.
WriterOutputStream(Writer, String) - Constructor for class org.apache.commons.io.output.WriterOutputStream
Constructs a new WriterOutputStream with a default output buffer size of characters.
WriterOutputStream(Writer) - Constructor for class org.apache.commons.io.output.WriterOutputStream
writers - Variable in class org.apache.commons.io.output.FilterCollectionWriter
The underlying writers.
writeStringToFile(File, String) - Static method in class org.apache.commons.io.FileUtils
Deprecated.
2.5 use FileUtils.writeStringToFile(File, String, Charset) instead (and specify the appropriate encoding)
writeStringToFile(File, String, boolean) - Static method in class org.apache.commons.io.FileUtils
Deprecated.
2.5 use FileUtils.writeStringToFile(File, String, Charset, boolean) instead (and specify the appropriate encoding)
writeStringToFile(File, String, Charset) - Static method in class org.apache.commons.io.FileUtils
Writes a String to a file creating the file if it does not exist.
writeStringToFile(File, String, Charset, boolean) - Static method in class org.apache.commons.io.FileUtils
Writes a String to a file creating the file if it does not exist.
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.
writeStringToFile(File, String, String, boolean) - 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.AbstractByteArrayOutputStream
Writes the entire contents of this byte stream to the specified output stream.
writeTo(OutputStream) - Method in class org.apache.commons.io.output.ByteArrayOutputStream
 
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.
writeTo(OutputStream) - Method in class org.apache.commons.io.output.UnsynchronizedByteArrayOutputStream
 
writeToImpl(OutputStream) - Method in class org.apache.commons.io.output.AbstractByteArrayOutputStream
Writes the entire contents of this byte stream to the specified output stream.

X

XmlStreamReader - Class in org.apache.commons.io.input
Character stream that handles all the necessary Voodoo to figure out the charset encoding of the XML document within the stream.
XmlStreamReader(File) - Constructor for class org.apache.commons.io.input.XmlStreamReader
Creates a Reader for a File.
XmlStreamReader(InputStream) - Constructor for class org.apache.commons.io.input.XmlStreamReader
Creates a Reader for a raw InputStream.
XmlStreamReader(InputStream, boolean) - Constructor for class org.apache.commons.io.input.XmlStreamReader
Creates a Reader for a raw InputStream.
XmlStreamReader(InputStream, boolean, String) - Constructor for class org.apache.commons.io.input.XmlStreamReader
Creates a Reader for a raw InputStream.
XmlStreamReader(URL) - Constructor for class org.apache.commons.io.input.XmlStreamReader
Creates a Reader using the InputStream of a URL.
XmlStreamReader(URLConnection, String) - Constructor for class org.apache.commons.io.input.XmlStreamReader
Creates a Reader using the InputStream of a URLConnection.
XmlStreamReader(InputStream, String) - Constructor for class org.apache.commons.io.input.XmlStreamReader
Creates a Reader using an InputStream and the associated content-type header.
XmlStreamReader(InputStream, String, boolean, String) - Constructor for class org.apache.commons.io.input.XmlStreamReader
Creates a Reader using an InputStream and the associated content-type header.
XmlStreamReader(InputStream, String, boolean) - Constructor for class org.apache.commons.io.input.XmlStreamReader
Creates a Reader using an InputStream and the associated content-type header.
XmlStreamReaderException - Exception in org.apache.commons.io.input
The XmlStreamReaderException is thrown by the XmlStreamReader constructors if the charset encoding can not be determined according to the XML 1.0 specification and RFC 3023.
XmlStreamReaderException(String, String, String, String) - Constructor for exception org.apache.commons.io.input.XmlStreamReaderException
Creates an exception instance if the charset encoding could not be determined.
XmlStreamReaderException(String, String, String, String, String, String) - Constructor for exception org.apache.commons.io.input.XmlStreamReaderException
Creates an exception instance if the charset encoding could not be determined.
XmlStreamWriter - Class in org.apache.commons.io.output
Character stream that handles all the necessary Voodoo to figure out the charset encoding of the XML document written to the stream.
XmlStreamWriter(OutputStream) - Constructor for class org.apache.commons.io.output.XmlStreamWriter
Constructs a new XML stream writer for the specified output stream with a default encoding of UTF-8.
XmlStreamWriter(OutputStream, String) - Constructor for class org.apache.commons.io.output.XmlStreamWriter
Constructs a new XML stream writer for the specified output stream with the specified default encoding.
XmlStreamWriter(File) - Constructor for class org.apache.commons.io.output.XmlStreamWriter
Constructs a new XML stream writer for the specified file with a default encoding of UTF-8.
XmlStreamWriter(File, String) - Constructor for class org.apache.commons.io.output.XmlStreamWriter
Constructs a new XML stream writer for the specified file with the specified default encoding.
A B C D E F G H I L M N O P R S T U V W X 
Skip navigation links

Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.