- 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.
- AbstractCharacterFilterReader(Reader, IntPredicate) - Constructor for class org.apache.commons.io.input.AbstractCharacterFilterReader
-
Constructs a new reader.
- AbstractFileFilter - Class in org.apache.commons.io.filefilter
-
- AbstractFileFilter() - Constructor for class org.apache.commons.io.filefilter.AbstractFileFilter
-
Constructs a new instance.
- AbstractFileFilter(FileVisitResult, FileVisitResult) - Constructor for class org.apache.commons.io.filefilter.AbstractFileFilter
-
Constructs a new instance.
- AbstractOrigin<T,B extends AbstractOrigin<T,B>> - Class in org.apache.commons.io.build
-
- AbstractOrigin(T) - Constructor for class org.apache.commons.io.build.AbstractOrigin
-
Constructs a new instance for a subclass.
- AbstractOrigin.ByteArrayOrigin - Class in org.apache.commons.io.build
-
A byte[]
origin.
- AbstractOrigin.CharSequenceOrigin - Class in org.apache.commons.io.build
-
- AbstractOrigin.FileOrigin - Class in org.apache.commons.io.build
-
- AbstractOrigin.InputStreamOrigin - Class in org.apache.commons.io.build
-
- AbstractOrigin.OutputStreamOrigin - Class in org.apache.commons.io.build
-
- AbstractOrigin.PathOrigin - Class in org.apache.commons.io.build
-
- AbstractOrigin.ReaderOrigin - Class in org.apache.commons.io.build
-
- AbstractOrigin.URIOrigin - Class in org.apache.commons.io.build
-
- AbstractOrigin.WriterOrigin - Class in org.apache.commons.io.build
-
- AbstractOriginSupplier<T,B extends AbstractOriginSupplier<T,B>> - Class in org.apache.commons.io.build
-
Abstracts building an instance of T
.
- AbstractOriginSupplier() - Constructor for class org.apache.commons.io.build.AbstractOriginSupplier
-
- AbstractStreamBuilder<T,B extends AbstractStreamBuilder<T,B>> - Class in org.apache.commons.io.build
-
Abstracts building a typed instance of T
.
- AbstractStreamBuilder() - Constructor for class org.apache.commons.io.build.AbstractStreamBuilder
-
- AbstractSupplier<T,B extends AbstractSupplier<T,B>> - Class in org.apache.commons.io.build
-
Abstracts supplying an instance of T
.
- AbstractSupplier() - Constructor for class org.apache.commons.io.build.AbstractSupplier
-
- accept(Path) - Method in class org.apache.commons.io.file.DirectoryStreamFilter
-
- accept(Path, BasicFileAttributes) - Method in interface org.apache.commons.io.file.PathFilter
-
Tests whether or not to include the specified Path in a result.
- 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(Path, BasicFileAttributes) - 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(Path, BasicFileAttributes) - Method in class org.apache.commons.io.filefilter.AndFileFilter
-
Checks to see if the Path 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(Path, BasicFileAttributes) - 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(Path, BasicFileAttributes) - 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(Path, BasicFileAttributes) - 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(Path, BasicFileAttributes) - 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(Path, BasicFileAttributes) - 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(Path, BasicFileAttributes) - Method in class org.apache.commons.io.filefilter.FalseFileFilter
-
Returns false.
- accept(File) - Method in class org.apache.commons.io.filefilter.FileEqualsFileFilter
-
- accept(Path, BasicFileAttributes) - Method in class org.apache.commons.io.filefilter.FileEqualsFileFilter
-
- accept(File) - Method in class org.apache.commons.io.filefilter.FileFileFilter
-
Checks to see if the file is a file.
- accept(Path, BasicFileAttributes) - 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(Path, BasicFileAttributes) - 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(Path, BasicFileAttributes) - Method in interface org.apache.commons.io.filefilter.IOFileFilter
-
Checks to see if the Path 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(Path, BasicFileAttributes) - 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(Path, BasicFileAttributes) - 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(Path, BasicFileAttributes) - 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) - 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(Path, BasicFileAttributes) - Method in class org.apache.commons.io.filefilter.OrFileFilter
-
Checks to see if the Path should be accepted by this filter.
- accept(File) - Method in class org.apache.commons.io.filefilter.PathEqualsFileFilter
-
- accept(Path, BasicFileAttributes) - Method in class org.apache.commons.io.filefilter.PathEqualsFileFilter
-
- accept(File) - Method in class org.apache.commons.io.filefilter.PathVisitorFileFilter
-
- accept(File, String) - Method in class org.apache.commons.io.filefilter.PathVisitorFileFilter
-
- accept(Path, BasicFileAttributes) - Method in class org.apache.commons.io.filefilter.PathVisitorFileFilter
-
- 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(Path, BasicFileAttributes) - 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(Path, BasicFileAttributes) - 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(Path, BasicFileAttributes) - 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(Path, BasicFileAttributes) - 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.SymbolicLinkFileFilter
-
Checks to see if the file is a symbolic link.
- accept(Path, BasicFileAttributes) - Method in class org.apache.commons.io.filefilter.SymbolicLinkFileFilter
-
Checks to see if the file is a file.
- 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(Path, BasicFileAttributes) - Method in class org.apache.commons.io.filefilter.TrueFileFilter
-
Returns true.
- accept(File) - Method in class org.apache.commons.io.filefilter.WildcardFileFilter
-
Checks to see if the file name matches one of the wildcards.
- 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(Path, BasicFileAttributes) - 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.WildcardFilter
-
Deprecated.
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(Path, BasicFileAttributes) - Method in class org.apache.commons.io.filefilter.WildcardFilter
-
Deprecated.
Checks to see if the file name matches one of the wildcards.
- accept(T, U) - Method in interface org.apache.commons.io.function.IOBiConsumer
-
Performs this operation on the given arguments.
- accept(T) - Method in interface org.apache.commons.io.function.IOConsumer
-
Performs this operation on the given argument.
- accept(T, U, V) - Method in interface org.apache.commons.io.function.IOTriConsumer
-
Performs this operation on the given arguments.
- accept(IOBiConsumer<T, U>, T, U) - Static method in class org.apache.commons.io.function.Uncheck
-
Accepts an IO consumer with the given arguments.
- accept(IOConsumer<T>, T) - Static method in class org.apache.commons.io.function.Uncheck
-
Accepts an IO consumer with the given argument.
- accept(IOTriConsumer<T, U, V>, T, U, V) - Static method in class org.apache.commons.io.function.Uncheck
-
Accepts an IO consumer with the given arguments.
- accept(Class<?>...) - Method in class org.apache.commons.io.serialization.ValidatingObjectInputStream
-
Accept the specified classes 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.
- 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(String...) - Method in class org.apache.commons.io.serialization.ValidatingObjectInputStream
-
Accept the wildcard specified classes for deserialization,
unless they are otherwise rejected.
- AccumulatorPathVisitor - Class in org.apache.commons.io.file
-
Accumulates normalized paths during visitation.
- AccumulatorPathVisitor() - Constructor for class org.apache.commons.io.file.AccumulatorPathVisitor
-
Constructs a new instance.
- AccumulatorPathVisitor(Counters.PathCounters) - Constructor for class org.apache.commons.io.file.AccumulatorPathVisitor
-
Constructs a new instance that counts file system elements.
- AccumulatorPathVisitor(Counters.PathCounters, PathFilter, PathFilter) - Constructor for class org.apache.commons.io.file.AccumulatorPathVisitor
-
Constructs a new instance.
- AccumulatorPathVisitor(Counters.PathCounters, PathFilter, PathFilter, IOBiFunction<Path, IOException, FileVisitResult>) - Constructor for class org.apache.commons.io.file.AccumulatorPathVisitor
-
Constructs a new instance.
- adapt(Iterator<E>) - Static method in interface org.apache.commons.io.function.IOIterator
-
Adapts the given Iterator as an IOIterator.
- adapt(Spliterator<E>) - Static method in interface org.apache.commons.io.function.IOSpliterator
-
Adapts the given Spliterator as an IOSpliterator.
- adapt(Stream<T>) - Static method in interface org.apache.commons.io.function.IOStream
-
Constructs a new IOStream for the given Stream.
- 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
-
- 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 class org.apache.commons.io.filefilter.AndFileFilter
-
Adds the given file filters.
- 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.
- addFileFilter(IOFileFilter...) - Method in class org.apache.commons.io.filefilter.OrFileFilter
-
Adds the given file filters.
- 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(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(Instant) - 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(Instant, boolean) - Constructor for class org.apache.commons.io.filefilter.AgeFileFilter
-
Constructs a new age file filter for files on any one side of a certain cutoff.
- AgeFileFilter(long) - 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) - 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.
- 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.
- allMatch(IOPredicate<? super T>) - Method in interface org.apache.commons.io.function.IOStream
-
- alwaysFalse() - Static method in interface org.apache.commons.io.function.IOPredicate
-
Always false.
- alwaysTrue() - Static method in interface org.apache.commons.io.function.IOPredicate
-
Always true.
- and(IOFileFilter) - Method in class org.apache.commons.io.filefilter.FalseFileFilter
-
- and(IOFileFilter...) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
-
Returns a filter that ANDs the specified filters.
- and(IOFileFilter) - Method in interface org.apache.commons.io.filefilter.IOFileFilter
-
Creates a new "and" filter with this filter.
- and(IOFileFilter) - Method in class org.apache.commons.io.filefilter.TrueFileFilter
-
- and(IOPredicate<? super T>) - Method in interface org.apache.commons.io.function.IOPredicate
-
Creates a composed predicate that represents a short-circuiting logical AND of this predicate and another.
- 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 empty instance.
- AndFileFilter(IOFileFilter...) - Constructor for class org.apache.commons.io.filefilter.AndFileFilter
-
Constructs a new instance for the give filters.
- AndFileFilter(IOFileFilter, IOFileFilter) - Constructor for class org.apache.commons.io.filefilter.AndFileFilter
-
Constructs a new file filter that ANDs the result of other filters.
- 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) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
-
- andThen(IOBiConsumer<? super T, ? super U>) - Method in interface org.apache.commons.io.function.IOBiConsumer
-
Creates a composed
IOBiConsumer
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.IOBiFunction
-
Creates a composed function that first applies this function to its input, and then applies the after
function to the result.
- 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(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.
- 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(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(IOFunction<? super R, ? extends X>) - Method in interface org.apache.commons.io.function.IOQuadFunction
-
Creates a composed function that first applies this function to its input, and then applies the after
function to the result.
- andThen(IOTriConsumer<? super T, ? super U, ? super V>) - Method in interface org.apache.commons.io.function.IOTriConsumer
-
Creates a composed
IOTriConsumer
that performs, in sequence, this operation followed by the
after
operation.
- andThen(IOFunction<? super R, ? extends W>) - Method in interface org.apache.commons.io.function.IOTriFunction
-
Creates a composed function that first applies this function to its input, and then applies the after
function to the result.
- anyMatch(IOPredicate<? super T>) - Method in interface org.apache.commons.io.function.IOStream
-
- 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.NullAppendable
-
- append(CharSequence) - Method in class org.apache.commons.io.output.NullAppendable
-
- append(CharSequence, int, int) - Method in class org.apache.commons.io.output.NullAppendable
-
- append(char) - 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(CharSequence, int, int) - 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) - Method in class org.apache.commons.io.output.ProxyWriter
-
Invokes the delegate's append(CharSequence)
method.
- append(CharSequence, int, int) - Method in class org.apache.commons.io.output.ProxyWriter
-
Invokes the delegate's append(CharSequence, int, int)
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
-
- append(char) - Method in interface org.apache.commons.io.output.UncheckedAppendable
-
- append(CharSequence) - Method in interface org.apache.commons.io.output.UncheckedAppendable
-
- append(CharSequence, int, int) - Method in interface org.apache.commons.io.output.UncheckedAppendable
-
- append(char) - Method in class org.apache.commons.io.output.UncheckedFilterWriter
-
- append(CharSequence) - Method in class org.apache.commons.io.output.UncheckedFilterWriter
-
- append(CharSequence, int, int) - Method in class org.apache.commons.io.output.UncheckedFilterWriter
-
- 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
-
Constructs 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, U) - Method in interface org.apache.commons.io.function.IOBiFunction
-
Applies this function to the given arguments.
- apply(T) - Method in interface org.apache.commons.io.function.IOFunction
-
Applies this function to the given argument.
- apply(T, U, V, W) - Method in interface org.apache.commons.io.function.IOQuadFunction
-
Applies this function to the given arguments.
- apply(T, U, V) - Method in interface org.apache.commons.io.function.IOTriFunction
-
Applies this function to the given arguments.
- apply(IOBiFunction<T, U, R>, T, U) - Static method in class org.apache.commons.io.function.Uncheck
-
Applies an IO function with the given arguments.
- apply(IOFunction<T, R>, T) - Static method in class org.apache.commons.io.function.Uncheck
-
Applies an IO function with the given arguments.
- apply(IOQuadFunction<T, U, V, W, R>, T, U, V, W) - Static method in class org.apache.commons.io.function.Uncheck
-
Applies an IO quad-function with the given arguments.
- apply(IOTriFunction<T, U, V, R>, T, U, V) - Static method in class org.apache.commons.io.function.Uncheck
-
Applies an IO tri-function with the given arguments.
- asBaseStream() - Method in interface org.apache.commons.io.function.IOBaseStream
-
- asBiConsumer() - Method in interface org.apache.commons.io.function.IOBiConsumer
-
- asBiFunction() - Method in interface org.apache.commons.io.function.IOBiFunction
-
- asBinaryOperator() - Method in interface org.apache.commons.io.function.IOBinaryOperator
-
- asComparator() - Method in interface org.apache.commons.io.function.IOComparator
-
- asConsumer() - Method in interface org.apache.commons.io.function.IOConsumer
-
- asFileFilter(FileFilter) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
-
- asFileFilter(FilenameFilter) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
-
- asFunction() - Method in interface org.apache.commons.io.function.IOFunction
-
- asIterator() - Method in interface org.apache.commons.io.function.IOIterator
-
- asPredicate() - Method in interface org.apache.commons.io.function.IOPredicate
-
- asRunnable() - Method in interface org.apache.commons.io.function.IORunnable
-
- asSpliterator() - Method in interface org.apache.commons.io.function.IOSpliterator
-
- asSupplier() - Method in interface org.apache.commons.io.function.IOSupplier
-
- asThis() - Method in class org.apache.commons.io.build.AbstractSupplier
-
Returns this instance typed as the proper subclass type.
- asUnaryOperator() - Method in interface org.apache.commons.io.function.IOUnaryOperator
-
- 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
-
- AutoCloseInputStream.Builder - Class in org.apache.commons.io.input
-
- 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.BufferedFileChannelInputStream
-
- 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.MemoryMappedFileInputStream
-
- 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.RandomAccessFileInputStream
-
Returns an estimate of the number of bytes that can be read (or skipped over) from this input stream.
- available() - Method in class org.apache.commons.io.input.ReadAheadInputStream
-
- available() - Method in class org.apache.commons.io.input.UncheckedFilterInputStream
-
- available() - Method in class org.apache.commons.io.input.UnsynchronizedBufferedInputStream
-
Returns the number of bytes that are available before this stream will block.
- available() - Method in class org.apache.commons.io.input.UnsynchronizedByteArrayInputStream
-
- available() - Method in class org.apache.commons.io.input.UnsynchronizedFilterInputStream
-
Returns the number of bytes that are available before this stream will block.
- availableLong() - Method in class org.apache.commons.io.input.RandomAccessFileInputStream
-
Returns the number of bytes that can be read (or skipped over) from this input stream.
- 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
-
Deprecated.
- CancelException(String, File, int) - Constructor for exception org.apache.commons.io.DirectoryWalker.CancelException
-
Deprecated.
- CanExecuteFileFilter - Class in org.apache.commons.io.filefilter
-
This filter accepts
File
s 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
File
s 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
File
s 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.
- CharacterFilterReader(Reader, IntPredicate) - Constructor for class org.apache.commons.io.input.CharacterFilterReader
-
Constructs a new reader.
- characteristics() - Method in interface org.apache.commons.io.function.IOSpliterator
-
- 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, Integer...) - Constructor for class org.apache.commons.io.input.CharacterSetFilterReader
-
Constructs a new reader.
- 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
-
Implements an
InputStream
to read from String, StringBuffer, StringBuilder or CharBuffer.
- CharSequenceInputStream(CharSequence, Charset) - Constructor for class org.apache.commons.io.input.CharSequenceInputStream
-
- CharSequenceInputStream(CharSequence, Charset, int) - Constructor for class org.apache.commons.io.input.CharSequenceInputStream
-
- CharSequenceInputStream(CharSequence, String) - Constructor for class org.apache.commons.io.input.CharSequenceInputStream
-
- CharSequenceInputStream(CharSequence, String, int) - Constructor for class org.apache.commons.io.input.CharSequenceInputStream
-
- CharSequenceInputStream.Builder - Class in org.apache.commons.io.input
-
- CharSequenceOrigin(CharSequence) - Constructor for class org.apache.commons.io.build.AbstractOrigin.CharSequenceOrigin
-
Constructs a new instance for the given origin.
- 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.
- CharsetDecoders - Class in org.apache.commons.io.charset
-
- CharsetEncoders - Class in org.apache.commons.io.charset
-
- 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.
- checkEmpty(List<? extends Throwable>, Object) - Static method in exception org.apache.commons.io.IOExceptionList
-
Throws this exception if the list is not null or empty.
- 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
-
Deprecated.
- 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.
- checkOrigin() - Method in class org.apache.commons.io.build.AbstractOriginSupplier
-
Checks whether the origin is null.
- 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) - Constructor for class org.apache.commons.io.output.ChunkedOutputStream
-
- ChunkedOutputStream(OutputStream, int) - Constructor for class org.apache.commons.io.output.ChunkedOutputStream
-
- ChunkedOutputStream.Builder - Class in org.apache.commons.io.output
-
- ChunkedWriter - Class in org.apache.commons.io.output
-
Writer which breaks larger output blocks into chunks.
- ChunkedWriter(Writer) - Constructor for class org.apache.commons.io.output.ChunkedWriter
-
- ChunkedWriter(Writer, int) - Constructor for class org.apache.commons.io.output.ChunkedWriter
-
Creates a new writer that uses the specified chunk size.
- CircularBufferInputStream - Class in org.apache.commons.io.input.buffer
-
- CircularBufferInputStream(InputStream) - Constructor for class org.apache.commons.io.input.buffer.CircularBufferInputStream
-
- 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.
- 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() - Constructor for class org.apache.commons.io.input.buffer.CircularByteBuffer
-
- CircularByteBuffer(int) - Constructor for class org.apache.commons.io.input.buffer.CircularByteBuffer
-
Creates a new instance with the given buffer size.
- CircularInputStream - Class in org.apache.commons.io.input
-
An
InputStream
that repeats provided bytes for given target byte count.
- CircularInputStream(byte[], long) - Constructor for class org.apache.commons.io.input.CircularInputStream
-
Creates an instance from the specified array of bytes.
- 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 subdirectories without deleting directories.
- cleanDirectory(Path, DeleteOption...) - Static method in class org.apache.commons.io.file.PathUtils
-
Cleans a directory including subdirectories 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, DeleteOption[], 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.
- 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 interface org.apache.commons.io.function.IOBaseStream
-
- 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
-
- 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.BufferedFileChannelInputStream
-
- 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
-
- 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.MemoryMappedFileInputStream
-
- 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.RandomAccessFileInputStream
-
- close() - Method in class org.apache.commons.io.input.ReadAheadInputStream
-
- close() - Method in class org.apache.commons.io.input.ReaderInputStream
-
Closes 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.Tailer
-
Requests the tailer to complete its current loop and return.
- 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.UncheckedBufferedReader
-
- close() - Method in class org.apache.commons.io.input.UncheckedFilterInputStream
-
- close() - Method in class org.apache.commons.io.input.UncheckedFilterReader
-
- close() - Method in class org.apache.commons.io.input.UnixLineEndingInputStream
-
Closes the stream.
- close() - Method in class org.apache.commons.io.input.UnsynchronizedBufferedInputStream
-
Closes this stream.
- close() - Method in class org.apache.commons.io.input.UnsynchronizedFilterInputStream
-
Closes this 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...) - Static method in class org.apache.commons.io.IOUtils
-
Closes the given
Closeable
s as null-safe operations.
- 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
-
- close() - Method in class org.apache.commons.io.output.AbstractByteArrayOutputStream
-
Does nothing.
- 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
-
- 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.FilterCollectionWriter
-
- close() - Method in class org.apache.commons.io.output.LockableFileWriter
-
Closes the file writer and deletes the lock file.
- 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.UncheckedFilterOutputStream
-
- close() - Method in class org.apache.commons.io.output.UncheckedFilterWriter
-
- 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
-
- closed() - Method in class org.apache.commons.io.input.TimestampedObserver
-
- CLOSED_INPUT_STREAM - Static variable in class org.apache.commons.io.input.ClosedInputStream
-
- CLOSED_OUTPUT_STREAM - Static variable in class org.apache.commons.io.output.ClosedOutputStream
-
- CLOSED_READER - Static variable in class org.apache.commons.io.input.ClosedReader
-
- CLOSED_WRITER - Static variable in class org.apache.commons.io.output.ClosedWriter
-
- ClosedInputStream - Class in org.apache.commons.io.input
-
Always returns
IOUtils.EOF
to all attempts to read something from the stream.
- ClosedInputStream() - Constructor for class org.apache.commons.io.input.ClosedInputStream
-
- ClosedOutputStream - Class in org.apache.commons.io.output
-
Throws an IOException 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
-
Always returns
IOUtils.EOF
to all attempts to read something from it.
- ClosedReader() - Constructor for class org.apache.commons.io.input.ClosedReader
-
- ClosedWriter - Class in org.apache.commons.io.output
-
- ClosedWriter() - Constructor for class org.apache.commons.io.output.ClosedWriter
-
- closeQuietly(Closeable) - Static method in class org.apache.commons.io.IOUtils
-
- closeQuietly(Closeable...) - Static method in class org.apache.commons.io.IOUtils
-
- 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(InputStream) - Static method in class org.apache.commons.io.IOUtils
-
- closeQuietly(Iterable<Closeable>) - Static method in class org.apache.commons.io.IOUtils
-
Closes an iterable of
Closeable
unconditionally.
- closeQuietly(OutputStream) - Static method in class org.apache.commons.io.IOUtils
-
- closeQuietly(Reader) - Static method in class org.apache.commons.io.IOUtils
-
Closes an
Reader
unconditionally.
- closeQuietly(Selector) - Static method in class org.apache.commons.io.IOUtils
-
- closeQuietly(ServerSocket) - Static method in class org.apache.commons.io.IOUtils
-
- closeQuietly(Socket) - Static method in class org.apache.commons.io.IOUtils
-
Closes a
Socket
unconditionally.
- closeQuietly(Stream<Closeable>) - Static method in class org.apache.commons.io.IOUtils
-
Closes a stream of
Closeable
unconditionally.
- closeQuietly(Writer) - Static method in class org.apache.commons.io.IOUtils
-
Closes an
Writer
unconditionally.
- closeQuietly(LineIterator) - Static method in class org.apache.commons.io.LineIterator
-
- 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
-
- 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
-
- CloseShieldReader - Class in org.apache.commons.io.input
-
Proxy reader that prevents the underlying reader from being closed.
- CloseShieldReader(Reader) - Constructor for class org.apache.commons.io.input.CloseShieldReader
-
- CloseShieldWriter - Class in org.apache.commons.io.output
-
Proxy writer that prevents the underlying writer from being closed.
- CloseShieldWriter(Writer) - Constructor for class org.apache.commons.io.output.CloseShieldWriter
-
- collect(Collector<? super T, A, R>) - Method in interface org.apache.commons.io.function.IOStream
-
TODO Package-private for now, needs IOCollector?
Adding this method now and an IO version later is an issue because call sites would have to type-cast to pick one.
- collect(IOSupplier<R>, IOBiConsumer<R, ? super T>, IOBiConsumer<R, R>) - Method in interface org.apache.commons.io.function.IOStream
-
- compare(File, File) - Method in class org.apache.commons.io.comparator.CompositeFileComparator
-
Compares the two files using delegate comparators.
- compare(File, File) - Method in class org.apache.commons.io.comparator.DefaultFileComparator
-
- compare(File, File) - Method in class org.apache.commons.io.comparator.DirectoryFileComparator
-
- compare(File, File) - Method in class org.apache.commons.io.comparator.ExtensionFileComparator
-
Compares the extensions of two files the specified case sensitivity.
- compare(File, File) - Method in class org.apache.commons.io.comparator.LastModifiedFileComparator
-
Compares the last modified date/time of two files.
- compare(File, File) - Method in class org.apache.commons.io.comparator.NameFileComparator
-
Compares the names of two files with the specified case sensitivity.
- compare(File, File) - Method in class org.apache.commons.io.comparator.PathFileComparator
-
Compares the paths of two files the specified case sensitivity.
- compare(File, File) - Method in class org.apache.commons.io.comparator.SizeFileComparator
-
Compares the length of two files.
- compare(T, T) - Method in interface org.apache.commons.io.function.IOComparator
-
- compare(IOComparator<T>, T, T) - Static method in class org.apache.commons.io.function.Uncheck
-
Compares the arguments with the comparator.
- 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(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(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
-
Constructs a composite comparator for the set of delegate comparators.
- CompositeFileComparator(Iterable<Comparator<File>>) - Constructor for class org.apache.commons.io.comparator.CompositeFileComparator
-
Constructs 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
-
Constructs an InputStream subclass.
- consume() - Method in class org.apache.commons.io.input.ObservableInputStream
-
Reads all data from the underlying
InputStream
, while notifying the observers.
- consume(InputStream) - Static method in class org.apache.commons.io.IOUtils
-
- consume(Reader) - Static method in class org.apache.commons.io.IOUtils
-
Consumes characters from a
Reader
and ignores them.
- contentEquals(File, File) - Static method in class org.apache.commons.io.FileUtils
-
Tests whether the contents of two files are equal.
- 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 instances into array
representation.
- copy(byte[], OutputStream) - Static method in class org.apache.commons.io.CopyUtils
-
Deprecated.
- copy(byte[], Writer) - Static method in class org.apache.commons.io.CopyUtils
-
- copy(byte[], Writer, String) - Static method in class org.apache.commons.io.CopyUtils
-
Deprecated.
Copies 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(InputStream, Writer) - Static method in class org.apache.commons.io.CopyUtils
-
- copy(InputStream, Writer, String) - Static method in class org.apache.commons.io.CopyUtils
-
Deprecated.
Copies 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.
- copy(Reader, Writer) - Static method in class org.apache.commons.io.CopyUtils
-
Deprecated.
- 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.
- copy(String, Writer) - Static method in class org.apache.commons.io.CopyUtils
-
Deprecated.
- copy(Path, Path) - Method in class org.apache.commons.io.file.CopyDirectoryVisitor
-
Copies the sourceFile to the targetFile.
- copy(InputStream, Path, CopyOption...) - Static method in class org.apache.commons.io.file.FilesUncheck
-
- copy(Path, OutputStream) - Static method in class org.apache.commons.io.file.FilesUncheck
-
- copy(Path, Path, CopyOption...) - Static method in class org.apache.commons.io.file.FilesUncheck
-
- copy(IOSupplier<InputStream>, Path, CopyOption...) - Static method in class org.apache.commons.io.file.PathUtils
-
- copy(InputStream, OutputStream) - Static method in class org.apache.commons.io.IOUtils
-
- copy(InputStream, OutputStream, int) - Static method in class org.apache.commons.io.IOUtils
-
- copy(InputStream, Writer) - Static method in class org.apache.commons.io.IOUtils
-
- 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(ByteArrayOutputStream) - Static method in class org.apache.commons.io.IOUtils
-
- copy(Reader, Appendable) - Static method in class org.apache.commons.io.IOUtils
-
- copy(Reader, Appendable, CharBuffer) - Static method in class org.apache.commons.io.IOUtils
-
- copy(Reader, OutputStream) - Static method in class org.apache.commons.io.IOUtils
-
- 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
-
- copy(URL, File) - Static method in class org.apache.commons.io.IOUtils
-
- copy(URL, OutputStream) - Static method in class org.apache.commons.io.IOUtils
-
- 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.
- copyDirectory(File, File, FileFilter, boolean, CopyOption...) - 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.
- CopyDirectoryVisitor(Counters.PathCounters, PathFilter, PathFilter, 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 an existing file to a new file location.
- copyFile(File, File, boolean, CopyOption...) - Static method in class org.apache.commons.io.FileUtils
-
Copies a file to a new location.
- copyFile(File, File, CopyOption...) - 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
-
- 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
-
- copyLarge(InputStream, OutputStream, byte[]) - Static method in class org.apache.commons.io.IOUtils
-
- copyLarge(InputStream, OutputStream, long, long) - Static method in class org.apache.commons.io.IOUtils
-
- copyLarge(InputStream, OutputStream, long, long, byte[]) - Static method in class org.apache.commons.io.IOUtils
-
- copyLarge(Reader, Writer) - Static method in class org.apache.commons.io.IOUtils
-
- copyLarge(Reader, Writer, char[]) - Static method in class org.apache.commons.io.IOUtils
-
- copyLarge(Reader, Writer, long, long) - Static method in class org.apache.commons.io.IOUtils
-
- copyLarge(Reader, Writer, long, long, char[]) - Static method in class org.apache.commons.io.IOUtils
-
- 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
-
- 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
-
- CopyUtils() - Constructor for class org.apache.commons.io.CopyUtils
-
Deprecated.
Instances should NOT be constructed in standard programming.
- count() - Method in interface org.apache.commons.io.function.IOStream
-
- count - Variable in class org.apache.commons.io.input.UnsynchronizedBufferedInputStream
-
The total number of bytes inside the byte array buf
.
- 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 subdirectories.
- countDirectoryAsBigInteger(Path) - Static method in class org.apache.commons.io.file.PathUtils
-
Counts aspects of a directory including subdirectories.
- 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.
- CountingPathVisitor(Counters.PathCounters, PathFilter, PathFilter) - Constructor for class org.apache.commons.io.file.CountingPathVisitor
-
Constructs a new instance.
- CountingPathVisitor(Counters.PathCounters, PathFilter, PathFilter, IOBiFunction<Path, IOException, FileVisitResult>) - Constructor for class org.apache.commons.io.file.CountingPathVisitor
-
Constructs a new instance.
- CR - Static variable in class org.apache.commons.io.IOUtils
-
CR char.
- create(File, Charset, TailerListener, long, boolean, boolean, int) - Static method in class org.apache.commons.io.input.Tailer
-
- create(File, TailerListener) - Static method in class org.apache.commons.io.input.Tailer
-
- create(File, TailerListener, long) - Static method in class org.apache.commons.io.input.Tailer
-
- create(File, TailerListener, long, boolean) - Static method in class org.apache.commons.io.input.Tailer
-
- create(File, TailerListener, long, boolean, boolean) - Static method in class org.apache.commons.io.input.Tailer
-
- create(File, TailerListener, long, boolean, boolean, int) - Static method in class org.apache.commons.io.input.Tailer
-
- create(File, TailerListener, long, boolean, int) - Static method in class org.apache.commons.io.input.Tailer
-
- create(File) - Method in enum org.apache.commons.io.RandomAccessFileMode
-
Creates a random access file stream to read from, and optionally to write to, the file specified by the
File
argument.
- create(Path) - Method in enum org.apache.commons.io.RandomAccessFileMode
-
Creates a random access file stream to read from, and optionally to write to, the file specified by the
File
argument.
- create(String) - Method in enum org.apache.commons.io.RandomAccessFileMode
-
Creates a random access file stream to read from, and optionally to write to, the file specified by the
File
argument.
- createDirectories(Path, FileAttribute<?>...) - Static method in class org.apache.commons.io.file.FilesUncheck
-
- createDirectory(Path, FileAttribute<?>...) - Static method in class org.apache.commons.io.file.FilesUncheck
-
- createFile(Path, FileAttribute<?>...) - Static method in class org.apache.commons.io.file.FilesUncheck
-
- createLink(Path, Path) - Static method in class org.apache.commons.io.file.FilesUncheck
-
- createParentDirectories(Path, FileAttribute<?>...) - Static method in class org.apache.commons.io.file.PathUtils
-
Creates the parent directories for the given path
.
- createParentDirectories(Path, LinkOption, FileAttribute<?>...) - Static method in class org.apache.commons.io.file.PathUtils
-
Creates the parent directories for the given path
.
- createParentDirectories(File) - Static method in class org.apache.commons.io.FileUtils
-
Creates all parent directories for a File object, including any necessary but nonexistent parent directories.
- createSymbolicLink(Path, Path, FileAttribute<?>...) - Static method in class org.apache.commons.io.file.FilesUncheck
-
- createTempDirectory(Path, String, FileAttribute<?>...) - Static method in class org.apache.commons.io.file.FilesUncheck
-
- createTempDirectory(String, FileAttribute<?>...) - Static method in class org.apache.commons.io.file.FilesUncheck
-
- createTempFile(Path, String, String, FileAttribute<?>...) - Static method in class org.apache.commons.io.file.FilesUncheck
-
- createTempFile(String, String, FileAttribute<?>...) - Static method in class org.apache.commons.io.file.FilesUncheck
-
- current() - Static method in class org.apache.commons.io.file.PathUtils
-
Gets the current directory.
- current() - Static method in class org.apache.commons.io.FileUtils
-
Gets the current directory.
- data(byte[], int, int) - Method in class org.apache.commons.io.input.MessageDigestCalculatingInputStream.MessageDigestMaintainingObserver
-
- data(int) - Method in class org.apache.commons.io.input.MessageDigestCalculatingInputStream.MessageDigestMaintainingObserver
-
- data(byte[], int, int) - Method in class org.apache.commons.io.input.ObservableInputStream.Observer
-
- data(int) - Method in class org.apache.commons.io.input.ObservableInputStream.Observer
-
- 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
-
- 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
-
- DeferredFileOutputStream(int, int, File) - Constructor for class org.apache.commons.io.output.DeferredFileOutputStream
-
- DeferredFileOutputStream(int, int, String, String, File) - Constructor for class org.apache.commons.io.output.DeferredFileOutputStream
-
- DeferredFileOutputStream(int, String, String, File) - Constructor for class org.apache.commons.io.output.DeferredFileOutputStream
-
- DeferredFileOutputStream.Builder - Class in org.apache.commons.io.output
-
- DelegateFileFilter - Class in org.apache.commons.io.filefilter
-
This class turns a Java FileFilter or FilenameFilter into an IO FileFilter.
- DelegateFileFilter(FileFilter) - Constructor for class org.apache.commons.io.filefilter.DelegateFileFilter
-
Constructs a delegate file filter around an existing FileFilter.
- DelegateFileFilter(FilenameFilter) - Constructor for class org.apache.commons.io.filefilter.DelegateFileFilter
-
Constructs a delegate file filter around an existing FilenameFilter.
- delete(Path) - Static method in class org.apache.commons.io.file.FilesUncheck
-
- delete(Path) - Static method in class org.apache.commons.io.file.PathUtils
-
Deletes a file or directory.
- delete(Path, DeleteOption...) - Static method in class org.apache.commons.io.file.PathUtils
-
Deletes a file or directory.
- delete(Path, LinkOption[], DeleteOption...) - 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.
- delete(File) - Static method in class org.apache.commons.io.FileUtils
-
Deletes the given File but throws an IOException if it cannot, unlike
File.delete()
which returns a
boolean.
- deleteDirectory(Path) - Static method in class org.apache.commons.io.file.PathUtils
-
Deletes a directory including subdirectories.
- deleteDirectory(Path, DeleteOption...) - Static method in class org.apache.commons.io.file.PathUtils
-
Deletes a directory including subdirectories.
- deleteDirectory(Path, LinkOption[], DeleteOption...) - Static method in class org.apache.commons.io.file.PathUtils
-
Deletes a directory including subdirectories.
- 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.
- deleteFile(Path, DeleteOption...) - Static method in class org.apache.commons.io.file.PathUtils
-
Deletes the given file.
- deleteFile(Path, LinkOption[], DeleteOption...) - Static method in class org.apache.commons.io.file.PathUtils
-
Deletes the given file.
- deleteIfExists(Path) - Static method in class org.apache.commons.io.file.FilesUncheck
-
- deleteOnExit(Path) - Static method in class org.apache.commons.io.file.PathUtils
-
- DeleteOption - Interface in org.apache.commons.io.file
-
An object that configures how to delete a 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, DeleteOption[], 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.
- DeletingPathVisitor(Counters.PathCounters, LinkOption[], DeleteOption[], 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.
- 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
-
- DirectoryFileComparator() - Constructor for class org.apache.commons.io.comparator.DirectoryFileComparator
-
- DirectoryFileFilter - Class in org.apache.commons.io.filefilter
-
This filter accepts
File
s 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.
- DirectoryStreamFilter - Class in org.apache.commons.io.file
-
- DirectoryStreamFilter(PathFilter) - Constructor for class org.apache.commons.io.file.DirectoryStreamFilter
-
Constructs a new instance for the given path filter.
- DirectoryWalker<T> - Class in org.apache.commons.io
-
- DirectoryWalker() - Constructor for class org.apache.commons.io.DirectoryWalker
-
Deprecated.
Constructs an instance with no filtering and unlimited depth.
- DirectoryWalker(FileFilter, int) - Constructor for class org.apache.commons.io.DirectoryWalker
-
Deprecated.
Constructs an instance with a filter and limit the depth navigated to.
- DirectoryWalker(IOFileFilter, IOFileFilter, int) - Constructor for class org.apache.commons.io.DirectoryWalker
-
Deprecated.
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
-
Deprecated.
CancelException is thrown in DirectoryWalker to cancel the current
processing.
- distinct() - Method in interface org.apache.commons.io.function.IOStream
-
- 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[], Appendable) - Static method in class org.apache.commons.io.HexDump
-
Dumps an array of bytes to an Appendable.
- dump(byte[], long, Appendable, int, int) - Static method in class org.apache.commons.io.HexDump
-
Dumps an array of bytes to an Appendable.
- dump(byte[], long, OutputStream, int) - Static method in class org.apache.commons.io.HexDump
-
Dumps an array of bytes to an OutputStream.
- 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
-
- FileAlterationListener - Interface in org.apache.commons.io.monitor
-
Receives events of file system modifications.
- FileAlterationListenerAdaptor - Class in org.apache.commons.io.monitor
-
- 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, Collection<FileAlterationObserver>) - Constructor for class org.apache.commons.io.monitor.FileAlterationMonitor
-
Constructs a monitor with the specified interval and collection of observers.
- 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(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.
- 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
-
Constructs an observer for the specified directory, file filter and file comparator.
- FileCleaner - Class in org.apache.commons.io
-
- 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
-
Constructs a new monitor for a specified
File
.
- FileEntry(FileEntry, File) - Constructor for class org.apache.commons.io.monitor.FileEntry
-
Constructs a new monitor for a specified
File
.
- FileEqualsFileFilter - Class in org.apache.commons.io.filefilter
-
Accepts only an exact
File
object match.
- FileEqualsFileFilter(File) - Constructor for class org.apache.commons.io.filefilter.FileEqualsFileFilter
-
Constructs a new instance for the given
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(File) - Constructor for exception org.apache.commons.io.FileExistsException
-
Constructs an instance with the specified file.
- FileExistsException(String) - Constructor for exception org.apache.commons.io.FileExistsException
-
Constructs an instance with the specified message.
- FileFileFilter - Class in org.apache.commons.io.filefilter
-
This filter accepts
File
s 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.
- FileOrigin(File) - Constructor for class org.apache.commons.io.build.AbstractOrigin.FileOrigin
-
Constructs a new instance for the given origin.
- 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.
- FilesUncheck - Class in org.apache.commons.io.file
-
- FileSystem - Enum in org.apache.commons.io
-
- FileSystemProviders - Class in org.apache.commons.io.file.spi
-
- FileSystemUtils - Class in org.apache.commons.io
-
- FileSystemUtils() - Constructor for class org.apache.commons.io.FileSystemUtils
-
Deprecated.
Instances should NOT be constructed in standard programming.
- FileTimes - Class in org.apache.commons.io.file.attribute
-
Helps use
FileTime
and interoperate Date and NTFS times.
- FileUtils - Class in org.apache.commons.io
-
General file manipulation utilities.
- FileUtils() - Constructor for class org.apache.commons.io.FileUtils
-
- FileWriterWithEncoding - Class in org.apache.commons.io.output
-
Writer of files that allows the encoding to be set.
- FileWriterWithEncoding(File, Charset) - Constructor for class org.apache.commons.io.output.FileWriterWithEncoding
-
- FileWriterWithEncoding(File, Charset, boolean) - Constructor for class org.apache.commons.io.output.FileWriterWithEncoding
-
- FileWriterWithEncoding(File, CharsetEncoder) - Constructor for class org.apache.commons.io.output.FileWriterWithEncoding
-
- FileWriterWithEncoding(File, CharsetEncoder, boolean) - Constructor for class org.apache.commons.io.output.FileWriterWithEncoding
-
- FileWriterWithEncoding(File, String) - Constructor for class org.apache.commons.io.output.FileWriterWithEncoding
-
- FileWriterWithEncoding(File, String, boolean) - Constructor for class org.apache.commons.io.output.FileWriterWithEncoding
-
- FileWriterWithEncoding(String, Charset) - Constructor for class org.apache.commons.io.output.FileWriterWithEncoding
-
- FileWriterWithEncoding(String, Charset, boolean) - Constructor for class org.apache.commons.io.output.FileWriterWithEncoding
-
- FileWriterWithEncoding(String, CharsetEncoder) - Constructor for class org.apache.commons.io.output.FileWriterWithEncoding
-
- FileWriterWithEncoding(String, CharsetEncoder, boolean) - Constructor for class org.apache.commons.io.output.FileWriterWithEncoding
-
- FileWriterWithEncoding(String, String) - Constructor for class org.apache.commons.io.output.FileWriterWithEncoding
-
- FileWriterWithEncoding(String, String, boolean) - Constructor for class org.apache.commons.io.output.FileWriterWithEncoding
-
- FileWriterWithEncoding.Builder - Class in org.apache.commons.io.output
-
- fillBuffer() - Method in class org.apache.commons.io.input.buffer.CircularBufferInputStream
-
Fills the buffer with the contents of the input stream.
- filter(PathFilter, Path...) - Static method in class org.apache.commons.io.file.PathUtils
-
- filter(IOFileFilter, File...) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
-
- filter(IOFileFilter, Iterable<File>) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
-
- filter(IOPredicate<? super T>) - Method in interface org.apache.commons.io.function.IOStream
-
- 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.
- 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
-
Deprecated.
Overridable callback method invoked with the contents of each directory.
- filterList(IOFileFilter, File...) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
-
- filterList(IOFileFilter, Iterable<File>) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
-
- filterSet(IOFileFilter, File...) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
-
- filterSet(IOFileFilter, Iterable<File>) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
-
- finalize() - Method in class org.apache.commons.io.input.AutoCloseInputStream
-
Ensures that the stream is closed before it gets garbage-collected.
- findAny() - Method in interface org.apache.commons.io.function.IOStream
-
- findFirst() - Method in interface org.apache.commons.io.function.IOStream
-
- finished() - Method in class org.apache.commons.io.input.ObservableInputStream.Observer
-
Called to indicate that EOF has been seen on the underlying stream.
- flatMap(IOFunction<? super T, ? extends IOStream<? extends R>>) - Method in interface org.apache.commons.io.function.IOStream
-
- flatMapToDouble(IOFunction<? super T, ? extends DoubleStream>) - Method in interface org.apache.commons.io.function.IOStream
-
TODO Package-private for now, needs IODoubleStream?
Adding this method now and an IO version later is an issue because call sites would have to type-cast to pick one.
- flatMapToInt(IOFunction<? super T, ? extends IntStream>) - Method in interface org.apache.commons.io.function.IOStream
-
TODO Package-private for now, needs IOIntStream?
Adding this method now and an IO version later is an issue because call sites would have to type-cast to pick one.
- flatMapToLong(IOFunction<? super T, ? extends LongStream>) - Method in interface org.apache.commons.io.function.IOStream
-
TODO Package-private for now, needs IOLongStream?
Adding this method now and an IO version later is an issue because call sites would have to type-cast to pick one.
- 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.FilterCollectionWriter
-
Flushes the stream.
- flush() - Method in class org.apache.commons.io.output.LockableFileWriter
-
Flushes 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.UncheckedFilterOutputStream
-
- flush() - Method in class org.apache.commons.io.output.UncheckedFilterWriter
-
- 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.
- forAll(IOConsumer<T>, Iterable<T>) - Static method in interface org.apache.commons.io.function.IOConsumer
-
Performs an action for each element of the collection gathering any exceptions.
- forAll(IOConsumer<T>, Stream<T>) - Static method in interface org.apache.commons.io.function.IOConsumer
-
Performs an action for each element of the collection gathering any exceptions.
- forAll(IOConsumer<T>, T...) - Static method in interface org.apache.commons.io.function.IOConsumer
-
Performs an action for each element of the array gathering any exceptions.
- forAll(IOConsumer<T>) - Method in interface org.apache.commons.io.function.IOStream
-
Performs an action for each element gathering any exceptions.
- forAll(IOConsumer<T>, BiFunction<Integer, IOException, IOException>) - Method in interface org.apache.commons.io.function.IOStream
-
Performs an action for each element gathering any exceptions.
- 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 or directory.
- 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
-
Creates all directories for a File object, including any necessary but nonexistent parent directories.
- forceMkdirParent(File) - Static method in class org.apache.commons.io.FileUtils
-
- forEach(Iterable<T>, IOConsumer<T>) - Static method in interface org.apache.commons.io.function.IOConsumer
-
Performs an action for each element of the collection, stopping at the first exception.
- forEach(Stream<T>, IOConsumer<T>) - Static method in interface org.apache.commons.io.function.IOConsumer
-
Performs an action for each element of the stream, stopping at the first exception.
- forEach(T[], IOConsumer<T>) - Static method in interface org.apache.commons.io.function.IOConsumer
-
Performs an action for each element of this array, stopping at the first exception.
- forEach(IOConsumer<? super T>) - Method in interface org.apache.commons.io.function.IOStream
-
- forEachOrdered(IOConsumer<? super T>) - Method in interface org.apache.commons.io.function.IOStream
-
- forEachRemaining(IOConsumer<? super E>) - Method in interface org.apache.commons.io.function.IOIterator
-
- forEachRemaining(IOConsumer<? super T>) - Method in interface org.apache.commons.io.function.IOSpliterator
-
- 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
-
- freeSpaceKb() - Static method in class org.apache.commons.io.FileSystemUtils
-
- freeSpaceKb(long) - Static method in class org.apache.commons.io.FileSystemUtils
-
- freeSpaceKb(String) - Static method in class org.apache.commons.io.FileSystemUtils
-
- freeSpaceKb(String, long) - Static method in class org.apache.commons.io.FileSystemUtils
-
- get() - Method in class org.apache.commons.io.build.AbstractOrigin
-
Gets the origin.
- get(int) - Method in class org.apache.commons.io.ByteOrderMark
-
Gets 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 class org.apache.commons.io.filefilter.WildcardFileFilter.Builder
-
- get() - Method in interface org.apache.commons.io.function.IOSupplier
-
Gets a result.
- get(IOSupplier<T>) - Static method in class org.apache.commons.io.function.Uncheck
-
Gets the result from an IO supplier.
- get() - Method in class org.apache.commons.io.input.AutoCloseInputStream.Builder
-
Constructs a new instance.
- get() - Method in class org.apache.commons.io.input.BOMInputStream.Builder
-
Constructs a new instance.
- get() - Method in class org.apache.commons.io.input.BufferedFileChannelInputStream.Builder
-
Constructs a new instance.
- get() - Method in class org.apache.commons.io.input.CharSequenceInputStream.Builder
-
Constructs a new instance.
- get() - Method in class org.apache.commons.io.input.MemoryMappedFileInputStream.Builder
-
Constructs a new instance.
- get() - Method in class org.apache.commons.io.input.MessageDigestCalculatingInputStream.Builder
-
Constructs a new instance.
- get() - Method in class org.apache.commons.io.input.QueueInputStream.Builder
-
Constructs a new instance.
- get() - Method in class org.apache.commons.io.input.RandomAccessFileInputStream.Builder
-
Constructs a new instance.
- get() - Method in class org.apache.commons.io.input.ReadAheadInputStream.Builder
-
Constructs a new instance.
- get() - Method in class org.apache.commons.io.input.ReaderInputStream.Builder
-
Constructs a new instance.
- get() - Method in class org.apache.commons.io.input.ReversedLinesFileReader.Builder
-
Constructs a new instance.
- get() - Method in class org.apache.commons.io.input.Tailer.Builder
-
Constructs a new instance.
- get() - Method in class org.apache.commons.io.input.UncheckedBufferedReader.Builder
-
Constructs a new instance.
- get() - Method in class org.apache.commons.io.input.UncheckedFilterInputStream.Builder
-
Constructs a new instance.
- get() - Method in class org.apache.commons.io.input.UncheckedFilterReader.Builder
-
Constructs a new instance.
- get() - Method in class org.apache.commons.io.input.UnsynchronizedBufferedInputStream.Builder
-
Constructs a new instance.
- get() - Method in class org.apache.commons.io.input.UnsynchronizedByteArrayInputStream.Builder
-
Constructs a new instance.
- get() - Method in class org.apache.commons.io.input.UnsynchronizedFilterInputStream.Builder
-
Constructs a new instance.
- get() - Method in class org.apache.commons.io.input.XmlStreamReader.Builder
-
Constructs a new instance.
- get() - Method in class org.apache.commons.io.output.ChunkedOutputStream.Builder
-
Constructs a new instance.
- get() - Method in class org.apache.commons.io.output.DeferredFileOutputStream.Builder
-
Constructs a new instance.
- get() - Method in class org.apache.commons.io.output.FileWriterWithEncoding.Builder
-
Constructs a new instance.
- get() - Method in class org.apache.commons.io.output.LockableFileWriter.Builder
-
Constructs a new instance.
- get() - Method in class org.apache.commons.io.output.UncheckedFilterOutputStream.Builder
-
Constructs a new instance.
- get() - Method in class org.apache.commons.io.output.UncheckedFilterWriter.Builder
-
Constructs a new instance.
- get() - Method in class org.apache.commons.io.output.UnsynchronizedByteArrayOutputStream.Builder
-
Constructs a new instance.
- get() - Method in class org.apache.commons.io.output.WriterOutputStream.Builder
-
Constructs a new instance.
- get() - Method in class org.apache.commons.io.output.XmlStreamWriter.Builder
-
Constructs a new instance.
- getAclEntryList(Path) - Static method in class org.apache.commons.io.file.PathUtils
-
Reads the access control list from a file attribute view.
- getAclFileAttributeView(Path, LinkOption...) - Static method in class org.apache.commons.io.file.PathUtils
-
Shorthand for Files.getFileAttributeView(path, AclFileAttributeView.class)
.
- 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.
- getAttribute(Path, String, LinkOption...) - Static method in class org.apache.commons.io.file.FilesUncheck
-
- 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.
- getBlockSize() - Method in enum org.apache.commons.io.FileSystem
-
Gets the file allocation block size in bytes.
- getBOM() - Method in class org.apache.commons.io.input.BOMInputStream
-
Gets the BOM (Byte Order Mark).
- getBOMCharsetName() - Method in class org.apache.commons.io.input.BOMInputStream
-
- getBomEncoding() - Method in exception org.apache.commons.io.input.XmlStreamReaderException
-
Returns the BOM encoding found in the InputStream.
- getBufferSize() - Method in class org.apache.commons.io.build.AbstractStreamBuilder
-
- getBufferSizeDefault() - Method in class org.apache.commons.io.build.AbstractStreamBuilder
-
- getBuilder() - Method in class org.apache.commons.io.output.StringBuilderWriter
-
Returns the underlying builder.
- getByteArray() - Method in class org.apache.commons.io.build.AbstractOrigin.ByteArrayOrigin
-
- getByteArray() - Method in class org.apache.commons.io.build.AbstractOrigin.CharSequenceOrigin
-
- getByteArray(long, int) - Method in class org.apache.commons.io.build.AbstractOrigin.FileOrigin
-
- getByteArray() - Method in class org.apache.commons.io.build.AbstractOrigin
-
Gets this origin as a byte array, if possible.
- getByteArray(long, int) - Method in class org.apache.commons.io.build.AbstractOrigin
-
Gets this origin as a byte array, if possible.
- getByteArray() - Method in class org.apache.commons.io.build.AbstractOrigin.InputStreamOrigin
-
- getByteArray(long, int) - Method in class org.apache.commons.io.build.AbstractOrigin.PathOrigin
-
- getByteArray() - Method in class org.apache.commons.io.build.AbstractOrigin.ReaderOrigin
-
- getByteCount() - Method in class org.apache.commons.io.input.CountingInputStream
-
Gets 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
-
Gets a copy of the BOM's bytes.
- getBytes(Charset) - Method in enum org.apache.commons.io.StandardLineSeparator
-
Gets the bytes for this instance encoded using the given Charset.
- getCause(int) - Method in exception org.apache.commons.io.IOExceptionList
-
Gets the cause exception at the given index.
- getCause(int, Class<T>) - Method in exception org.apache.commons.io.IOExceptionList
-
Gets the cause exception at the given index.
- 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.
- getCharSequence(Charset) - Method in class org.apache.commons.io.build.AbstractOrigin.CharSequenceOrigin
-
- getCharSequence(Charset) - Method in class org.apache.commons.io.build.AbstractOrigin
-
Gets this origin as a byte array, if possible.
- getCharSequence(Charset) - Method in class org.apache.commons.io.build.AbstractOrigin.ReaderOrigin
-
- getCharSequence() - Method in class org.apache.commons.io.build.AbstractStreamBuilder
-
Gets a CharSequence from the origin with a Charset.
- getCharset() - Method in class org.apache.commons.io.build.AbstractStreamBuilder
-
- getCharsetDefault() - Method in class org.apache.commons.io.build.AbstractStreamBuilder
-
- getCharsetName() - Method in class org.apache.commons.io.ByteOrderMark
-
Gets the name of the
Charset
the BOM represents.
- getChildren() - Method in class org.apache.commons.io.monitor.FileEntry
-
Gets the directory's files.
- getCloseInstant() - Method in class org.apache.commons.io.input.TimestampedObserver
-
Gets the instant for when this instance was closed.
- getComparator() - Method in interface org.apache.commons.io.function.IOSpliterator
-
- 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.
- getCopyOptions() - Method in class org.apache.commons.io.file.CopyDirectoryVisitor
-
Gets the copy options.
- getCount() - Method in class org.apache.commons.io.input.BoundedInputStream
-
Gets the count of bytes read.
- getCount() - Method in class org.apache.commons.io.input.CountingInputStream
-
Gets 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
-
Gets 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
-
Gets 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
-
- getDelayDuration() - Method in class org.apache.commons.io.input.Tailer
-
Gets the delay Duration.
- getDeleteFailures() - Method in class org.apache.commons.io.FileCleaningTracker
-
Gets the file paths that failed to delete.
- getDepth() - Method in exception org.apache.commons.io.DirectoryWalker.CancelException
-
Deprecated.
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.
- getDosFileAttributeView(Path, LinkOption...) - Static method in class org.apache.commons.io.file.PathUtils
-
Shorthand for Files.getFileAttributeView(path, DosFileAttributeView.class)
.
- getEncoding() - Method in class org.apache.commons.io.input.XmlStreamReader
-
Gets the charset encoding of the XmlStreamReader.
- getEncoding() - Method in class org.apache.commons.io.output.XmlStreamWriter
-
Returns the detected encoding.
- getExactSizeIfKnown() - Method in interface org.apache.commons.io.function.IOSpliterator
-
- getExtension(String) - Static method in class org.apache.commons.io.FilenameUtils
-
Gets the extension of a fileName.
- getFile() - Method in class org.apache.commons.io.build.AbstractOrigin.FileOrigin
-
- getFile() - Method in class org.apache.commons.io.build.AbstractOrigin
-
Gets this origin as a Path, if possible.
- getFile() - Method in class org.apache.commons.io.build.AbstractOrigin.PathOrigin
-
- getFile() - Method in class org.apache.commons.io.build.AbstractOrigin.URIOrigin
-
- getFile() - Method in exception org.apache.commons.io.DirectoryWalker.CancelException
-
Deprecated.
Returns the file when the operation was cancelled.
- getFile(File, String...) - Static method in class org.apache.commons.io.FileUtils
-
Constructs a file from the set of name elements.
- getFile(String...) - Static method in class org.apache.commons.io.FileUtils
-
Constructs a file from the set of name elements.
- getFile() - Method in class org.apache.commons.io.input.Tailer
-
Gets the file.
- getFile() - Method in class org.apache.commons.io.monitor.FileEntry
-
Gets the file being monitored.
- getFile() - Method in class org.apache.commons.io.output.DeferredFileOutputStream
-
Gets 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
-
Gets this conditional file filter's list of file filters.
- getFileFilters() - Method in interface org.apache.commons.io.filefilter.ConditionalFileFilter
-
Gets this conditional file filter's list of file filters.
- getFileFilters() - Method in class org.apache.commons.io.filefilter.OrFileFilter
-
Gets 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.
- getFileStore(Path) - Static method in class org.apache.commons.io.file.FilesUncheck
-
- getFileSystemProvider(Path) - Static method in class org.apache.commons.io.file.spi.FileSystemProviders
-
- getFileSystemProvider(String) - Method in class org.apache.commons.io.file.spi.FileSystemProviders
-
- getFileSystemProvider(URI) - Method in class org.apache.commons.io.file.spi.FileSystemProviders
-
- getFileSystemProvider(URL) - Method in class org.apache.commons.io.file.spi.FileSystemProviders
-
- 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.
- getIllegalFileNameCodePoints() - Method in enum org.apache.commons.io.FileSystem
-
Gets a cloned copy of the illegal code points for this file system.
- getIndex() - Method in exception org.apache.commons.io.IOIndexedException
-
The index of this exception.
- getInputStream(OpenOption...) - Method in class org.apache.commons.io.build.AbstractOrigin.ByteArrayOrigin
-
- getInputStream(OpenOption...) - Method in class org.apache.commons.io.build.AbstractOrigin.CharSequenceOrigin
-
- getInputStream(OpenOption...) - Method in class org.apache.commons.io.build.AbstractOrigin
-
Gets this origin as an InputStream, if possible.
- getInputStream(OpenOption...) - Method in class org.apache.commons.io.build.AbstractOrigin.InputStreamOrigin
-
- getInputStream(OpenOption...) - Method in class org.apache.commons.io.build.AbstractOrigin.ReaderOrigin
-
- getInputStream() - Method in class org.apache.commons.io.build.AbstractStreamBuilder
-
Gets an input stream from the origin with open options.
- 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
-
Gets the last modified time from the last time it
was checked.
- getLastModifiedFileTime(File) - Static method in class org.apache.commons.io.file.PathUtils
-
Gets the file's last modified time or null if the file does not exist.
- getLastModifiedFileTime(Path, FileTime, LinkOption...) - Static method in class org.apache.commons.io.file.PathUtils
-
Gets the file's last modified time or null if the file does not exist.
- getLastModifiedFileTime(Path, LinkOption...) - Static method in class org.apache.commons.io.file.PathUtils
-
Gets the file's last modified time or null if the file does not exist.
- getLastModifiedFileTime(URI) - Static method in class org.apache.commons.io.file.PathUtils
-
Gets the file's last modified time or null if the file does not exist.
- getLastModifiedFileTime(URL) - Static method in class org.apache.commons.io.file.PathUtils
-
Gets the file's last modified time or null if the file does not exist.
- getLastModifiedFileTime() - Method in class org.apache.commons.io.monitor.FileEntry
-
Gets the last modified time from the last time it was checked.
- getLastModifiedTime(Path, LinkOption...) - Static method in class org.apache.commons.io.file.FilesUncheck
-
- getLength() - Method in class org.apache.commons.io.monitor.FileEntry
-
Gets the length.
- getLevel() - Method in class org.apache.commons.io.monitor.FileEntry
-
Gets 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.
- getMaxLength() - Method in class org.apache.commons.io.input.BoundedInputStream
-
Gets the max count of bytes to read.
- 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
-
Gets 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
-
Gets the file name.
- getNameSeparator() - Method in enum org.apache.commons.io.FileSystem
-
Gets the name separator, '\\' on Windows, '/' on Linux.
- 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
-
- getOpenInstant() - Method in class org.apache.commons.io.input.TimestampedObserver
-
Gets the instant for when this instance was created.
- getOpenOptions() - Method in class org.apache.commons.io.build.AbstractStreamBuilder
-
- getOpenToCloseDuration() - Method in class org.apache.commons.io.input.TimestampedObserver
-
Gets the Duration between creation and close.
- getOpenToNowDuration() - Method in class org.apache.commons.io.input.TimestampedObserver
-
Gets the Duration between creation and now.
- getOrigin() - Method in class org.apache.commons.io.build.AbstractOriginSupplier
-
Gets the origin.
- getOutputStream(OpenOption...) - Method in class org.apache.commons.io.build.AbstractOrigin
-
Gets this origin as an OutputStream, if possible.
- getOutputStream(OpenOption...) - Method in class org.apache.commons.io.build.AbstractOrigin.OutputStreamOrigin
-
- getOutputStream(OpenOption...) - Method in class org.apache.commons.io.build.AbstractOrigin.WriterOrigin
-
- getOutputStream() - Method in class org.apache.commons.io.build.AbstractStreamBuilder
-
Gets an OutputStream from the origin with open options.
- getOwner(Path, LinkOption...) - Static method in class org.apache.commons.io.file.FilesUncheck
-
- getParent() - Method in class org.apache.commons.io.monitor.FileEntry
-
Gets the parent entry.
- getPath() - Method in class org.apache.commons.io.build.AbstractOrigin.FileOrigin
-
- getPath() - Method in class org.apache.commons.io.build.AbstractOrigin
-
Gets this origin as a Path, if possible.
- getPath() - Method in class org.apache.commons.io.build.AbstractOrigin.PathOrigin
-
- getPath() - Method in class org.apache.commons.io.build.AbstractOrigin.URIOrigin
-
- getPath() - Method in class org.apache.commons.io.build.AbstractStreamBuilder
-
Gets a Path from the origin.
- 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.
- getPathFilter() - Method in class org.apache.commons.io.file.DirectoryStreamFilter
-
Gets the path filter.
- 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.
- getPointer() - Method in interface org.apache.commons.io.input.Tailer.RandomAccessResourceBridge
-
Gets the current offset in this tailable.
- 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.
- getPosixFileAttributeView(Path, LinkOption...) - Static method in class org.apache.commons.io.file.PathUtils
-
Shorthand for Files.getFileAttributeView(path, PosixFileAttributeView.class)
.
- getPosixFilePermissions(Path, LinkOption...) - Static method in class org.apache.commons.io.file.FilesUncheck
-
- 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 ~/
.
- getRandomAccess(String) - Method in interface org.apache.commons.io.input.Tailer.Tailable
-
Creates a random access file stream to read.
- getRandomAccessFile() - Method in class org.apache.commons.io.input.RandomAccessFileInputStream
-
Gets the underlying file.
- getReader(Charset) - Method in class org.apache.commons.io.build.AbstractOrigin.ByteArrayOrigin
-
- getReader(Charset) - Method in class org.apache.commons.io.build.AbstractOrigin.CharSequenceOrigin
-
- getReader(Charset) - Method in class org.apache.commons.io.build.AbstractOrigin
-
Gets a new Reader on the origin, buffered by default.
- getReader(Charset) - Method in class org.apache.commons.io.build.AbstractOrigin.InputStreamOrigin
-
- getReader(Charset) - Method in class org.apache.commons.io.build.AbstractOrigin.ReaderOrigin
-
- 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
-
- getSize() - Method in class org.apache.commons.io.input.NullReader
-
Returns the size this
Reader
emulates.
- getSourceDirectory() - Method in class org.apache.commons.io.file.CopyDirectoryVisitor
-
Gets the source directory.
- 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
-
Gets 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.
- getString() - Method in enum org.apache.commons.io.StandardLineSeparator
-
Gets the String value of this instance.
- getTag() - Method in exception org.apache.commons.io.TaggedIOException
-
Returns the serializable tag object.
- getTailable() - Method in class org.apache.commons.io.input.Tailer
-
Gets the Tailable.
- getTargetDirectory() - Method in class org.apache.commons.io.file.CopyDirectoryVisitor
-
Gets the target directory.
- getTempDirectory() - Static method in class org.apache.commons.io.file.PathUtils
-
Gets a
Path
representing the system temporary directory.
- 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
-
Gets 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.
- getWriter(Charset, OpenOption...) - Method in class org.apache.commons.io.build.AbstractOrigin
-
Gets a new Writer on the origin, buffered by default.
- getWriter(Charset, OpenOption...) - Method in class org.apache.commons.io.build.AbstractOrigin.OutputStreamOrigin
-
- getWriter(Charset, OpenOption...) - Method in class org.apache.commons.io.build.AbstractOrigin.WriterOrigin
-
- getWriter() - Method in class org.apache.commons.io.build.AbstractStreamBuilder
-
Gets an writer from the origin with open options.
- 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.
- handle(Throwable) - Method in class org.apache.commons.io.filefilter.AbstractFileFilter
-
Handles exceptions caught while accepting.
- handle(Exception) - Method in interface org.apache.commons.io.input.TailerListener
-
Handles an Exception.
- handle(String) - Method in interface org.apache.commons.io.input.TailerListener
-
Handles a line from a Tailer.
- handle(Exception) - Method in class org.apache.commons.io.input.TailerListenerAdapter
-
Handles an Exception .
- handle(String) - Method in class org.apache.commons.io.input.TailerListenerAdapter
-
Handles a line from a Tailer.
- handleCancelled(File, Collection<T>, DirectoryWalker.CancelException) - Method in class org.apache.commons.io.DirectoryWalker
-
Deprecated.
Overridable callback method invoked when the operation is cancelled.
- handleDirectory(File, int, Collection<T>) - Method in class org.apache.commons.io.DirectoryWalker
-
Deprecated.
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
-
Deprecated.
Overridable callback method invoked at the end of processing each directory.
- handleDirectoryStart(File, int, Collection<T>) - Method in class org.apache.commons.io.DirectoryWalker
-
Deprecated.
Overridable callback method invoked at the start of processing each directory.
- handleEnd(Collection<T>) - Method in class org.apache.commons.io.DirectoryWalker
-
Deprecated.
Overridable callback method invoked at the end of processing.
- handleFile(File, int, Collection<T>) - Method in class org.apache.commons.io.DirectoryWalker
-
Deprecated.
Overridable callback method invoked for each (non-directory) file.
- handleIOException(IOException) - Method in class org.apache.commons.io.input.ProxyInputStream
-
Handle any IOExceptions thrown; by default, throws the given exception.
- 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
-
Handles 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
-
Deprecated.
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
-
Deprecated.
Overridable callback method invoked for each restricted directory.
- handleStart(File, Collection<T>) - Method in class org.apache.commons.io.DirectoryWalker
-
Deprecated.
Overridable callback method invoked at the start of processing.
- hasBOM() - Method in class org.apache.commons.io.input.BOMInputStream
-
Tests whether the stream contains one of the specified BOMs.
- hasBOM(ByteOrderMark) - Method in class org.apache.commons.io.input.BOMInputStream
-
Tests 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.
- hasCharacteristics(int) - Method in interface org.apache.commons.io.function.IOSpliterator
-
- hashCode() - Method in class org.apache.commons.io.ByteOrderMark
-
Computes the hash code for this BOM.
- hashCode() - Method in class org.apache.commons.io.file.AccumulatorPathVisitor
-
- hashCode() - Method in class org.apache.commons.io.file.CleaningPathVisitor
-
- hashCode() - Method in class org.apache.commons.io.file.CopyDirectoryVisitor
-
- hashCode() - Method in class org.apache.commons.io.file.CountingPathVisitor
-
- hashCode() - Method in class org.apache.commons.io.file.DeletingPathVisitor
-
- hasNext() - Method in interface org.apache.commons.io.function.IOIterator
-
- hasNext() - Method in class org.apache.commons.io.LineIterator
-
Indicates whether the
Reader
has more lines.
- hasOrigin() - Method in class org.apache.commons.io.build.AbstractOriginSupplier
-
Tests whether the origin is null.
- 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
File
s that are hidden.
- HiddenFileFilter() - Constructor for class org.apache.commons.io.filefilter.HiddenFileFilter
-
Restrictive constructor.
- identity() - Static method in interface org.apache.commons.io.function.IOFunction
-
Returns a
IOFunction
that always returns its input argument.
- identity() - Static method in interface org.apache.commons.io.function.IOUnaryOperator
-
Creates a unary operator that always returns its input argument.
- 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 the provided bytes.
- InfiniteCircularInputStream(byte[]) - Constructor for class org.apache.commons.io.input.InfiniteCircularInputStream
-
Creates an instance from the specified array of bytes.
- 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.
- inputStream - Variable in class org.apache.commons.io.input.UnsynchronizedFilterInputStream
-
The source input stream that is filtered.
- InputStreamOrigin(InputStream) - Constructor for class org.apache.commons.io.build.AbstractOrigin.InputStreamOrigin
-
Constructs a new instance for the given origin.
- installed() - Static method in class org.apache.commons.io.file.spi.FileSystemProviders
-
Returns the instance for the installed providers.
- INSTANCE - Static variable in class org.apache.commons.io.file.NoopPathVisitor
-
The singleton instance.
- 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.FileFileFilter
-
Singleton instance of file filter.
- INSTANCE - Static variable in class org.apache.commons.io.filefilter.SymbolicLinkFileFilter
-
Singleton instance of file filter.
- INSTANCE - Static variable in class org.apache.commons.io.filefilter.TrueFileFilter
-
Singleton instance of true filter.
- INSTANCE - Static variable in class org.apache.commons.io.input.BrokenInputStream
-
The singleton instance.
- INSTANCE - Static variable in class org.apache.commons.io.input.BrokenReader
-
A singleton instance using a default IOException.
- INSTANCE - Static variable in class org.apache.commons.io.input.ClosedInputStream
-
The singleton instance.
- INSTANCE - Static variable in class org.apache.commons.io.input.ClosedReader
-
The singleton instance.
- INSTANCE - Static variable in class org.apache.commons.io.input.NullInputStream
-
The singleton instance.
- INSTANCE - Static variable in class org.apache.commons.io.input.NullReader
-
The singleton instance.
- INSTANCE - Static variable in class org.apache.commons.io.output.BrokenOutputStream
-
A singleton instance.
- INSTANCE - Static variable in class org.apache.commons.io.output.BrokenWriter
-
The singleton instance.
- INSTANCE - Static variable in class org.apache.commons.io.output.ClosedOutputStream
-
The singleton instance.
- INSTANCE - Static variable in class org.apache.commons.io.output.ClosedWriter
-
The singleton instance.
- INSTANCE - Static variable in class org.apache.commons.io.output.NullAppendable
-
A singleton.
- INSTANCE - Static variable in class org.apache.commons.io.output.NullOutputStream
-
The singleton instance.
- INSTANCE - Static variable in class org.apache.commons.io.output.NullPrintStream
-
The singleton instance.
- INSTANCE - Static variable in class org.apache.commons.io.output.NullWriter
-
The singleton instance.
- invalidClassNameFound(String) - Method in class org.apache.commons.io.serialization.ValidatingObjectInputStream
-
- IOBaseStream<T,S extends IOBaseStream<T,S,B>,B extends BaseStream<T,B>> - Interface in org.apache.commons.io.function
-
- IOBiConsumer<T,U> - Interface in org.apache.commons.io.function
-
- IOBiFunction<T,U,R> - Interface in org.apache.commons.io.function
-
- IOBinaryOperator<T> - Interface in org.apache.commons.io.function
-
- IOCase - Enum in org.apache.commons.io
-
Enumeration of IO case sensitivity.
- IOComparator<T> - Interface in org.apache.commons.io.function
-
- IOConsumer<T> - Interface in org.apache.commons.io.function
-
- IOExceptionList - Exception in org.apache.commons.io
-
An 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.
- IOExceptionList(String, 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
-
- 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, FilenameFilter, and PathFilter interfaces together.
- IOFunction<T,R> - Interface in org.apache.commons.io.function
-
- 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.
- IOIterator<E> - Interface in org.apache.commons.io.function
-
- IOPredicate<T> - Interface in org.apache.commons.io.function
-
- IOQuadFunction<T,U,V,W,R> - Interface in org.apache.commons.io.function
-
Represents a function that accepts four arguments and produces a result.
- IORunnable - Interface in org.apache.commons.io.function
-
- IOSpliterator<T> - Interface in org.apache.commons.io.function
-
- IOStream<T> - Interface in org.apache.commons.io.function
-
- IOSupplier<T> - Interface in org.apache.commons.io.function
-
- IOTriConsumer<T,U,V> - Interface in org.apache.commons.io.function
-
- IOTriFunction<T,U,V,R> - Interface in org.apache.commons.io.function
-
Represents a function that accepts three arguments and produces a result.
- IOUnaryOperator<T> - Interface in org.apache.commons.io.function
-
- IOUtils - Class in org.apache.commons.io
-
General IO stream manipulation utilities.
- IOUtils() - Constructor for class org.apache.commons.io.IOUtils
-
- isCasePreserving() - Method in enum org.apache.commons.io.FileSystem
-
Tests whether this file system preserves case.
- isCaseSensitive() - Method in enum org.apache.commons.io.FileSystem
-
Tests whether this file system is case-sensitive.
- isCaseSensitive(IOCase) - Static method in enum org.apache.commons.io.IOCase
-
Tests for cases sensitivity in a null-safe manner.
- 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.
- isClosed() - Method in class org.apache.commons.io.input.TimestampedObserver
-
- isCloseOnClose() - Method in class org.apache.commons.io.input.RandomAccessFileInputStream
-
Returns whether to close the underlying file when this stream is closed.
- isDirectory(Path, LinkOption...) - Static method in class org.apache.commons.io.file.PathUtils
-
Tests whether the given
Path
is a directory or not.
- isDirectory(File, LinkOption...) - Static method in class org.apache.commons.io.FileUtils
-
Tests whether the specified
File
is a directory or not.
- isDirectory() - Method in class org.apache.commons.io.monitor.FileEntry
-
Tests whether the file is a directory or not.
- isEmpty(Path) - Static method in class org.apache.commons.io.file.PathUtils
-
Tests whether the given file or directory is empty.
- isEmptyDirectory(Path) - Static method in class org.apache.commons.io.file.PathUtils
-
Tests whether the directory is empty.
- isEmptyDirectory(File) - Static method in class org.apache.commons.io.FileUtils
-
Tests whether the directory is empty.
- isEmptyFile(Path) - Static method in class org.apache.commons.io.file.PathUtils
-
Tests whether the given file is empty.
- isEqual(Object) - Static method in interface org.apache.commons.io.function.IOPredicate
-
- isExists() - Method in class org.apache.commons.io.monitor.FileEntry
-
Tests whether the file existed the last time it
was checked.
- 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.
- isExtension(String, String) - Static method in class org.apache.commons.io.FilenameUtils
-
Checks whether the extension of the fileName is that specified.
- isExtension(String, String...) - Static method in class org.apache.commons.io.FilenameUtils
-
Checks whether the extension of the fileName is one of those specified.
- isFileNewer(File, ChronoLocalDate) - Static method in class org.apache.commons.io.FileUtils
-
- isFileNewer(File, ChronoLocalDate, LocalTime) - Static method in class org.apache.commons.io.FileUtils
-
- isFileNewer(File, ChronoLocalDate, OffsetTime) - Static method in class org.apache.commons.io.FileUtils
-
- isFileNewer(File, ChronoLocalDateTime<?>) - Static method in class org.apache.commons.io.FileUtils
-
- isFileNewer(File, ChronoLocalDateTime<?>, ZoneId) - Static method in class org.apache.commons.io.FileUtils
-
- isFileNewer(File, ChronoZonedDateTime<?>) - Static method in class org.apache.commons.io.FileUtils
-
- 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, FileTime) - Static method in class org.apache.commons.io.FileUtils
-
Tests if the specified
File
is newer than the specified
FileTime
.
- isFileNewer(File, Instant) - Static method in class org.apache.commons.io.FileUtils
-
Tests if the specified
File
is newer than the specified
Instant
.
- isFileNewer(File, long) - Static method in class org.apache.commons.io.FileUtils
-
Tests if the specified
File
is newer than the specified time reference.
- isFileNewer(File, OffsetDateTime) - Static method in class org.apache.commons.io.FileUtils
-
- isFileOlder(File, ChronoLocalDate) - Static method in class org.apache.commons.io.FileUtils
-
- isFileOlder(File, ChronoLocalDate, LocalTime) - Static method in class org.apache.commons.io.FileUtils
-
- isFileOlder(File, ChronoLocalDate, OffsetTime) - Static method in class org.apache.commons.io.FileUtils
-
- isFileOlder(File, ChronoLocalDateTime<?>) - Static method in class org.apache.commons.io.FileUtils
-
- isFileOlder(File, ChronoLocalDateTime<?>, ZoneId) - Static method in class org.apache.commons.io.FileUtils
-
- isFileOlder(File, ChronoZonedDateTime<?>) - Static method in class org.apache.commons.io.FileUtils
-
- 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, FileTime) - Static method in class org.apache.commons.io.FileUtils
-
Tests if the specified
File
is older than the specified
FileTime
.
- isFileOlder(File, Instant) - Static method in class org.apache.commons.io.FileUtils
-
Tests if the specified
File
is older than the specified
Instant
.
- isFileOlder(File, long) - Static method in class org.apache.commons.io.FileUtils
-
Tests if the specified
File
is older than the specified time reference.
- isFileOlder(File, OffsetDateTime) - Static method in class org.apache.commons.io.FileUtils
-
- isHidden(Path) - Static method in class org.apache.commons.io.file.FilesUncheck
-
- isInMemory() - Method in class org.apache.commons.io.output.DeferredFileOutputStream
-
Tests whether or not the data for this output stream has been retained in memory.
- isLegalFileName(CharSequence) - Method in enum org.apache.commons.io.FileSystem
-
Tests if a candidate file name (without a path) such as "filename.ext"
or "filename"
is a
potentially legal file name.
- isNewer(Path, ChronoZonedDateTime<?>, LinkOption...) - Static method in class org.apache.commons.io.file.PathUtils
-
Tests if the given
Path
is newer than the given time reference.
- isNewer(Path, FileTime, LinkOption...) - Static method in class org.apache.commons.io.file.PathUtils
-
Tests if the given
Path
is newer than the given time reference.
- isNewer(Path, Instant, LinkOption...) - Static method in class org.apache.commons.io.file.PathUtils
-
Tests if the given
Path
is newer than the given time reference.
- isNewer(Path, long, LinkOption...) - Static method in class org.apache.commons.io.file.PathUtils
-
Tests if the given
Path
is newer than the given time reference.
- isNewer(Path, Path) - Static method in class org.apache.commons.io.file.PathUtils
-
Tests if the given
Path
is newer than the reference
Path
.
- isNewer(FileTime) - Method in interface org.apache.commons.io.input.Tailer.Tailable
-
Tests if this tailable is newer than the specified
FileTime
.
- ISO_8859_1 - Static variable in class org.apache.commons.io.Charsets
-
- isOlder(Path, FileTime, LinkOption...) - Static method in class org.apache.commons.io.file.PathUtils
-
Tests if the given
Path
is older than the given time reference.
- isOlder(Path, Instant, LinkOption...) - Static method in class org.apache.commons.io.file.PathUtils
-
Tests if the given
Path
is older than the given time reference.
- isOlder(Path, long, LinkOption...) - Static method in class org.apache.commons.io.file.PathUtils
-
Tests if the given
Path
is older than the given time reference.
- isOlder(Path, Path) - Static method in class org.apache.commons.io.file.PathUtils
-
Tests if the given
Path
is older than the reference
Path
.
- isParallel() - Method in interface org.apache.commons.io.function.IOBaseStream
-
- isPosix(Path, LinkOption...) - Static method in class org.apache.commons.io.file.PathUtils
-
Tests whether the given path is on a POSIX file system.
- isPropagateClose() - Method in class org.apache.commons.io.input.BoundedInputStream
-
- isRegularFile(Path, LinkOption...) - Static method in class org.apache.commons.io.file.PathUtils
-
Tests whether the given
Path
is a regular file or not.
- isRegularFile(File, LinkOption...) - Static method in class org.apache.commons.io.FileUtils
-
Tests whether the specified
File
is a regular file or not.
- isReservedFileName(CharSequence) - Method in enum org.apache.commons.io.FileSystem
-
Tests whether the given string is a reserved file name.
- isSameFile(Path, Path) - Static method in class org.apache.commons.io.file.FilesUncheck
-
- isSymlink(File) - Static method in class org.apache.commons.io.FileUtils
-
Tests 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.
- iterate(T, IOUnaryOperator<T>) - Static method in interface org.apache.commons.io.function.IOStream
-
- iterateFiles(File, IOFileFilter, IOFileFilter) - Static method in class org.apache.commons.io.FileUtils
-
Iterates over the files in given directory (and optionally
its subdirectories).
- iterateFiles(File, String[], boolean) - Static method in class org.apache.commons.io.FileUtils
-
Iterates 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
-
Iterates over the files in given directory (and optionally
its subdirectories).
- iterator() - Method in interface org.apache.commons.io.function.IOBaseStream
-
- iterator() - Method in exception org.apache.commons.io.IOExceptionList
-
- 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(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 - 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(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.
- 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.
- 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.
- map(IOFunction<? super T, ? extends R>) - Method in interface org.apache.commons.io.function.IOStream
-
- mapToDouble(ToDoubleFunction<? super T>) - Method in interface org.apache.commons.io.function.IOStream
-
TODO Package-private for now, needs IOToDoubleFunction?
Adding this method now and an IO version later is an issue because call sites would have to type-cast to pick one.
- mapToInt(ToIntFunction<? super T>) - Method in interface org.apache.commons.io.function.IOStream
-
TODO Package-private for now, needs IOToIntFunction?
Adding this method now and an IO version later is an issue because call sites would have to type-cast to pick one.
- mapToLong(ToLongFunction<? super T>) - Method in interface org.apache.commons.io.function.IOStream
-
TODO Package-private for now, needs IOToLongFunction?
Adding this method now and an IO version later is an issue because call sites would have to type-cast to pick one.
- 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.MarkShieldInputStream
-
- 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.UncheckedBufferedReader
-
- mark(int) - Method in class org.apache.commons.io.input.UncheckedFilterReader
-
- mark(int) - Method in class org.apache.commons.io.input.UnixLineEndingInputStream
- mark(int) - Method in class org.apache.commons.io.input.UnsynchronizedBufferedInputStream
-
Sets a mark position in this stream.
- mark(int) - Method in class org.apache.commons.io.input.UnsynchronizedByteArrayInputStream
-
- mark(int) - Method in class org.apache.commons.io.input.UnsynchronizedFilterInputStream
-
Sets a mark position in this stream.
- mark(int) - Method in class org.apache.commons.io.input.WindowsLineEndingInputStream
- markLimit - Variable in class org.apache.commons.io.input.UnsynchronizedBufferedInputStream
-
The current limit, which when passed, invalidates the current mark.
- markPos - Variable in class org.apache.commons.io.input.UnsynchronizedBufferedInputStream
-
The currently marked position.
- MarkShieldInputStream - 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.
- MarkShieldInputStream(InputStream) - Constructor for class org.apache.commons.io.input.MarkShieldInputStream
-
Creates a proxy that shields the given input stream from being
marked or rest.
- 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.MarkShieldInputStream
-
- 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.UnsynchronizedBufferedInputStream
-
Indicates whether BufferedInputStream
supports the mark()
and reset()
methods.
- markSupported() - Method in class org.apache.commons.io.input.UnsynchronizedByteArrayInputStream
-
- markSupported() - Method in class org.apache.commons.io.input.UnsynchronizedFilterInputStream
-
Indicates whether this stream supports mark()
and reset()
.
- matches(String) - Method in interface org.apache.commons.io.serialization.ClassNameMatcher
-
Returns true
if the supplied class name matches this object's condition.
- max(IOComparator<? super T>) - Method in interface org.apache.commons.io.function.IOStream
-
- maxBy(IOComparator<? super T>) - Static method in interface org.apache.commons.io.function.IOBinaryOperator
-
Creates a
IOBinaryOperator
which returns the greater of two elements according to the specified
Comparator
.
- MemoryMappedFileInputStream - Class in org.apache.commons.io.input
-
An
InputStream
that utilizes memory mapped files to improve performance.
- MemoryMappedFileInputStream.Builder - Class in org.apache.commons.io.input
-
- MessageDigestCalculatingInputStream - Class in org.apache.commons.io.input
-
- MessageDigestCalculatingInputStream(InputStream) - Constructor for class org.apache.commons.io.input.MessageDigestCalculatingInputStream
-
- MessageDigestCalculatingInputStream(InputStream, MessageDigest) - Constructor for class org.apache.commons.io.input.MessageDigestCalculatingInputStream
-
- MessageDigestCalculatingInputStream(InputStream, String) - Constructor for class org.apache.commons.io.input.MessageDigestCalculatingInputStream
-
- MessageDigestCalculatingInputStream.Builder - Class in org.apache.commons.io.input
-
- 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.
- min(IOComparator<? super T>) - Method in interface org.apache.commons.io.function.IOStream
-
- minBy(IOComparator<? super T>) - Static method in interface org.apache.commons.io.function.IOBinaryOperator
-
Creates a
IOBinaryOperator
which returns the lesser of two elements according to the specified
Comparator
.
- minusMillis(FileTime, long) - Static method in class org.apache.commons.io.file.attribute.FileTimes
-
Subtracts milliseconds from a source FileTime.
- minusNanos(FileTime, long) - Static method in class org.apache.commons.io.file.attribute.FileTimes
-
Subtracts nanoseconds from a source FileTime.
- minusSeconds(FileTime, long) - Static method in class org.apache.commons.io.file.attribute.FileTimes
-
Subtracts seconds from a source FileTime.
- move(Path, Path, CopyOption...) - Static method in class org.apache.commons.io.file.FilesUncheck
-
- 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 preserving attributes.
- moveFile(File, File, CopyOption...) - 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 a destination directory.
- NAME_COMPARATOR - Static variable in class org.apache.commons.io.comparator.NameFileComparator
-
- NAME_INSENSITIVE_COMPARATOR - Static variable in class org.apache.commons.io.comparator.NameFileComparator
-
- NAME_INSENSITIVE_REVERSE - Static variable in class org.apache.commons.io.comparator.NameFileComparator
-
- NAME_REVERSE - Static variable in class org.apache.commons.io.comparator.NameFileComparator
-
- NAME_SYSTEM_COMPARATOR - Static variable in class org.apache.commons.io.comparator.NameFileComparator
-
- 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
-
- NameFileComparator() - Constructor for class org.apache.commons.io.comparator.NameFileComparator
-
Constructs a case-sensitive file name comparator instance.
- NameFileComparator(IOCase) - Constructor for class org.apache.commons.io.comparator.NameFileComparator
-
Constructs 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(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.
- 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...) - 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 specifying case-sensitivity.
- 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.
- 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.
- negate() - Method in class org.apache.commons.io.filefilter.FalseFileFilter
-
- negate() - Method in interface org.apache.commons.io.filefilter.IOFileFilter
-
Creates a new "not" filter with this filter.
- negate() - Method in class org.apache.commons.io.filefilter.TrueFileFilter
-
- negate() - Method in interface org.apache.commons.io.function.IOPredicate
-
Creates a predicate that represents the logical negation of this predicate.
- newBufferedReader(Path) - Static method in class org.apache.commons.io.file.FilesUncheck
-
- newBufferedReader(Path, Charset) - Static method in class org.apache.commons.io.file.FilesUncheck
-
- newBufferedWriter(Path, Charset, OpenOption...) - Static method in class org.apache.commons.io.file.FilesUncheck
-
- newBufferedWriter(Path, OpenOption...) - Static method in class org.apache.commons.io.file.FilesUncheck
-
- newByteArrayOrigin(byte[]) - Static method in class org.apache.commons.io.build.AbstractOriginSupplier
-
Creates a new byte array origin for a byte array.
- newByteChannel(Path, OpenOption...) - Static method in class org.apache.commons.io.file.FilesUncheck
-
- newByteChannel(Path, Set<? extends OpenOption>, FileAttribute<?>...) - Static method in class org.apache.commons.io.file.FilesUncheck
-
- newCharSequenceOrigin(CharSequence) - Static method in class org.apache.commons.io.build.AbstractOriginSupplier
-
Creates a new CharSequence origin for a CharSequence.
- newChildInstance(File) - Method in class org.apache.commons.io.monitor.FileEntry
-
Creates a new child instance.
- newDirectoryStream(Path) - Static method in class org.apache.commons.io.file.FilesUncheck
-
- newDirectoryStream(Path, DirectoryStream.Filter<? super Path>) - Static method in class org.apache.commons.io.file.FilesUncheck
-
- newDirectoryStream(Path, String) - Static method in class org.apache.commons.io.file.FilesUncheck
-
- newDirectoryStream(Path, PathFilter) - Static method in class org.apache.commons.io.file.PathUtils
-
Creates a new DirectoryStream for Paths rooted at the given directory.
- newFileOrigin(File) - Static method in class org.apache.commons.io.build.AbstractOriginSupplier
-
Creates a new file origin for a file.
- newFileOrigin(String) - Static method in class org.apache.commons.io.build.AbstractOriginSupplier
-
Creates a new file origin for a file path.
- newInputStream(Path, OpenOption...) - Static method in class org.apache.commons.io.file.FilesUncheck
-
- newInputStreamOrigin(InputStream) - Static method in class org.apache.commons.io.build.AbstractOriginSupplier
-
Creates a new input stream origin for a file.
- newOutputStream(Path, OpenOption...) - Static method in class org.apache.commons.io.file.FilesUncheck
-
- newOutputStream(Path, boolean) - Static method in class org.apache.commons.io.file.PathUtils
-
Creates a new OutputStream by opening or creating a file, returning an output stream that may be used to write bytes
to the file.
- newOutputStream(File, boolean) - Static method in class org.apache.commons.io.FileUtils
-
Creates a new OutputStream by opening or creating a file, returning an output stream that may be used to write bytes
to the file.
- newOutputStreamOrigin(OutputStream) - Static method in class org.apache.commons.io.build.AbstractOriginSupplier
-
Creates a new output stream origin for a file.
- newPathOrigin(Path) - Static method in class org.apache.commons.io.build.AbstractOriginSupplier
-
Creates a new path origin for a file.
- newPathOrigin(String) - Static method in class org.apache.commons.io.build.AbstractOriginSupplier
-
Creates a new path name origin for a path name.
- newQueueInputStream() - Method in class org.apache.commons.io.output.QueueOutputStream
-
Creates a new QueueInputStream instance connected to this.
- newQueueOutputStream() - Method in class org.apache.commons.io.input.QueueInputStream
-
Creates a new QueueOutputStream instance connected to this.
- newReaderOrigin(Reader) - Static method in class org.apache.commons.io.build.AbstractOriginSupplier
-
Creates a new reader origin for a reader.
- newURIOrigin(URI) - Static method in class org.apache.commons.io.build.AbstractOriginSupplier
-
Creates a new reader origin for a URI.
- newWriterOrigin(Writer) - Static method in class org.apache.commons.io.build.AbstractOriginSupplier
-
Creates a new writer origin for a file.
- next() - Method in interface org.apache.commons.io.function.IOIterator
-
- 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
.
- NOFOLLOW_LINK_OPTION_ARRAY - Static variable in class org.apache.commons.io.file.PathUtils
-
- noFollowLinkOptionArray() - Static method in class org.apache.commons.io.file.PathUtils
-
- noneMatch(IOPredicate<? super T>) - Method in interface org.apache.commons.io.function.IOStream
-
- noop() - Static method in interface org.apache.commons.io.function.IOBiConsumer
-
Returns the no-op singleton.
- noop() - Static method in interface org.apache.commons.io.function.IOConsumer
-
Returns the constant no-op consumer.
- noop() - Static method in interface org.apache.commons.io.function.IOTriConsumer
-
Returns the no-op singleton.
- NOOP_IO_CONSUMER - Static variable in interface org.apache.commons.io.function.IOConsumer
-
Consider private.
- noopCounter() - Static method in class org.apache.commons.io.file.Counters
-
Returns the no-op Counter.
- noopPathCounters() - Static method in class org.apache.commons.io.file.Counters
-
Returns the no-op PathCounters.
- NoopPathVisitor - Class in org.apache.commons.io.file
-
A noop path visitor.
- NoopPathVisitor() - Constructor for class org.apache.commons.io.file.NoopPathVisitor
-
Constructs a new instance.
- NoopPathVisitor(IOBiFunction<Path, IOException, FileVisitResult>) - Constructor for class org.apache.commons.io.file.NoopPathVisitor
-
Constructs a new instance.
- 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.
- normalizeSeparators(String) - Method in enum org.apache.commons.io.FileSystem
-
Converts all separators to the Windows separator of backslash.
- 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
-
- noteDataByte(int) - Method in class org.apache.commons.io.input.ObservableInputStream
-
- noteDataBytes(byte[], int, int) - Method in class org.apache.commons.io.input.ObservableInputStream
-
- noteError(IOException) - Method in class org.apache.commons.io.input.ObservableInputStream
-
- noteFinished() - Method in class org.apache.commons.io.input.ObservableInputStream
-
- 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.
- now() - Static method in class org.apache.commons.io.file.attribute.FileTimes
-
Obtains the current instant FileTime from the system clock.
- ntfsTimeToDate(long) - Static method in class org.apache.commons.io.file.attribute.FileTimes
-
Converts NTFS time (100 nanosecond units since 1 January 1601) to Java time.
- ntfsTimeToFileTime(long) - Static method in class org.apache.commons.io.file.attribute.FileTimes
-
Converts NTFS time (100-nanosecond units since 1 January 1601) to a FileTime.
- NULL_OUTPUT_STREAM - Static variable in class org.apache.commons.io.output.NullOutputStream
-
- NULL_PRINT_STREAM - Static variable in class org.apache.commons.io.output.NullPrintStream
-
- NULL_WRITER - Static variable in class org.apache.commons.io.output.NullWriter
-
- NullAppendable - Class in org.apache.commons.io.output
-
Appends all data to the famous /dev/null.
- 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
-
Never writes data.
- NullOutputStream() - Constructor for class org.apache.commons.io.output.NullOutputStream
-
- NullPrintStream - Class in org.apache.commons.io.output
-
Never prints data.
- NullPrintStream() - Constructor for class org.apache.commons.io.output.NullPrintStream
-
- 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
-
Never writes data.
- NullWriter() - Constructor for class org.apache.commons.io.output.NullWriter
-
- 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(InputStream, ObservableInputStream.Observer...) - 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
-
- Observer() - Constructor for class org.apache.commons.io.input.ObservableInputStream.Observer
-
- of(Iterable<T>) - Static method in interface org.apache.commons.io.function.IOStream
-
- of(T...) - Static method in interface org.apache.commons.io.function.IOStream
-
- of(T) - Static method in interface org.apache.commons.io.function.IOStream
-
Returns a sequential IOStreamImpl
containing a single element.
- on(Appendable) - Static method in interface org.apache.commons.io.output.UncheckedAppendable
-
Creates a new instance on the given Appendable.
- onClose(IORunnable) - Method in interface org.apache.commons.io.function.IOBaseStream
-
- 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.
- onMaxLength(long, long) - Method in class org.apache.commons.io.input.BoundedInputStream
-
A caller has caused a request that would cross the maxLength
boundary.
- 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) - Method in class org.apache.commons.io.filefilter.FalseFileFilter
-
- or(IOFileFilter...) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
-
Returns a filter that ORs the specified filters.
- or(IOFileFilter) - Method in interface org.apache.commons.io.filefilter.IOFileFilter
-
Creates a new "or" filter with this filter.
- or(IOFileFilter) - Method in class org.apache.commons.io.filefilter.TrueFileFilter
-
- or(IOPredicate<? super T>) - Method in interface org.apache.commons.io.function.IOPredicate
-
Creates a composed predicate that represents a short-circuiting logical OR of this predicate and another.
- 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
-
- OrFileFilter(IOFileFilter...) - Constructor for class org.apache.commons.io.filefilter.OrFileFilter
-
Constructs a new instance for the give filters.
- OrFileFilter(IOFileFilter, IOFileFilter) - Constructor for class org.apache.commons.io.filefilter.OrFileFilter
-
Constructs a new file filter that ORs the result of other filters.
- OrFileFilter(List<IOFileFilter>) - Constructor for class org.apache.commons.io.filefilter.OrFileFilter
-
Constructs a new instance of
OrFileFilter
with the specified filters.
- org.apache.commons.io - package org.apache.commons.io
-
Provides classes for working with streams, readers, writers and files.
- org.apache.commons.io.build - package org.apache.commons.io.build
-
Provides classes to implement IO builders.
- org.apache.commons.io.charset - package org.apache.commons.io.charset
-
- org.apache.commons.io.comparator - package org.apache.commons.io.comparator
-
- org.apache.commons.io.file - package org.apache.commons.io.file
-
- org.apache.commons.io.file.attribute - package org.apache.commons.io.file.attribute
-
- org.apache.commons.io.file.spi - package org.apache.commons.io.file.spi
-
- org.apache.commons.io.filefilter - package org.apache.commons.io.filefilter
-
- org.apache.commons.io.function - package org.apache.commons.io.function
-
Provides IO-only related functional interfaces for lambda expressions and method references.
- org.apache.commons.io.input - package org.apache.commons.io.input
-
- org.apache.commons.io.input.buffer - package org.apache.commons.io.input.buffer
-
- org.apache.commons.io.monitor - package org.apache.commons.io.monitor
-
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
-
- org.apache.commons.io.serialization - package org.apache.commons.io.serialization
-
Provides a framework for controlling the deserialization of classes.
- OutputStreamOrigin(OutputStream) - Constructor for class org.apache.commons.io.build.AbstractOrigin.OutputStreamOrigin
-
Constructs a new instance for the given origin.
- overrideReadOnly(DeleteOption[]) - Static method in enum org.apache.commons.io.file.StandardDeleteOption
-
- parallel() - Method in interface org.apache.commons.io.function.IOBaseStream
-
- parseByteOrder(String) - Static method in class org.apache.commons.io.ByteOrderParser
-
- PATH_COMPARATOR - Static variable in class org.apache.commons.io.comparator.PathFileComparator
-
- PATH_INSENSITIVE_COMPARATOR - Static variable in class org.apache.commons.io.comparator.PathFileComparator
-
- PATH_INSENSITIVE_REVERSE - Static variable in class org.apache.commons.io.comparator.PathFileComparator
-
- PATH_REVERSE - Static variable in class org.apache.commons.io.comparator.PathFileComparator
-
- PATH_SYSTEM_COMPARATOR - Static variable in class org.apache.commons.io.comparator.PathFileComparator
-
- PATH_SYSTEM_REVERSE - Static variable in class org.apache.commons.io.comparator.PathFileComparator
-
Reverse system sensitive path comparator instance (see
IOCase.SYSTEM
)
- PathEqualsFileFilter - Class in org.apache.commons.io.filefilter
-
Accepts only an exact
Path
object match.
- PathEqualsFileFilter(Path) - Constructor for class org.apache.commons.io.filefilter.PathEqualsFileFilter
-
Constructs a new instance for the given
Path
.
- PathFileComparator - Class in org.apache.commons.io.comparator
-
- PathFileComparator() - Constructor for class org.apache.commons.io.comparator.PathFileComparator
-
Constructs a case-sensitive file path comparator instance.
- PathFileComparator(IOCase) - Constructor for class org.apache.commons.io.comparator.PathFileComparator
-
Constructs a file path comparator instance with the specified case-sensitivity.
- PathFilter - Interface in org.apache.commons.io.file
-
- PathOrigin(Path) - Constructor for class org.apache.commons.io.build.AbstractOrigin.PathOrigin
-
Constructs a new instance for the given origin.
- PathUtils - Class in org.apache.commons.io.file
-
NIO Path utilities.
- PathVisitor - Interface in org.apache.commons.io.file
-
- PathVisitorFileFilter - Class in org.apache.commons.io.filefilter
-
A file filter backed by a path visitor.
- PathVisitorFileFilter(PathVisitor) - Constructor for class org.apache.commons.io.filefilter.PathVisitorFileFilter
-
Constructs a new instance that will forward calls to the given visitor.
- peek(IOConsumer<? super T>) - Method in interface org.apache.commons.io.function.IOStream
-
- 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
-
Implements a buffered input stream, which allows to peek into the buffers first bytes.
- PeekableInputStream(InputStream) - Constructor for class org.apache.commons.io.input.buffer.PeekableInputStream
-
- 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.
- plusMillis(FileTime, long) - Static method in class org.apache.commons.io.file.attribute.FileTimes
-
Adds milliseconds to a source FileTime.
- plusNanos(FileTime, long) - Static method in class org.apache.commons.io.file.attribute.FileTimes
-
Adds nanoseconds from a source FileTime.
- plusSeconds(FileTime, long) - Static method in class org.apache.commons.io.file.attribute.FileTimes
-
Adds seconds to a source FileTime.
- pos - Variable in class org.apache.commons.io.input.UnsynchronizedBufferedInputStream
-
The current position within the byte array buf
.
- postVisitDirectory(Path, IOException) - Method in class org.apache.commons.io.file.CountingPathVisitor
-
- postVisitDirectory(Path, IOException) - Method in class org.apache.commons.io.file.DeletingPathVisitor
-
- postVisitDirectory(Path, IOException) - Method in class org.apache.commons.io.filefilter.AbstractFileFilter
-
- 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(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.
- PrefixFileFilter(String) - Constructor for class org.apache.commons.io.filefilter.PrefixFileFilter
-
Constructs a new Prefix file filter for a single prefix.
- 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 a single prefix
specifying case-sensitivity.
- 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.
- 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.CountingPathVisitor
-
- preVisitDirectory(Path, BasicFileAttributes) - Method in class org.apache.commons.io.file.DeletingPathVisitor
-
- preVisitDirectory(Path, BasicFileAttributes) - Method in class org.apache.commons.io.filefilter.AbstractFileFilter
-
- probeContentType(Path) - Static method in class org.apache.commons.io.file.FilesUncheck
-
- 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.
- RandomAccessFileInputStream - Class in org.apache.commons.io.input
-
- RandomAccessFileInputStream(RandomAccessFile) - Constructor for class org.apache.commons.io.input.RandomAccessFileInputStream
-
- RandomAccessFileInputStream(RandomAccessFile, boolean) - Constructor for class org.apache.commons.io.input.RandomAccessFileInputStream
-
- RandomAccessFileInputStream.Builder - Class in org.apache.commons.io.input
-
- RandomAccessFileMode - Enum in org.apache.commons.io
-
- RandomAccessFiles - Class in org.apache.commons.io
-
Works on RandomAccessFile.
- RandomAccessFiles() - Constructor for class org.apache.commons.io.RandomAccessFiles
-
- 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[]) - Method in class org.apache.commons.io.input.BOMInputStream
-
Invokes the delegate's read(byte[])
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() - 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[], 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() - Method in class org.apache.commons.io.input.BufferedFileChannelInputStream
-
- read(byte[], int, int) - Method in class org.apache.commons.io.input.BufferedFileChannelInputStream
-
- read() - Method in class org.apache.commons.io.input.CharSequenceInputStream
-
- read(byte[]) - Method in class org.apache.commons.io.input.CharSequenceInputStream
-
- read(byte[], int, int) - 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.CircularInputStream
-
- 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
-
Reads byte from stream associated with current thread.
- read() - Method in class org.apache.commons.io.input.MemoryMappedFileInputStream
-
- read(byte[], int, int) - Method in class org.apache.commons.io.input.MemoryMappedFileInputStream
-
- 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() - Method in class org.apache.commons.io.input.QueueInputStream
-
Reads and returns a single byte.
- read() - Method in class org.apache.commons.io.input.RandomAccessFileInputStream
-
- read(byte[]) - Method in class org.apache.commons.io.input.RandomAccessFileInputStream
-
- read(byte[], int, int) - Method in class org.apache.commons.io.input.RandomAccessFileInputStream
-
- read() - Method in class org.apache.commons.io.input.ReadAheadInputStream
-
- read(byte[], int, int) - Method in class org.apache.commons.io.input.ReadAheadInputStream
-
- read() - Method in class org.apache.commons.io.input.ReaderInputStream
-
Reads a single byte.
- read(byte[]) - Method in class org.apache.commons.io.input.ReaderInputStream
-
Reads the specified number of bytes into an array.
- read(byte[], int, int) - Method in class org.apache.commons.io.input.ReaderInputStream
-
Reads the specified number of bytes into an array.
- read() - Method in class org.apache.commons.io.input.SequenceReader
-
- read(char[], int, int) - Method in class org.apache.commons.io.input.SequenceReader
-
- read(byte[]) - Method in interface org.apache.commons.io.input.Tailer.RandomAccessResourceBridge
-
Reads up to b.length
bytes of data from this tailable into an array of bytes.
- read() - Method in class org.apache.commons.io.input.TeeInputStream
-
Reads a single byte from the proxied input stream and writes it to
the associated output stream.
- read(byte[]) - Method in class org.apache.commons.io.input.TeeInputStream
-
Reads bytes from the proxied input stream and writes the read bytes
to the associated output stream.
- read(byte[], int, int) - Method in class org.apache.commons.io.input.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 character 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.UncheckedBufferedReader
-
- read(char[]) - Method in class org.apache.commons.io.input.UncheckedBufferedReader
-
- read(char[], int, int) - Method in class org.apache.commons.io.input.UncheckedBufferedReader
-
- read(CharBuffer) - Method in class org.apache.commons.io.input.UncheckedBufferedReader
-
- read() - Method in class org.apache.commons.io.input.UncheckedFilterInputStream
-
- read(byte[]) - Method in class org.apache.commons.io.input.UncheckedFilterInputStream
-
- read(byte[], int, int) - Method in class org.apache.commons.io.input.UncheckedFilterInputStream
-
- read() - Method in class org.apache.commons.io.input.UncheckedFilterReader
-
- read(char[]) - Method in class org.apache.commons.io.input.UncheckedFilterReader
-
- read(char[], int, int) - Method in class org.apache.commons.io.input.UncheckedFilterReader
-
- read(CharBuffer) - Method in class org.apache.commons.io.input.UncheckedFilterReader
-
- read() - Method in class org.apache.commons.io.input.UnixLineEndingInputStream
- read() - Method in class org.apache.commons.io.input.UnsynchronizedBufferedInputStream
-
Reads a single byte from this stream and returns it as an integer in the range from 0 to 255.
- read(byte[], int, int) - Method in class org.apache.commons.io.input.UnsynchronizedBufferedInputStream
-
Reads at most length
bytes from this stream and stores them in byte array buffer
starting at offset offset
.
- 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.UnsynchronizedFilterInputStream
-
Reads a single byte from the filtered stream and returns it as an integer in the range from 0 to 255.
- read(byte[]) - Method in class org.apache.commons.io.input.UnsynchronizedFilterInputStream
-
Reads bytes from this stream and stores them in the byte array buffer
.
- read(byte[], int, int) - Method in class org.apache.commons.io.input.UnsynchronizedFilterInputStream
-
Reads at most count
bytes from this stream and stores them in the byte array buffer
starting at offset
.
- read() - Method in class org.apache.commons.io.input.WindowsLineEndingInputStream
- read(char[], int, int) - Method in class org.apache.commons.io.input.XmlStreamReader
-
Reads 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(RandomAccessFile, long, int) - Static method in class org.apache.commons.io.RandomAccessFiles
-
Reads a byte array starting at "position" for "length" bytes.
- READ_ONLY - Static variable in class org.apache.commons.io.filefilter.CanReadFileFilter
-
Singleton instance of read-only filter
- ReadAheadInputStream - Class in org.apache.commons.io.input
-
Implements
InputStream
to asynchronously read ahead from an underlying input stream when a specified amount of data has been read from the current
buffer.
- ReadAheadInputStream(InputStream, int) - Constructor for class org.apache.commons.io.input.ReadAheadInputStream
-
- ReadAheadInputStream(InputStream, int, ExecutorService) - Constructor for class org.apache.commons.io.input.ReadAheadInputStream
-
- ReadAheadInputStream.Builder - Class in org.apache.commons.io.input
-
- readAllBytes(Path) - Static method in class org.apache.commons.io.file.FilesUncheck
-
- readAllLines(Path) - Static method in class org.apache.commons.io.file.FilesUncheck
-
- readAllLines(Path, Charset) - Static method in class org.apache.commons.io.file.FilesUncheck
-
- readAttributes(Path, Class<A>, LinkOption...) - Static method in class org.apache.commons.io.file.FilesUncheck
-
- readAttributes(Path, String, LinkOption...) - Static method in class org.apache.commons.io.file.FilesUncheck
-
- readAttributes(Path, Class<A>, LinkOption...) - Static method in class org.apache.commons.io.file.PathUtils
-
Reads the BasicFileAttributes from the given path.
- readBasicFileAttributes(Path) - Static method in class org.apache.commons.io.file.PathUtils
-
- readBasicFileAttributes(Path, LinkOption...) - Static method in class org.apache.commons.io.file.PathUtils
-
Reads the BasicFileAttributes from the given path.
- readBasicFileAttributesUnchecked(Path) - Static method in class org.apache.commons.io.file.PathUtils
-
- 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
-
- readDosFileAttributes(Path, LinkOption...) - Static method in class org.apache.commons.io.file.PathUtils
-
Reads the DosFileAttributes from the given path.
- 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) - Constructor for class org.apache.commons.io.input.ReaderInputStream
-
- ReaderInputStream(Reader, Charset) - Constructor for class org.apache.commons.io.input.ReaderInputStream
-
- ReaderInputStream(Reader, Charset, int) - Constructor for class org.apache.commons.io.input.ReaderInputStream
-
- ReaderInputStream(Reader, CharsetEncoder) - Constructor for class org.apache.commons.io.input.ReaderInputStream
-
- ReaderInputStream(Reader, CharsetEncoder, int) - Constructor for class org.apache.commons.io.input.ReaderInputStream
-
- ReaderInputStream(Reader, String) - Constructor for class org.apache.commons.io.input.ReaderInputStream
-
- ReaderInputStream(Reader, String, int) - Constructor for class org.apache.commons.io.input.ReaderInputStream
-
- ReaderInputStream.Builder - Class in org.apache.commons.io.input
-
- ReaderOrigin(Reader) - Constructor for class org.apache.commons.io.build.AbstractOrigin.ReaderOrigin
-
Constructs a new instance for the given origin.
- 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
-
- 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
-
- readLine() - Method in class org.apache.commons.io.input.UncheckedBufferedReader
-
- readLines(File) - Static method in class org.apache.commons.io.FileUtils
-
- 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(int) - Method in class org.apache.commons.io.input.ReversedLinesFileReader
-
Returns lineCount
lines of the file from bottom to top.
- readLines(InputStream) - Static method in class org.apache.commons.io.IOUtils
-
- 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
-
- readOsFileAttributes(Path, LinkOption...) - Static method in class org.apache.commons.io.file.PathUtils
-
Reads the PosixFileAttributes or DosFileAttributes from the given path.
- readPosixFileAttributes(Path, LinkOption...) - Static method in class org.apache.commons.io.file.PathUtils
-
Reads the PosixFileAttributes from the given path.
- readShort() - Method in class org.apache.commons.io.input.SwappedDataInputStream
-
- readString(Path, Charset) - Static method in class org.apache.commons.io.file.PathUtils
-
Reads the given path as a String.
- 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 an "int" value from a byte array at a given offset.
- readSwappedInteger(InputStream) - Static method in class org.apache.commons.io.EndianUtils
-
Reads an "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 an 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 an unsigned short (16-bit) from an InputStream.
- readSymbolicLink(Path) - Static method in class org.apache.commons.io.file.FilesUncheck
-
- 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
-
- ready() - Method in class org.apache.commons.io.input.BrokenReader
-
Throws the configured exception.
- ready() - Method in class org.apache.commons.io.input.CharSequenceReader
-
Tells whether this stream is ready to be read.
- ready() - Method in class org.apache.commons.io.input.ProxyReader
-
Invokes the delegate's ready()
method.
- ready() - Method in class org.apache.commons.io.input.UncheckedBufferedReader
-
- ready() - Method in class org.apache.commons.io.input.UncheckedFilterReader
-
- reduce(IOBinaryOperator<T>) - Method in interface org.apache.commons.io.function.IOStream
-
- reduce(T, IOBinaryOperator<T>) - Method in interface org.apache.commons.io.function.IOStream
-
- reduce(U, IOBiFunction<U, ? super T, U>, IOBinaryOperator<U>) - Method in interface org.apache.commons.io.function.IOStream
-
- refresh(File) - Method in class org.apache.commons.io.monitor.FileEntry
-
Refreshes 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(Pattern) - Constructor for class org.apache.commons.io.filefilter.RegexFileFilter
-
Constructs a new regular expression filter for a compiled regular expression
- RegexFileFilter(Pattern, Function<Path, String>) - Constructor for class org.apache.commons.io.filefilter.RegexFileFilter
-
Constructs a new regular expression filter for a compiled regular expression
- RegexFileFilter(String) - Constructor for class org.apache.commons.io.filefilter.RegexFileFilter
-
Constructs a new regular expression filter.
- RegexFileFilter(String, int) - Constructor for class org.apache.commons.io.filefilter.RegexFileFilter
-
Constructs a new regular expression filter with the specified flags.
- RegexFileFilter(String, IOCase) - Constructor for class org.apache.commons.io.filefilter.RegexFileFilter
-
Constructs a new regular expression filter with the specified flags case sensitivity.
- reject(Class<?>...) - Method in class org.apache.commons.io.serialization.ValidatingObjectInputStream
-
Reject the specified classes 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.
- 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(String...) - Method in class org.apache.commons.io.serialization.ValidatingObjectInputStream
-
Reject the wildcard specified classes 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() - Method in interface org.apache.commons.io.function.IOIterator
-
- 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 interface org.apache.commons.io.file.Counters.Counter
-
Resets this count to 0.
- reset() - Method in interface org.apache.commons.io.file.Counters.PathCounters
-
Resets the counts to 0.
- 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.MarkShieldInputStream
-
- 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.UncheckedBufferedReader
-
- reset() - Method in class org.apache.commons.io.input.UncheckedFilterInputStream
-
- reset() - Method in class org.apache.commons.io.input.UncheckedFilterReader
-
- reset() - Method in class org.apache.commons.io.input.UnsynchronizedBufferedInputStream
-
Resets this stream to the last marked location.
- reset() - Method in class org.apache.commons.io.input.UnsynchronizedByteArrayInputStream
-
- reset() - Method in class org.apache.commons.io.input.UnsynchronizedFilterInputStream
-
Resets this stream to the last marked location.
- 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
-
Resets 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
-
Resets 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 resource as a byte array.
- resourceToByteArray(String, ClassLoader) - Static method in class org.apache.commons.io.IOUtils
-
Gets the contents of a resource as a byte array.
- resourceToString(String, Charset) - Static method in class org.apache.commons.io.IOUtils
-
Gets the contents of a 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 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 resource.
- resourceToURL(String, ClassLoader) - Static method in class org.apache.commons.io.IOUtils
-
Gets a URL pointing to the given 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
-
- ReversedLinesFileReader(File, int, Charset) - Constructor for class org.apache.commons.io.input.ReversedLinesFileReader
-
- ReversedLinesFileReader(File, int, String) - Constructor for class org.apache.commons.io.input.ReversedLinesFileReader
-
- ReversedLinesFileReader(Path, Charset) - Constructor for class org.apache.commons.io.input.ReversedLinesFileReader
-
- ReversedLinesFileReader(Path, int, Charset) - Constructor for class org.apache.commons.io.input.ReversedLinesFileReader
-
- ReversedLinesFileReader(Path, int, String) - Constructor for class org.apache.commons.io.input.ReversedLinesFileReader
-
- ReversedLinesFileReader.Builder - Class in org.apache.commons.io.input
-
- run() - Method in interface org.apache.commons.io.function.IORunnable
-
- run(IORunnable) - Static method in class org.apache.commons.io.function.Uncheck
-
Runs an IO runnable.
- run() - Method in class org.apache.commons.io.input.Tailer
-
- run() - Method in class org.apache.commons.io.monitor.FileAlterationMonitor
-
Runs this monitor.
- seek(long) - Method in interface org.apache.commons.io.input.Tailer.RandomAccessResourceBridge
-
Sets the file-pointer offset, measured from the beginning of this tailable, at which the next read or write occurs.
- 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
Reader
s in sequence.
- SequenceReader(Iterable<? extends Reader>) - Constructor for class org.apache.commons.io.input.SequenceReader
-
Constructs a new instance with readers
- SequenceReader(Reader...) - Constructor for class org.apache.commons.io.input.SequenceReader
-
Constructs a new instance with readers
- sequential() - Method in interface org.apache.commons.io.function.IOBaseStream
-
- setAppend(boolean) - Method in class org.apache.commons.io.output.FileWriterWithEncoding.Builder
-
Sets whether or not to append.
- setAppend(boolean) - Method in class org.apache.commons.io.output.LockableFileWriter.Builder
-
Sets whether to append (true) or overwrite (false).
- setAttribute(Path, String, Object, LinkOption...) - Static method in class org.apache.commons.io.file.FilesUncheck
-
- setBlockingQueue(BlockingQueue<Integer>) - Method in class org.apache.commons.io.input.QueueInputStream.Builder
-
Sets backing queue for the stream.
- setBufferSize(int) - Method in class org.apache.commons.io.build.AbstractStreamBuilder
-
Sets the buffer size.
- setBufferSize(Integer) - Method in class org.apache.commons.io.build.AbstractStreamBuilder
-
Sets the buffer size.
- setBufferSizeDefault(int) - Method in class org.apache.commons.io.build.AbstractStreamBuilder
-
Sets the buffer size for subclasses to initialize.
- setByteArray(byte[]) - Method in class org.apache.commons.io.build.AbstractOriginSupplier
-
Sets a new origin.
- setByteArray(byte[]) - Method in class org.apache.commons.io.input.UnsynchronizedByteArrayInputStream.Builder
-
- setByteCount(long) - Method in class org.apache.commons.io.output.ThresholdingOutputStream
-
Sets the byteCount to count.
- setByteOrderMarks(ByteOrderMark...) - Method in class org.apache.commons.io.input.BOMInputStream.Builder
-
Sets the ByteOrderMarks to detect and optionally exclude.
- setCharSequence(CharSequence) - Method in class org.apache.commons.io.build.AbstractOriginSupplier
-
Sets a new origin.
- setCharset(Charset) - Method in class org.apache.commons.io.build.AbstractStreamBuilder
-
Sets the Charset.
- setCharset(String) - Method in class org.apache.commons.io.build.AbstractStreamBuilder
-
Sets the Charset.
- setCharset(Charset) - Method in class org.apache.commons.io.input.CharSequenceInputStream.Builder
-
- setCharset(Charset) - Method in class org.apache.commons.io.input.ReaderInputStream.Builder
-
- setCharset(Charset) - Method in class org.apache.commons.io.input.XmlStreamReader.Builder
-
- setCharset(String) - Method in class org.apache.commons.io.input.XmlStreamReader.Builder
-
- setCharset(Charset) - Method in class org.apache.commons.io.output.WriterOutputStream.Builder
-
- setCharset(String) - Method in class org.apache.commons.io.output.WriterOutputStream.Builder
-
- setCharsetDecoder(CharsetDecoder) - Method in class org.apache.commons.io.output.WriterOutputStream.Builder
-
Sets the charset decoder.
- setCharsetDefault(Charset) - Method in class org.apache.commons.io.build.AbstractStreamBuilder
-
Sets the Charset default for subclasses to initialize.
- setCharsetEncoder(CharsetEncoder) - Method in class org.apache.commons.io.input.CharSequenceInputStream.Builder
-
Sets the charset encoder.
- setCharsetEncoder(CharsetEncoder) - Method in class org.apache.commons.io.input.ReaderInputStream.Builder
-
Sets the charset encoder.
- setCharsetEncoder(CharsetEncoder) - Method in class org.apache.commons.io.output.FileWriterWithEncoding.Builder
-
Sets charsetEncoder to use for encoding.
- setChildren(FileEntry...) - Method in class org.apache.commons.io.monitor.FileEntry
-
Sets the directory's files.
- setCloseOnClose(boolean) - Method in class org.apache.commons.io.input.RandomAccessFileInputStream.Builder
-
Sets whether to close the underlying file when this stream is closed.
- setDelayDuration(Duration) - Method in class org.apache.commons.io.input.Tailer.Builder
-
Sets the delay duration.
- setDirectory(boolean) - Method in class org.apache.commons.io.monitor.FileEntry
-
Sets whether the file is a directory or not.
- setDirectory(File) - Method in class org.apache.commons.io.output.DeferredFileOutputStream.Builder
-
Sets the temporary file directory.
- setExecutorService(ExecutorService) - Method in class org.apache.commons.io.input.ReadAheadInputStream.Builder
-
Sets the executor service for the read-ahead thread.
- setExecutorService(ExecutorService) - Method in class org.apache.commons.io.input.Tailer.Builder
-
Sets the executor service to use when startThread is true.
- setExists(boolean) - Method in class org.apache.commons.io.monitor.FileEntry
-
Sets whether the file existed the last time it
was checked.
- setFile(File) - Method in class org.apache.commons.io.build.AbstractOriginSupplier
-
Sets a new origin.
- setFile(String) - Method in class org.apache.commons.io.build.AbstractOriginSupplier
-
Sets a new origin.
- 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.
- setHttpContentType(String) - Method in class org.apache.commons.io.input.XmlStreamReader.Builder
-
- setInclude(boolean) - Method in class org.apache.commons.io.input.BOMInputStream.Builder
-
Sets whether to include the UTF-8 BOM (true) or to exclude it (false).
- setInputStream(InputStream) - Method in class org.apache.commons.io.build.AbstractOriginSupplier
-
Sets a new origin.
- setIoCase(IOCase) - Method in class org.apache.commons.io.filefilter.WildcardFileFilter.Builder
-
Sets how to handle case sensitivity, null means case-sensitive.
- setLastModified(FileTime) - Method in class org.apache.commons.io.monitor.FileEntry
-
Sets the last modified time from the last time it was checked.
- setLastModified(long) - Method in class org.apache.commons.io.monitor.FileEntry
-
Sets the last modified time from the last time it
was checked.
- setLastModifiedTime(Path) - Static method in class org.apache.commons.io.file.attribute.FileTimes
-
Sets the last modified time of the given file path to now.
- setLastModifiedTime(Path, FileTime) - Static method in class org.apache.commons.io.file.FilesUncheck
-
- setLastModifiedTime(Path, Path) - Static method in class org.apache.commons.io.file.PathUtils
-
Sets the given targetFile
's last modified time to the value from sourceFile
.
- setLength(int) - Method in class org.apache.commons.io.input.UnsynchronizedByteArrayInputStream.Builder
-
- setLength(long) - Method in class org.apache.commons.io.monitor.FileEntry
-
Sets the length.
- setLenient(boolean) - Method in class org.apache.commons.io.input.XmlStreamReader.Builder
-
- setLockDirectory(File) - Method in class org.apache.commons.io.output.LockableFileWriter.Builder
-
Sets the directory in which the lock file should be held.
- setLockDirectory(String) - Method in class org.apache.commons.io.output.LockableFileWriter.Builder
-
Sets the directory in which the lock file should be held.
- setMessageDigest(MessageDigest) - Method in class org.apache.commons.io.input.MessageDigestCalculatingInputStream.Builder
-
Sets the message digest.
- setMessageDigest(String) - Method in class org.apache.commons.io.input.MessageDigestCalculatingInputStream.Builder
-
Sets the name of the name of the message digest algorithm.
- setName(String) - Method in class org.apache.commons.io.monitor.FileEntry
-
Sets the file name.
- setOffset(int) - Method in class org.apache.commons.io.input.UnsynchronizedByteArrayInputStream.Builder
-
- setOpenOptions(OpenOption...) - Method in class org.apache.commons.io.build.AbstractStreamBuilder
-
Sets the OpenOption[].
- setOrigin(AbstractOrigin<?, ?>) - Method in class org.apache.commons.io.build.AbstractOriginSupplier
-
Sets a new origin.
- setOrigin(AbstractOrigin<?, ?>) - Method in class org.apache.commons.io.input.Tailer.Builder
-
Sets the origin.
- setOutputFile(File) - Method in class org.apache.commons.io.output.DeferredFileOutputStream.Builder
-
Sets the file to which data is saved beyond the threshold.
- setOutputStream(OutputStream) - Method in class org.apache.commons.io.build.AbstractOriginSupplier
-
Sets a new origin.
- setOwner(Path, UserPrincipal) - Static method in class org.apache.commons.io.file.FilesUncheck
-
- setPath(Path) - Method in class org.apache.commons.io.build.AbstractOriginSupplier
-
Sets a new origin.
- setPath(String) - Method in class org.apache.commons.io.build.AbstractOriginSupplier
-
Sets a new origin.
- setPosixFilePermissions(Path, Set<PosixFilePermission>) - Static method in class org.apache.commons.io.file.FilesUncheck
-
- setPrefix(String) - Method in class org.apache.commons.io.output.DeferredFileOutputStream.Builder
-
Sets the prefix to use for the temporary file.
- setPropagateClose(boolean) - Method in class org.apache.commons.io.input.BoundedInputStream
-
- setRandomAccessFile(RandomAccessFile) - Method in class org.apache.commons.io.input.RandomAccessFileInputStream.Builder
-
Sets the RandomAccessFile to stream.
- setReader(Reader) - Method in class org.apache.commons.io.build.AbstractOriginSupplier
-
Sets a new origin.
- setReadOnly(Path, boolean, LinkOption...) - Static method in class org.apache.commons.io.file.PathUtils
-
Sets the given Path to the readOnly
value.
- setReOpen(boolean) - Method in class org.apache.commons.io.input.Tailer.Builder
-
Sets the re-open behavior.
- setStartThread(boolean) - Method in class org.apache.commons.io.input.Tailer.Builder
-
Sets the daemon thread startup behavior.
- setSuffix(String) - Method in class org.apache.commons.io.output.DeferredFileOutputStream.Builder
-
Sets the suffix to use for the temporary file.
- setTailable(Tailer.Tailable) - Method in class org.apache.commons.io.input.