FileFilter
providing conditional AND logic across a list of
file filters.AndFileFilter
.AndFileFilter
with the specified list of filters./dev/null
./dev/null
./dev/null
.append(char)
method.append(CharSequence, int, int)
method.append(CharSequence)
method.StringBuilder
.Appendable
Object.IOFileFilter
that wraps the
FileFilter
instance.IOFileFilter
that wraps the
FilenameFilter
instance.available()
method.ByteOrderMark
as its first bytes.ByteOrderMark.UTF_8
BOM.ByteOrderMark.UTF_8
and optionally includes it.BoundedInputStream
that wraps the given input
stream and limits it to a certain size.BoundedInputStream
that wraps the given input
stream and is unlimited.IOException
IOException
BufferedReader
, otherwise creates a BufferedReader from
the given reader.BufferedReader
, otherwise creates a BufferedReader from the
given reader.BufferedWriter
, otherwise creates a BufferedWriter from the
given Writer.BufferedWriter
, otherwise creates a BufferedWriter from the
given Writer.BufferedOutputStream
, otherwise creates a
BufferedOutputStream from the given OutputStream.BufferedOutputStream
, otherwise creates a
BufferedOutputStream from the given OutputStream.BufferedInputStream
, otherwise creates a
BufferedInputStream from the given InputStream.BufferedInputStream
, otherwise creates a
BufferedInputStream from the given InputStream.BOMInputStream
.ByteOrder
instances.CancelException
with
the file and depth when cancellation occurred.CancelException
with
an appropriate message and the file and depth when
cancellation occurred.File
s that can be read.File
s that can be written to.InputStream
implementation that can read from String, StringBuffer,
StringBuilder or CharBuffer.CharSequenceInputStream.CharSequenceInputStream(CharSequence, Charset, int)
.CharSequenceInputStream.CharSequenceInputStream(CharSequence, Charset, int)
with a buffer size of 2048.CharSequenceInputStream.CharSequenceInputStream(CharSequence, String, int)
with a buffer size of 2048.Reader
implementation that can read from String, StringBuffer,
StringBuilder or CharBuffer.DirectoryWalker.handleIsCancelled(java.io.File, int, java.util.Collection<T>)
,
throwing a CancelException
if it has.ChunkedOutputStream.DEFAULT_CHUNK_SIZE
.ChunkedWriter.DEFAULT_CHUNK_SIZE
ClassLoader
rather than the system default.ClosedInputStream
instance.ClosedInputStream
sentinel.close()
method.close()
method.Reader
.ByteArrayOutputStream
has no effect.ClosedOutputStream
sentinel.close()
method.close()
method.File.compareTo(File)
method.File.isDirectory()
method.Comparator
.InputStream
, while notifying the
observers.byte[]
to an OutputStream
.CopyUtils.copy(byte[], Writer, String)
insteadbyte[]
to chars on a
Writer
, using the specified encoding.InputStream
to an
OutputStream
.Reader
to a Writer
.CopyUtils.copy(InputStream, Writer, String)
insteadInputStream
to chars on a
Writer
, using the specified encoding.CopyUtils.copy(Reader, OutputStream, String)
insteadReader
to bytes on an
OutputStream
, and flush the OutputStream
.CopyUtils.copy(String, OutputStream, String)
insteadString
to bytes on an
OutputStream
, and
flush the OutputStream
.String
to a Writer
.InputStream
to an
OutputStream
.InputStream
to an OutputStream
using an internal buffer of the
given size.IOUtils.copy(InputStream, Writer, Charset)
insteadInputStream
to chars on a
Writer
using the specified character encoding.InputStream
to chars on a
Writer
using the specified character encoding.Reader
to a Writer
.IOUtils.copy(Reader, OutputStream, Charset)
insteadReader
to bytes on an
OutputStream
using the specified character encoding, and
calling flush.Reader
to bytes on an
OutputStream
using the specified character encoding, and
calling flush.File
to an OutputStream
.InputStream
to an
OutputStream
.InputStream
to an
OutputStream
.InputStream
to an
OutputStream
, optionally skipping input bytes.InputStream
to an
OutputStream
, optionally skipping input bytes.Reader
to a Writer
.Reader
to a Writer
.InputStream
to an
OutputStream
, optionally skipping input chars.InputStream
to an
OutputStream
, optionally skipping input chars.source
to a file
destination
.source
to a file
destination
.File.compareTo(File)
method.parent
directory contains the child
element (a file or directory).parent
directory contains the child
element (a file or directory).File.isDirectory()
method.File
s that are directories.File
.IOCase.SENSITIVE
)IOCase.INSENSITIVE
)IOCase.INSENSITIVE
)IOCase.SENSITIVE
)IOCase.SYSTEM
)IOCase.SYSTEM
)FilenameUtils.getExtension(String)
).FileAlterationListener
implementation that does nothing.FileAlterationObserver
at a specified interval.File
attributes at a point in time.File
.File
.File
s that are files (not directories).FileStore
instead, e.g.
Files.getFileStore(Paths.get("/home")).getUsableSpace()
or iterate over FileSystems.getDefault().getFileStores()
IOFileFilter
to the provided File
objects.IOFileFilter
to the provided File
objects.IOFileFilter
to the provided File
objects.IOFileFilter
to the provided File
objects.IOFileFilter
to the provided File
objects.IOFileFilter
to the provided File
objects.IOException
to indicate that the stream is closed.flush()
method.flush()
method.FileStore.getUsableSpace()
.FileStore.getUsableSpace()
.FileStore.getUsableSpace()
.FileStore.getUsableSpace()
.ByteOrderMark.getCharsetName()
.Charset
the BOM represents.MessageDigest
, which is being used for generating the
checksum.FileAlterationObserver
registered with
this monitor.C:/
or ~/
.C:/
or ~/
.InputStream
emulates.Reader
emulates.OutputStream
methods in this class will ultimately delegate.File
representing the system temporary directory.File
representing the user's home directory.Reader
has more lines.File
s that are hidden.InputStream
that infinitely repeats provided bytes.InvalidClassException
if an invalid
class name is found during deserialization.IOException
insteadFile
is newer than the reference
File
.File
is newer than the specified
Date
.File
is newer than the specified
time reference.File
is older than the reference
File
.File
is older than the specified
Date
.File
is older than the specified
time reference.StandardCharsets
BoundedInputStream.close()
method
should propagate to the underling InputStream
.File.lastModified()
).File
.File
using the default encoding for the VM.Reader
.InputStream
, using
the character encoding specified (or default encoding if null).InputStream
, using
the character encoding specified (or default encoding if null).Reader
.Reader
.mark(int)
method.mark(int)
method.mark(int)
method.mark(int)
method.markSupported()
method.markSupported()
method.markSupported()
method.true
if the supplied class name matches this object's condition.ObservableInputStream
.MessageDigest
.MessageDigest
with the given algorithm.MessageDigest
with the "MD5" algorithm.IOCase.SENSITIVE
)IOCase.INSENSITIVE
)IOCase.INSENSITIVE
)IOCase.SENSITIVE
)IOCase.SYSTEM
)IOCase.SYSTEM
)File.getName()
).Reader
.Reader
.ObservableInputStream.Observer.finished()
.ObservableInputStream.Observer.data(int)
with the given arguments.ObservableInputStream.Observer.data(byte[],int,int)
with the given arguments.ObservableInputStream.Observer.error(IOException)
with the given argument.ObservableInputStream.Observer.finished()
.InputStream
that emulates
a stream of a specified size.InputStream
that emulates a specified size
which supports marking and does not throw EOFException.InputStream
that emulates a specified
size with option settings.Reader
that emulates
a reader of a specified size.Reader
that emulates a specified size
which supports marking and does not throw EOFException.Reader
that emulates a specified
size with option settings.Writer
writes all data to the famous /dev/null.ObservableInputStream
allows, that an InputStream may be consumed
by other receivers, apart from the thread, which is reading it.FileInputStream
for the specified file, providing better
error messages than simply calling new FileInputStream(file)
.FileOutputStream
for the specified file, checking and
creating the parent directory if it does not exist.FileOutputStream
for the specified file, checking and
creating the parent directory if it does not exist.FileFilter
providing conditional OR logic across a list of
file filters.OrFileFilter
.OrFileFilter
with the specified filters.Comparator
implementations
for File
s.FileFilter
and FilenameFilter
.InputStream
and Reader
.OutputStream
and Writer
.ByteOrder
.IOCase.SENSITIVE
)IOCase.INSENSITIVE
)IOCase.INSENSITIVE
)IOCase.SENSITIVE
)IOCase.SYSTEM
)IOCase.SYSTEM
)File.getPath()
).read()
method.read(byte[], offset, length)
method.read()
method.read(char[], offset, length)
method.read()
method, detecting and optionally skipping BOM.read(byte[], int, int)
method, detecting and optionally skipping BOM.read(byte[])
method, detecting and optionally skipping BOM.read()
method if
the current position is less than the limit.read(byte[])
method.read(byte[], int, int)
method.read()
method.read(byte[])
method.read(byte[], int, int)
method.read()
method.read(char[])
method.read(char[], int, int)
method.read(CharBuffer)
method.read(char[], int, int)
method.SwappedDataInputStream.readByte()
!
- readByte() - Method in class org.apache.commons.io.input.SwappedDataInputStream
-
Invokes the delegate's
read()
method.
- readChar() - Method in class org.apache.commons.io.input.SwappedDataInputStream
-
Reads a character delegating to
SwappedDataInputStream.readShort()
.
- readDouble() - Method in class org.apache.commons.io.input.SwappedDataInputStream
-
Delegates to
EndianUtils.readSwappedDouble(InputStream)
.
- ReaderInputStream - Class in org.apache.commons.io.input
-
InputStream
implementation that reads a character stream from a Reader
and transforms it to a byte stream using a specified charset encoding.
- ReaderInputStream(Reader, CharsetEncoder) - Constructor for class org.apache.commons.io.input.ReaderInputStream
-
Construct a new
ReaderInputStream
.
- ReaderInputStream(Reader, CharsetEncoder, int) - Constructor for class org.apache.commons.io.input.ReaderInputStream
-
Construct a new
ReaderInputStream
.
- ReaderInputStream(Reader, Charset, int) - Constructor for class org.apache.commons.io.input.ReaderInputStream
-
Construct a new
ReaderInputStream
.
- ReaderInputStream(Reader, Charset) - Constructor for class org.apache.commons.io.input.ReaderInputStream
-
Construct a new
ReaderInputStream
with a default input buffer size of
1024 characters.
- ReaderInputStream(Reader, String, int) - Constructor for class org.apache.commons.io.input.ReaderInputStream
-
Construct a new
ReaderInputStream
.
- ReaderInputStream(Reader, String) - Constructor for class org.apache.commons.io.input.ReaderInputStream
-
Construct a new
ReaderInputStream
with a default input buffer size of
1024 characters.
- ReaderInputStream(Reader) - Constructor for class org.apache.commons.io.input.ReaderInputStream
-
Deprecated.
2.5 use
ReaderInputStream.ReaderInputStream(Reader, Charset)
instead
- readFileToByteArray(File) - Static method in class org.apache.commons.io.FileUtils
-
Reads the contents of a file into a byte array.
- 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.
- readFileToString(File) - Static method in class org.apache.commons.io.FileUtils
-
Deprecated.
2.5 use
FileUtils.readFileToString(File, Charset)
instead (and specify the appropriate encoding)
- readFloat() - Method in class org.apache.commons.io.input.SwappedDataInputStream
-
Delegates to
EndianUtils.readSwappedFloat(InputStream)
.
- 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(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.
- 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(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, 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, 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.
- readInt() - Method in class org.apache.commons.io.input.SwappedDataInputStream
-
Delegates to
EndianUtils.readSwappedInteger(InputStream)
.
- readLine() - Method in class org.apache.commons.io.input.ReversedLinesFileReader
-
Returns the lines of the file from bottom to top.
- readLine() - Method in class org.apache.commons.io.input.SwappedDataInputStream
-
Not currently supported - throws
UnsupportedOperationException
.
- readLines(File, 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(File) - Static method in class org.apache.commons.io.FileUtils
-
Deprecated.
2.5 use
FileUtils.readLines(File, Charset)
instead (and specify the appropriate encoding)
- readLines(InputStream) - Static method in class org.apache.commons.io.IOUtils
-
Deprecated.
2.5 use
IOUtils.readLines(InputStream, Charset)
instead
- 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
-
Delegates to
EndianUtils.readSwappedLong(InputStream)
.
- readShort() - Method in class org.apache.commons.io.input.SwappedDataInputStream
-
Delegates to
EndianUtils.readSwappedShort(InputStream)
.
- readSwappedDouble(byte[], int) - Static method in class org.apache.commons.io.EndianUtils
-
Reads a "double" value from a byte array at a given offset.
- readSwappedDouble(InputStream) - Static method in class org.apache.commons.io.EndianUtils
-
Reads a "double" value from an InputStream.
- readSwappedFloat(byte[], int) - Static method in class org.apache.commons.io.EndianUtils
-
Reads a "float" value from a byte array at a given offset.
- readSwappedFloat(InputStream) - Static method in class org.apache.commons.io.EndianUtils
-
Reads a "float" value from an InputStream.
- readSwappedInteger(byte[], int) - Static method in class org.apache.commons.io.EndianUtils
-
Reads a "int" value from a byte array at a given offset.
- readSwappedInteger(InputStream) - Static method in class org.apache.commons.io.EndianUtils
-
Reads a "int" value from an InputStream.
- readSwappedLong(byte[], int) - Static method in class org.apache.commons.io.EndianUtils
-
Reads a "long" value from a byte array at a given offset.
- readSwappedLong(InputStream) - Static method in class org.apache.commons.io.EndianUtils
-
Reads a "long" value from an InputStream.
- readSwappedShort(byte[], int) - Static method in class org.apache.commons.io.EndianUtils
-
Reads a "short" value from a byte array at a given offset.
- readSwappedShort(InputStream) - Static method in class org.apache.commons.io.EndianUtils
-
Reads a "short" value from an InputStream.
- readSwappedUnsignedInteger(byte[], int) - Static method in class org.apache.commons.io.EndianUtils
-
Reads an unsigned integer (32-bit) value from a byte array at a given
offset.
- readSwappedUnsignedInteger(InputStream) - Static method in class org.apache.commons.io.EndianUtils
-
Reads a unsigned integer (32-bit) from an InputStream.
- readSwappedUnsignedShort(byte[], int) - Static method in class org.apache.commons.io.EndianUtils
-
Reads an unsigned short (16-bit) value from a byte array at a given
offset.
- readSwappedUnsignedShort(InputStream) - Static method in class org.apache.commons.io.EndianUtils
-
Reads a unsigned short (16-bit) from an InputStream.
- readUnsignedByte() - Method in class org.apache.commons.io.input.SwappedDataInputStream
-
Invokes the delegate's
read()
method.
- readUnsignedShort() - Method in class org.apache.commons.io.input.SwappedDataInputStream
-
Delegates to
EndianUtils.readSwappedUnsignedShort(InputStream)
.
- readUTF() - Method in class org.apache.commons.io.input.SwappedDataInputStream
-
Not currently supported - throws
UnsupportedOperationException
.
- ready() - Method in class org.apache.commons.io.input.ProxyReader
-
Invokes the delegate's
ready()
method.
- refresh(File) - Method in class org.apache.commons.io.monitor.FileEntry
-
Refresh the attributes from the
File
, indicating
whether the file has changed.
- RegexFileFilter - Class in org.apache.commons.io.filefilter
-
Filters files using supplied regular expression(s).
- RegexFileFilter(String) - Constructor for class org.apache.commons.io.filefilter.RegexFileFilter
-
Construct a new regular expression filter.
- RegexFileFilter(String, IOCase) - Constructor for class org.apache.commons.io.filefilter.RegexFileFilter
-
Construct a new regular expression filter with the specified flags case sensitivity.
- RegexFileFilter(String, int) - Constructor for class org.apache.commons.io.filefilter.RegexFileFilter
-
Construct a new regular expression filter with the specified flags.
- RegexFileFilter(Pattern) - Constructor for class org.apache.commons.io.filefilter.RegexFileFilter
-
Construct a new regular expression filter for a compiled regular expression
- reject(Class<?>...) - Method in class org.apache.commons.io.serialization.ValidatingObjectInputStream
-
Reject the specified classes for deserialization, even if they
are otherwise accepted.
- reject(String...) - Method in class org.apache.commons.io.serialization.ValidatingObjectInputStream
-
Reject the wildcard specified classes for deserialization,
even if they are otherwise accepted.
- reject(Pattern) - Method in class org.apache.commons.io.serialization.ValidatingObjectInputStream
-
Reject class names that match the supplied pattern for
deserialization, even if they are otherwise accepted.
- reject(ClassNameMatcher) - Method in class org.apache.commons.io.serialization.ValidatingObjectInputStream
-
Reject class names where the supplied ClassNameMatcher matches for
deserialization, even if they are otherwise accepted.
- 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
-
Remove a file system listener.
- removeObserver(FileAlterationObserver) - Method in class org.apache.commons.io.monitor.FileAlterationMonitor
-
Remove a file system observer from this monitor.
- requiredCharsets() - Static method in class org.apache.commons.io.Charsets
-
Constructs a sorted map from canonical charset names to charset objects required of every implementation of the
Java platform.
- reset() - Method in class org.apache.commons.io.input.BOMInputStream
-
Invokes the delegate's
reset()
method.
- reset() - Method in class org.apache.commons.io.input.BoundedInputStream
-
Invokes the delegate's
reset()
method.
- reset() - Method in class org.apache.commons.io.input.BoundedReader
-
Resets the target to the latest mark,
- reset() - Method in class org.apache.commons.io.input.BrokenInputStream
-
Throws the configured exception.
- reset() - Method in class org.apache.commons.io.input.CharSequenceInputStream
-
- reset() - Method in class org.apache.commons.io.input.CharSequenceReader
-
Reset the reader to the last marked position (or the beginning if
mark has not been called).
- reset() - Method in class org.apache.commons.io.input.NullInputStream
-
Reset the stream to the point when mark was last called.
- reset() - Method in class org.apache.commons.io.input.NullReader
-
Reset the stream to the point when mark was last called.
- reset() - Method in class org.apache.commons.io.input.ProxyInputStream
-
Invokes the delegate's
reset()
method.
- reset() - Method in class org.apache.commons.io.input.ProxyReader
-
Invokes the delegate's
reset()
method.
- reset() - Method in class org.apache.commons.io.output.ByteArrayOutputStream
-
- resetByteCount() - Method in class org.apache.commons.io.input.CountingInputStream
-
Set the byte count back to 0.
- resetByteCount() - Method in class org.apache.commons.io.output.CountingOutputStream
-
Set the byte count back to 0.
- resetByteCount() - Method in class org.apache.commons.io.output.ThresholdingOutputStream
-
Resets the byteCount to zero.
- resetCount() - Method in class org.apache.commons.io.input.CountingInputStream
-
Set the byte count back to 0.
- resetCount() - Method in class org.apache.commons.io.output.CountingOutputStream
-
Set the byte count back to 0.
- resolveClass(ObjectStreamClass) - Method in class org.apache.commons.io.input.ClassLoaderObjectInputStream
-
Resolve a class specified by the descriptor using the
specified ClassLoader or the super ClassLoader.
- resolveClass(ObjectStreamClass) - Method in class org.apache.commons.io.serialization.ValidatingObjectInputStream
-
- resolveProxyClass(String[]) - Method in class org.apache.commons.io.input.ClassLoaderObjectInputStream
-
Create a proxy class that implements the specified interfaces using
the specified ClassLoader or the super ClassLoader.
- resourceToByteArray(String) - Static method in class org.apache.commons.io.IOUtils
-
Gets the contents of a classpath resource as a byte array.
- resourceToByteArray(String, ClassLoader) - Static method in class org.apache.commons.io.IOUtils
-
Gets the contents of a classpath resource as a byte array.
- resourceToString(String, Charset) - Static method in class org.apache.commons.io.IOUtils
-
Gets the contents of a classpath resource as a String using the
specified character encoding.
- resourceToString(String, Charset, ClassLoader) - Static method in class org.apache.commons.io.IOUtils
-
Gets the contents of a classpath resource as a String using the
specified character encoding.
- resourceToURL(String) - Static method in class org.apache.commons.io.IOUtils
-
Gets a URL pointing to the given classpath resource.
- resourceToURL(String, ClassLoader) - Static method in class org.apache.commons.io.IOUtils
-
Gets a URL pointing to the given classpath resource.
- ReversedLinesFileReader - Class in org.apache.commons.io.input
-
Reads lines in a file reversely (similar to a BufferedReader, but starting at
the last line).
- ReversedLinesFileReader(File) - Constructor for class org.apache.commons.io.input.ReversedLinesFileReader
-
Deprecated.
2.5 use
ReversedLinesFileReader.ReversedLinesFileReader(File, Charset)
instead
- ReversedLinesFileReader(File, Charset) - Constructor for class org.apache.commons.io.input.ReversedLinesFileReader
-
Creates a ReversedLinesFileReader with default block size of 4KB and the
specified encoding.
- ReversedLinesFileReader(File, int, Charset) - Constructor for class org.apache.commons.io.input.ReversedLinesFileReader
-
Creates a ReversedLinesFileReader with the given block size and encoding.
- ReversedLinesFileReader(File, int, String) - Constructor for class org.apache.commons.io.input.ReversedLinesFileReader
-
Creates a ReversedLinesFileReader with the given block size and encoding.
- run() - Method in class org.apache.commons.io.input.Tailer
-
Follows changes in the file, calling the TailerListener's handle method for each new line.
- run() - Method in class org.apache.commons.io.monitor.FileAlterationMonitor
-
Run.
S
- separatorsToSystem(String) - Static method in class org.apache.commons.io.FilenameUtils
-
Converts all separators to the system separator.
- separatorsToUnix(String) - Static method in class org.apache.commons.io.FilenameUtils
-
Converts all separators to the Unix separator of forward slash.
- separatorsToWindows(String) - Static method in class org.apache.commons.io.FilenameUtils
-
Converts all separators to the Windows separator of backslash.
- setByteCount(long) - Method in class org.apache.commons.io.output.ThresholdingOutputStream
-
Sets the byteCount to count.
- setChildren(FileEntry[]) - Method in class org.apache.commons.io.monitor.FileEntry
-
Set the directory's files.
- setDirectory(boolean) - Method in class org.apache.commons.io.monitor.FileEntry
-
Set whether the file is a directory or not.
- setExists(boolean) - Method in class org.apache.commons.io.monitor.FileEntry
-
Set whether the file existed the last time it
was checked.
- setFileFilters(List<IOFileFilter>) - Method in class org.apache.commons.io.filefilter.AndFileFilter
-
Sets the list of file filters, replacing any previously configured
file filters on this filter.
- setFileFilters(List<IOFileFilter>) - Method in interface org.apache.commons.io.filefilter.ConditionalFileFilter
-
Sets the list of file filters, replacing any previously configured
file filters on this filter.
- setFileFilters(List<IOFileFilter>) - Method in class org.apache.commons.io.filefilter.OrFileFilter
-
Sets the list of file filters, replacing any previously configured
file filters on this filter.
- setLastModified(long) - Method in class org.apache.commons.io.monitor.FileEntry
-
Return the last modified time from the last time it
was checked.
- setLength(long) - Method in class org.apache.commons.io.monitor.FileEntry
-
Set the length.
- setName(String) - Method in class org.apache.commons.io.monitor.FileEntry
-
Set the file name.
- setPropagateClose(boolean) - Method in class org.apache.commons.io.input.BoundedInputStream
-
Set whether the
BoundedInputStream.close()
method
should propagate to the underling InputStream
.
- setThreadFactory(ThreadFactory) - Method in class org.apache.commons.io.monitor.FileAlterationMonitor
-
Set the thread factory.
- size() - Method in class org.apache.commons.io.output.ByteArrayOutputStream
-
Return the current size of the byte array.
- SIZE_COMPARATOR - Static variable in class org.apache.commons.io.comparator.SizeFileComparator
-
Size comparator instance - directories are treated as zero size
- SIZE_REVERSE - Static variable in class org.apache.commons.io.comparator.SizeFileComparator
-
Reverse size comparator instance - directories are treated as zero size
- SIZE_SUMDIR_COMPARATOR - Static variable in class org.apache.commons.io.comparator.SizeFileComparator
-
Size comparator instance which sums the size of a directory's contents
using
FileUtils.sizeOfDirectory(File)
- SIZE_SUMDIR_REVERSE - Static variable in class org.apache.commons.io.comparator.SizeFileComparator
-
Reverse size comparator instance which sums the size of a directory's contents
using
FileUtils.sizeOfDirectory(File)
- SizeFileComparator - Class in org.apache.commons.io.comparator
-
Compare the length/size of two files for order (see
File.length()
and FileUtils.sizeOfDirectory(File)
).
- SizeFileComparator() - Constructor for class org.apache.commons.io.comparator.SizeFileComparator
-
Construct a file size comparator instance (directories treated as zero size).
- SizeFileComparator(boolean) - Constructor for class org.apache.commons.io.comparator.SizeFileComparator
-
Construct a file size comparator instance specifying whether the size of
the directory contents should be aggregated.
- sizeFileFilter(long) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
-
Returns a filter that returns true if the file is bigger than a certain size.
- sizeFileFilter(long, boolean) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
-
Returns a filter that filters based on file size.
- SizeFileFilter - Class in org.apache.commons.io.filefilter
-
Filters files based on size, can filter either smaller files or
files equal to or larger than a given threshold.
- SizeFileFilter(long) - Constructor for class org.apache.commons.io.filefilter.SizeFileFilter
-
Constructs a new size file filter for files equal to or
larger than a certain size.
- SizeFileFilter(long, boolean) - Constructor for class org.apache.commons.io.filefilter.SizeFileFilter
-
Constructs a new size file filter for files based on a certain size
threshold.
- sizeOf(File) - Static method in class org.apache.commons.io.FileUtils
-
Returns the size of the specified file or directory.
- sizeOfAsBigInteger(File) - Static method in class org.apache.commons.io.FileUtils
-
Returns the size of the specified file or directory.
- sizeOfDirectory(File) - Static method in class org.apache.commons.io.FileUtils
-
Counts the size of a directory recursively (sum of the length of all files).
- sizeOfDirectoryAsBigInteger(File) - Static method in class org.apache.commons.io.FileUtils
-
Counts the size of a directory recursively (sum of the length of all files).
- sizeRangeFileFilter(long, long) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
-
Returns a filter that accepts files whose size is >= minimum size
and <= maximum size.
- skip(long) - Method in class org.apache.commons.io.input.BOMInputStream
-
Invokes the delegate's
skip(long)
method, detecting and optionally skipping BOM.
- skip(long) - Method in class org.apache.commons.io.input.BoundedInputStream
-
Invokes the delegate's
skip(long)
method.
- skip(long) - Method in class org.apache.commons.io.input.BrokenInputStream
-
Throws the configured exception.
- skip(long) - Method in class org.apache.commons.io.input.CharSequenceInputStream
-
- skip(long) - Method in class org.apache.commons.io.input.CharSequenceReader
-
Skip the specified number of characters.
- skip(long) - Method in class org.apache.commons.io.input.CountingInputStream
-
Skips the stream over the specified number of bytes, adding the skipped
amount to the count.
- skip(long) - Method in class org.apache.commons.io.input.NullInputStream
-
Skip a specified number of bytes.
- skip(long) - Method in class org.apache.commons.io.input.NullReader
-
Skip a specified number of characters.
- skip(long) - Method in class org.apache.commons.io.input.ProxyInputStream
-
Invokes the delegate's
skip(long)
method.
- skip(long) - Method in class org.apache.commons.io.input.ProxyReader
-
Invokes the delegate's
skip(long)
method.
- skip(InputStream, long) - Static method in class org.apache.commons.io.IOUtils
-
Skips bytes from an input byte stream.
- skip(ReadableByteChannel, long) - Static method in class org.apache.commons.io.IOUtils
-
Skips bytes from a ReadableByteChannel.
- skip(Reader, long) - Static method in class org.apache.commons.io.IOUtils
-
Skips characters from an input character stream.
- skipBytes(int) - Method in class org.apache.commons.io.input.SwappedDataInputStream
-
Invokes the delegate's
skip(int)
method.
- skipFully(InputStream, long) - Static method in class org.apache.commons.io.IOUtils
-
Skips the requested number of bytes or fail if there are not enough left.
- skipFully(ReadableByteChannel, long) - Static method in class org.apache.commons.io.IOUtils
-
Skips the requested number of bytes or fail if there are not enough left.
- skipFully(Reader, long) - Static method in class org.apache.commons.io.IOUtils
-
Skips the requested number of characters or fail if there are not enough left.
- start() - Method in class org.apache.commons.io.monitor.FileAlterationMonitor
-
Start monitoring.
- stop() - Method in class org.apache.commons.io.input.Tailer
-
Allows the tailer to complete its current loop and return.
- stop() - Method in class org.apache.commons.io.monitor.FileAlterationMonitor
-
Stop monitoring.
- stop(long) - Method in class org.apache.commons.io.monitor.FileAlterationMonitor
-
Stop monitoring.
- StringBuilderWriter - Class in org.apache.commons.io.output
-
Writer
implementation that outputs to a StringBuilder
.
- StringBuilderWriter() - Constructor for class org.apache.commons.io.output.StringBuilderWriter
-
Constructs a new
StringBuilder
instance with default capacity.
- StringBuilderWriter(int) - Constructor for class org.apache.commons.io.output.StringBuilderWriter
-
Constructs a new
StringBuilder
instance with the specified capacity.
- StringBuilderWriter(StringBuilder) - Constructor for class org.apache.commons.io.output.StringBuilderWriter
-
Constructs a new instance with the specified
StringBuilder
.
- suffixFileFilter(String) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
-
Returns a filter that returns true if the filename ends with the specified text.
- suffixFileFilter(String, IOCase) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
-
Returns a filter that returns true if the filename ends with the specified text.
- SuffixFileFilter - Class in org.apache.commons.io.filefilter
-
Filters files based on the suffix (what the filename ends with).
- SuffixFileFilter(String) - Constructor for class org.apache.commons.io.filefilter.SuffixFileFilter
-
Constructs a new Suffix file filter for a single extension.
- SuffixFileFilter(String, IOCase) - Constructor for class org.apache.commons.io.filefilter.SuffixFileFilter
-
Constructs a new Suffix file filter for a single extension
specifying case-sensitivity.
- SuffixFileFilter(String[]) - Constructor for class org.apache.commons.io.filefilter.SuffixFileFilter
-
Constructs a new Suffix file filter for an array of suffixes.
- SuffixFileFilter(String[], IOCase) - Constructor for class org.apache.commons.io.filefilter.SuffixFileFilter
-
Constructs a new Suffix file filter for an array of suffixes
specifying case-sensitivity.
- SuffixFileFilter(List<String>) - Constructor for class org.apache.commons.io.filefilter.SuffixFileFilter
-
Constructs a new Suffix file filter for a list of suffixes.
- SuffixFileFilter(List<String>, IOCase) - Constructor for class org.apache.commons.io.filefilter.SuffixFileFilter
-
Constructs a new Suffix file filter for a list of suffixes
specifying case-sensitivity.
- swapDouble(double) - Static method in class org.apache.commons.io.EndianUtils
-
Converts a "double" value between endian systems.
- swapFloat(float) - Static method in class org.apache.commons.io.EndianUtils
-
Converts a "float" value between endian systems.
- swapInteger(int) - Static method in class org.apache.commons.io.EndianUtils
-
Converts a "int" value between endian systems.
- swapLong(long) - Static method in class org.apache.commons.io.EndianUtils
-
Converts a "long" value between endian systems.
- SwappedDataInputStream - Class in org.apache.commons.io.input
-
DataInput for systems relying on little endian data formats.
- SwappedDataInputStream(InputStream) - Constructor for class org.apache.commons.io.input.SwappedDataInputStream
-
Constructs a SwappedDataInputStream.
- swapShort(short) - Static method in class org.apache.commons.io.EndianUtils
-
Converts a "short" value between endian systems.
T
- TaggedInputStream - Class in org.apache.commons.io.input
-
An input stream decorator that tags potential exceptions so that the
stream that caused the exception can easily be identified.
- TaggedInputStream(InputStream) - Constructor for class org.apache.commons.io.input.TaggedInputStream
-
Creates a tagging decorator for the given input stream.
- TaggedIOException - Exception in org.apache.commons.io
-
An
IOException
decorator that adds a serializable tag to the
wrapped exception.
- TaggedIOException(IOException, Serializable) - Constructor for exception org.apache.commons.io.TaggedIOException
-
Creates a tagged wrapper for the given exception.
- TaggedOutputStream - Class in org.apache.commons.io.output
-
An output stream decorator that tags potential exceptions so that the
stream that caused the exception can easily be identified.
- TaggedOutputStream(OutputStream) - Constructor for class org.apache.commons.io.output.TaggedOutputStream
-
Creates a tagging decorator for the given output stream.
- Tailer - Class in org.apache.commons.io.input
-
Simple implementation of the unix "tail -f" functionality.
- Tailer(File, TailerListener) - Constructor for class org.apache.commons.io.input.Tailer
-
Creates a Tailer for the given file, starting from the beginning, with the default delay of 1.0s.
- Tailer(File, TailerListener, long) - Constructor for class org.apache.commons.io.input.Tailer
-
Creates a Tailer for the given file, starting from the beginning.
- Tailer(File, TailerListener, long, boolean) - Constructor for class org.apache.commons.io.input.Tailer
-
Creates a Tailer for the given file, with a delay other than the default 1.0s.
- Tailer(File, TailerListener, long, boolean, boolean) - Constructor for class org.apache.commons.io.input.Tailer
-
Creates a Tailer for the given file, with a delay other than the default 1.0s.
- Tailer(File, TailerListener, long, boolean, int) - Constructor for class org.apache.commons.io.input.Tailer
-
Creates a Tailer for the given file, with a specified buffer size.
- Tailer(File, TailerListener, long, boolean, boolean, int) - Constructor for class org.apache.commons.io.input.Tailer
-
Creates a Tailer for the given file, with a specified buffer size.
- Tailer(File, Charset, TailerListener, long, boolean, boolean, int) - Constructor for class org.apache.commons.io.input.Tailer
-
Creates a Tailer for the given file, with a specified buffer size.
- TailerListener - Interface in org.apache.commons.io.input
-
Listener for events from a
Tailer
.
- TailerListenerAdapter - Class in org.apache.commons.io.input
-
TailerListener
Adapter.
- TailerListenerAdapter() - Constructor for class org.apache.commons.io.input.TailerListenerAdapter
-
- TeeInputStream - Class in org.apache.commons.io.input
-
InputStream proxy that transparently writes a copy of all bytes read
from the proxied stream to a given OutputStream.
- TeeInputStream(InputStream, OutputStream) - Constructor for class org.apache.commons.io.input.TeeInputStream
-
Creates a TeeInputStream that proxies the given
InputStream
and copies all read bytes to the given OutputStream
.
- TeeInputStream(InputStream, OutputStream, boolean) - Constructor for class org.apache.commons.io.input.TeeInputStream
-
Creates a TeeInputStream that proxies the given
InputStream
and copies all read bytes to the given OutputStream
.
- TeeOutputStream - Class in org.apache.commons.io.output
-
Classic splitter of OutputStream.
- TeeOutputStream(OutputStream, OutputStream) - Constructor for class org.apache.commons.io.output.TeeOutputStream
-
Constructs a TeeOutputStream.
- ThresholdingOutputStream - Class in org.apache.commons.io.output
-
An output stream which triggers an event when a specified number of bytes of
data have been written to it.
- ThresholdingOutputStream(int) - Constructor for class org.apache.commons.io.output.ThresholdingOutputStream
-
Constructs an instance of this class which will trigger an event at the
specified threshold.
- thresholdReached() - Method in class org.apache.commons.io.output.DeferredFileOutputStream
-
Switches the underlying output stream from a memory based stream to one
that is backed by disk.
- thresholdReached() - Method in class org.apache.commons.io.output.ThresholdingOutputStream
-
Indicates that the configured threshold has been reached, and that a
subclass should take whatever action necessary on this event.
- throwCauseIfTaggedWith(Throwable, Object) - Static method in exception org.apache.commons.io.TaggedIOException
-
Throws the original
IOException
if the given throwable is
a TaggedIOException
decorator the given tag.
- throwIfCauseOf(Throwable) - Method in class org.apache.commons.io.input.TaggedInputStream
-
Re-throws the original exception thrown by this stream.
- throwIfCauseOf(Exception) - Method in class org.apache.commons.io.output.TaggedOutputStream
-
Re-throws the original exception thrown by this stream.
- toBufferedInputStream(InputStream) - Static method in class org.apache.commons.io.IOUtils
-
Fetches entire contents of an
InputStream
and represent
same data as result InputStream.
- toBufferedInputStream(InputStream, int) - Static method in class org.apache.commons.io.IOUtils
-
Fetches entire contents of an
InputStream
and represent
same data as result InputStream.
- toBufferedInputStream(InputStream) - Static method in class org.apache.commons.io.output.ByteArrayOutputStream
-
Fetches entire contents of an
InputStream
and represent
same data as result InputStream.
- toBufferedInputStream(InputStream, int) - Static method in class org.apache.commons.io.output.ByteArrayOutputStream
-
Fetches entire contents of an
InputStream
and represent
same data as result InputStream.
- toBufferedReader(Reader) - Static method in class org.apache.commons.io.IOUtils
-
Returns the given reader if it is a
BufferedReader
, otherwise creates a BufferedReader from the given
reader.
- toBufferedReader(Reader, int) - Static method in class org.apache.commons.io.IOUtils
-
Returns the given reader if it is a
BufferedReader
, otherwise creates a BufferedReader from the given
reader.
- toByteArray(InputStream) - Static method in class org.apache.commons.io.IOUtils
-
Gets the contents of an
InputStream
as a byte[]
.
- toByteArray(InputStream, long) - Static method in class org.apache.commons.io.IOUtils
-
Gets contents of an
InputStream
as a byte[]
.
- toByteArray(InputStream, int) - Static method in class org.apache.commons.io.IOUtils
-
Gets the contents of an
InputStream
as a byte[]
.
- toByteArray(Reader) - Static method in class org.apache.commons.io.IOUtils
-
Deprecated.
2.5 use
IOUtils.toByteArray(Reader, Charset)
instead
- toByteArray(Reader, Charset) - Static method in class org.apache.commons.io.IOUtils
-
Gets the contents of a
Reader
as a byte[]
using the specified character encoding.
- toByteArray(Reader, String) - Static method in class org.apache.commons.io.IOUtils
-
Gets the contents of a
Reader
as a byte[]
using the specified character encoding.
- toByteArray(String) - Static method in class org.apache.commons.io.IOUtils
-
Deprecated.
2.5 Use
String.getBytes()
instead
- toByteArray(URI) - Static method in class org.apache.commons.io.IOUtils
-
Gets the contents of a
URI
as a byte[]
.
- toByteArray(URL) - Static method in class org.apache.commons.io.IOUtils
-
Gets the contents of a
URL
as a byte[]
.
- toByteArray(URLConnection) - Static method in class org.apache.commons.io.IOUtils
-
Gets the contents of a
URLConnection
as a byte[]
.
- toByteArray() - Method in class org.apache.commons.io.output.ByteArrayOutputStream
-
Gets the current contents of this byte stream as a byte array.
- toCharArray(InputStream) - Static method in class org.apache.commons.io.IOUtils
-
Deprecated.
2.5 use
IOUtils.toCharArray(InputStream, Charset)
instead
- toCharArray(InputStream, Charset) - Static method in class org.apache.commons.io.IOUtils
-
Gets the contents of an
InputStream
as a character array
using the specified character encoding.
- toCharArray(InputStream, String) - Static method in class org.apache.commons.io.IOUtils
-
Gets the contents of an
InputStream
as a character array
using the specified character encoding.
- toCharArray(Reader) - Static method in class org.apache.commons.io.IOUtils
-
Gets the contents of a
Reader
as a character array.
- toCharset(Charset) - Static method in class org.apache.commons.io.Charsets
-
Returns the given Charset or the default Charset if the given Charset is null.
- toCharset(String) - Static method in class org.apache.commons.io.Charsets
-
Returns a Charset for the named charset.
- toFile(URL) - Static method in class org.apache.commons.io.FileUtils
-
Convert from a
URL
to a File
.
- toFiles(URL[]) - Static method in class org.apache.commons.io.FileUtils
-
Converts each of an array of
URL
to a File
.
- toInputStream(CharSequence) - Static method in class org.apache.commons.io.IOUtils
-
Deprecated.
2.5 use
IOUtils.toInputStream(CharSequence, Charset)
instead
- toInputStream(CharSequence, Charset) - Static method in class org.apache.commons.io.IOUtils
-
Converts the specified CharSequence to an input stream, encoded as bytes
using the specified character encoding.
- toInputStream(CharSequence, String) - Static method in class org.apache.commons.io.IOUtils
-
Converts the specified CharSequence to an input stream, encoded as bytes
using the specified character encoding.
- toInputStream(String) - Static method in class org.apache.commons.io.IOUtils
-
Deprecated.
2.5 use
IOUtils.toInputStream(String, Charset)
instead
- toInputStream(String, Charset) - Static method in class org.apache.commons.io.IOUtils
-
Converts the specified string to an input stream, encoded as bytes
using the specified character encoding.
- toInputStream(String, String) - Static method in class org.apache.commons.io.IOUtils
-
Converts the specified string to an input stream, encoded as bytes
using the specified character encoding.
- toInputStream() - Method in class org.apache.commons.io.output.ByteArrayOutputStream
-
Gets the current contents of this byte stream as a Input Stream.
- toList(IOFileFilter...) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
-
Create a List of file filters.
- toString() - Method in class org.apache.commons.io.ByteOrderMark
-
Provide a String representation of the BOM.
- toString() - Method in class org.apache.commons.io.comparator.CompositeFileComparator
-
String representation of this file comparator.
- toString() - Method in class org.apache.commons.io.comparator.ExtensionFileComparator
-
String representation of this file comparator.
- toString() - Method in class org.apache.commons.io.comparator.NameFileComparator
-
String representation of this file comparator.
- toString() - Method in class org.apache.commons.io.comparator.PathFileComparator
-
String representation of this file comparator.
- toString() - Method in class org.apache.commons.io.comparator.SizeFileComparator
-
String representation of this file comparator.
- toString() - Method in class org.apache.commons.io.FileDeleteStrategy
-
Gets a string describing the delete strategy.
- toString() - Method in class org.apache.commons.io.filefilter.AbstractFileFilter
-
Provide a String representation of this file filter.
- toString() - Method in class org.apache.commons.io.filefilter.AgeFileFilter
-
Provide a String representation of this file filter.
- toString() - Method in class org.apache.commons.io.filefilter.AndFileFilter
-
Provide a String representation of this file filter.
- toString() - Method in class org.apache.commons.io.filefilter.DelegateFileFilter
-
Provide a String representation of this file filter.
- toString() - Method in class org.apache.commons.io.filefilter.MagicNumberFileFilter
-
Returns a String representation of the file filter, which includes the
magic number bytes and byte offset.
- toString() - Method in class org.apache.commons.io.filefilter.NameFileFilter
-
Provide a String representation of this file filter.
- toString() - Method in class org.apache.commons.io.filefilter.NotFileFilter
-
Provide a String representation of this file filter.
- toString() - Method in class org.apache.commons.io.filefilter.OrFileFilter
-
Provide a String representation of this file filter.
- toString() - Method in class org.apache.commons.io.filefilter.PrefixFileFilter
-
Provide a String representation of this file filter.
- toString() - Method in class org.apache.commons.io.filefilter.SizeFileFilter
-
Provide a String representation of this file filter.
- toString() - Method in class org.apache.commons.io.filefilter.SuffixFileFilter
-
Provide a String representation of this file filter.
- toString() - Method in class org.apache.commons.io.filefilter.WildcardFileFilter
-
Provide a String representation of this file filter.
- toString() - Method in class org.apache.commons.io.input.BoundedInputStream
-
Invokes the delegate's
toString()
method.
- toString() - Method in class org.apache.commons.io.input.CharSequenceReader
-
Return a String representation of the underlying
character sequence.
- toString() - Method in enum org.apache.commons.io.IOCase
-
Gets a string describing the sensitivity.
- toString(InputStream) - Static method in class org.apache.commons.io.IOUtils
-
Deprecated.
2.5 use
IOUtils.toString(InputStream, Charset)
instead
- toString(InputStream, Charset) - Static method in class org.apache.commons.io.IOUtils
-
Gets the contents of an
InputStream
as a String
using the specified character encoding.
- toString(InputStream, String) - Static method in class org.apache.commons.io.IOUtils
-
Gets the contents of an
InputStream
as a String
using the specified character encoding.
- toString(Reader) - Static method in class org.apache.commons.io.IOUtils
-
Gets the contents of a
Reader
as a String.
- toString(URI) - Static method in class org.apache.commons.io.IOUtils
-
Deprecated.
2.5 use
IOUtils.toString(URI, Charset)
instead
- toString(URI, Charset) - Static method in class org.apache.commons.io.IOUtils
-
Gets the contents at the given URI.
- toString(URI, String) - Static method in class org.apache.commons.io.IOUtils
-
Gets the contents at the given URI.
- toString(URL) - Static method in class org.apache.commons.io.IOUtils
-
Deprecated.
2.5 use
IOUtils.toString(URL, Charset)
instead
- toString(URL, Charset) - Static method in class org.apache.commons.io.IOUtils
-
Gets the contents at the given URL.
- toString(URL, String) - Static method in class org.apache.commons.io.IOUtils
-
Gets the contents at the given URL.
- toString(byte[]) - Static method in class org.apache.commons.io.IOUtils
-
Deprecated.
2.5 Use
String.String(byte[])
instead
- toString(byte[], String) - Static method in class org.apache.commons.io.IOUtils
-
Gets the contents of a
byte[]
as a String
using the specified character encoding.
- toString() - Method in class org.apache.commons.io.monitor.FileAlterationObserver
-
Provide a String representation of this observer.
- toString() - Method in class org.apache.commons.io.output.ByteArrayOutputStream
-
Deprecated.
2.5 use
ByteArrayOutputStream.toString(String)
instead
- toString(String) - Method in class org.apache.commons.io.output.ByteArrayOutputStream
-
Gets the current contents of this byte stream as a string
using the specified encoding.
- toString(Charset) - Method in class org.apache.commons.io.output.ByteArrayOutputStream
-
Gets the current contents of this byte stream as a string
using the specified encoding.
- toString() - Method in class org.apache.commons.io.output.StringBuilderWriter
-
Returns
StringBuilder.toString()
.
- touch(File) - Static method in class org.apache.commons.io.FileUtils
-
Implements the same behaviour as the "touch" utility on Unix.
- toURLs(File[]) - Static method in class org.apache.commons.io.FileUtils
-
Converts each of an array of
File
to a URL
.
- track(File, Object) - Static method in class org.apache.commons.io.FileCleaner
-
Deprecated.
- track(File, Object, FileDeleteStrategy) - Static method in class org.apache.commons.io.FileCleaner
-
Deprecated.
- track(String, Object) - Static method in class org.apache.commons.io.FileCleaner
-
Deprecated.
- track(String, Object, FileDeleteStrategy) - Static method in class org.apache.commons.io.FileCleaner
-
Deprecated.
- track(File, Object) - Method in class org.apache.commons.io.FileCleaningTracker
-
Track the specified file, using the provided marker, deleting the file
when the marker instance is garbage collected.
- track(File, Object, FileDeleteStrategy) - Method in class org.apache.commons.io.FileCleaningTracker
-
Track the specified file, using the provided marker, deleting the file
when the marker instance is garbage collected.
- track(String, Object) - Method in class org.apache.commons.io.FileCleaningTracker
-
Track the specified file, using the provided marker, deleting the file
when the marker instance is garbage collected.
- track(String, Object, FileDeleteStrategy) - Method in class org.apache.commons.io.FileCleaningTracker
-
Track the specified file, using the provided marker, deleting the file
when the marker instance is garbage collected.
- TRUE - Static variable in class org.apache.commons.io.filefilter.TrueFileFilter
-
Singleton instance of true filter.
- trueFileFilter() - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
-
Returns a filter that always returns true.
- TrueFileFilter - Class in org.apache.commons.io.filefilter
-
A file filter that always returns true.
- TrueFileFilter() - Constructor for class org.apache.commons.io.filefilter.TrueFileFilter
-
Restrictive constructor.
U
- UnixLineEndingInputStream - Class in org.apache.commons.io.input
-
A filtering input stream that ensures the content will have unix-style line endings, LF.
- UnixLineEndingInputStream(InputStream, boolean) - Constructor for class org.apache.commons.io.input.UnixLineEndingInputStream
-
Create an input stream that filters another stream
- US_ASCII - Static variable in class org.apache.commons.io.Charsets
-
Deprecated.
Use Java 7's
StandardCharsets
- UTF_16 - Static variable in class org.apache.commons.io.Charsets
-
Deprecated.
Use Java 7's
StandardCharsets
- UTF_16BE - Static variable in class org.apache.commons.io.ByteOrderMark
-
UTF-16BE BOM (Big-Endian)
- UTF_16BE - Static variable in class org.apache.commons.io.Charsets
-
Deprecated.
Use Java 7's
StandardCharsets
- UTF_16LE - Static variable in class org.apache.commons.io.ByteOrderMark
-
UTF-16LE BOM (Little-Endian)
- UTF_16LE - Static variable in class org.apache.commons.io.Charsets
-
Deprecated.
Use Java 7's
StandardCharsets
- UTF_32BE - Static variable in class org.apache.commons.io.ByteOrderMark
-
UTF-32BE BOM (Big-Endian)
- UTF_32LE - Static variable in class org.apache.commons.io.ByteOrderMark
-
UTF-32LE BOM (Little-Endian)
- UTF_8 - Static variable in class org.apache.commons.io.ByteOrderMark
-
UTF-8 BOM
- UTF_8 - Static variable in class org.apache.commons.io.Charsets
-
Deprecated.
Use Java 7's
StandardCharsets
- UTF_BOM - Static variable in class org.apache.commons.io.ByteOrderMark
-
Unicode BOM character; external form depends on the encoding.
V
- ValidatingObjectInputStream - Class in org.apache.commons.io.serialization
-
An
ObjectInputStream
that's restricted to deserialize
a limited set of classes.
- ValidatingObjectInputStream(InputStream) - Constructor for class org.apache.commons.io.serialization.ValidatingObjectInputStream
-
Constructs an object to deserialize the specified input stream.
- valueOf(String) - Static method in enum org.apache.commons.io.IOCase
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.apache.commons.io.IOCase
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- VISIBLE - Static variable in class org.apache.commons.io.filefilter.HiddenFileFilter
-
Singleton instance of visible filter
W
- waitFor(File, int) - Static method in class org.apache.commons.io.FileUtils
-
Waits for NFS to propagate a file creation, imposing a timeout.
- walk(File, Collection<T>) - Method in class org.apache.commons.io.DirectoryWalker
-
Internal method that walks the directory hierarchy in a depth-first manner.
- WildcardFileFilter - Class in org.apache.commons.io.filefilter
-
Filters files using the supplied wildcards.
- WildcardFileFilter(String) - Constructor for class org.apache.commons.io.filefilter.WildcardFileFilter
-
Construct a new case-sensitive wildcard filter for a single wildcard.
- WildcardFileFilter(String, IOCase) - Constructor for class org.apache.commons.io.filefilter.WildcardFileFilter
-
Construct a new wildcard filter for a single wildcard specifying case-sensitivity.
- WildcardFileFilter(String[]) - Constructor for class org.apache.commons.io.filefilter.WildcardFileFilter
-
Construct a new case-sensitive wildcard filter for an array of wildcards.
- WildcardFileFilter(String[], IOCase) - Constructor for class org.apache.commons.io.filefilter.WildcardFileFilter
-
Construct a new wildcard filter for an array of wildcards specifying case-sensitivity.
- WildcardFileFilter(List<String>) - Constructor for class org.apache.commons.io.filefilter.WildcardFileFilter
-
Construct a new case-sensitive wildcard filter for a list of wildcards.
- WildcardFileFilter(List<String>, IOCase) - Constructor for class org.apache.commons.io.filefilter.WildcardFileFilter
-
Construct a new wildcard filter for a list of wildcards specifying case-sensitivity.
- WildcardFilter - Class in org.apache.commons.io.filefilter
-
Deprecated.
Use WildcardFileFilter. Deprecated as this class performs directory
filtering which it shouldn't do, but that can't be removed due to compatibility.
- WildcardFilter(String) - Constructor for class org.apache.commons.io.filefilter.WildcardFilter
-
Deprecated.
Construct a new case-sensitive wildcard filter for a single wildcard.
- WildcardFilter(String[]) - Constructor for class org.apache.commons.io.filefilter.WildcardFilter
-
Deprecated.
Construct a new case-sensitive wildcard filter for an array of wildcards.
- WildcardFilter(List<String>) - Constructor for class org.apache.commons.io.filefilter.WildcardFilter
-
Deprecated.
Construct a new case-sensitive wildcard filter for a list of wildcards.
- wildcardMatch(String, String) - Static method in class org.apache.commons.io.FilenameUtils
-
Checks a filename to see if it matches the specified wildcard matcher,
always testing case-sensitive.
- wildcardMatch(String, String, IOCase) - Static method in class org.apache.commons.io.FilenameUtils
-
Checks a filename to see if it matches the specified wildcard matcher
allowing control over case-sensitivity.
- wildcardMatchOnSystem(String, String) - Static method in class org.apache.commons.io.FilenameUtils
-
Checks a filename to see if it matches the specified wildcard matcher
using the case rules of the system.
- WindowsLineEndingInputStream - Class in org.apache.commons.io.input
-
A filtering input stream that ensures the content will have windows line endings, CRLF.
- WindowsLineEndingInputStream(InputStream, boolean) - Constructor for class org.apache.commons.io.input.WindowsLineEndingInputStream
-
Create an input stream that filters another stream
- write(File, CharSequence) - Static method in class org.apache.commons.io.FileUtils
-
Deprecated.
2.5 use
FileUtils.write(File, CharSequence, Charset)
instead (and specify the appropriate encoding)
- write(File, CharSequence, boolean) - Static method in class org.apache.commons.io.FileUtils
-
Deprecated.
2.5 use
FileUtils.write(File, CharSequence, Charset, boolean)
instead (and specify the appropriate encoding)
- write(File, CharSequence, Charset) - Static method in class org.apache.commons.io.FileUtils
-
Writes a CharSequence to a file creating the file if it does not exist.
- write(File, CharSequence, String) - Static method in class org.apache.commons.io.FileUtils
-
Writes a CharSequence to a file creating the file if it does not exist.
- write(File, CharSequence, Charset, boolean) - Static method in class org.apache.commons.io.FileUtils
-
Writes a CharSequence to a file creating the file if it does not exist.
- write(File, CharSequence, String, boolean) - Static method in class org.apache.commons.io.FileUtils
-
Writes a CharSequence to a file creating the file if it does not exist.
- write(byte[], OutputStream) - Static method in class org.apache.commons.io.IOUtils
-
Writes bytes from a
byte[]
to an OutputStream
.
- write(byte[], Writer) - Static method in class org.apache.commons.io.IOUtils
-
Deprecated.
2.5 use
IOUtils.write(byte[], Writer, Charset)
instead
- write(byte[], Writer, Charset) - Static method in class org.apache.commons.io.IOUtils
-
Writes bytes from a
byte[]
to chars on a Writer
using the specified character encoding.
- write(byte[], Writer, String) - Static method in class org.apache.commons.io.IOUtils
-
Writes bytes from a
byte[]
to chars on a Writer
using the specified character encoding.
- write(char[], Writer) - Static method in class org.apache.commons.io.IOUtils
-
Writes chars from a
char[]
to a Writer
- write(char[], OutputStream) - Static method in class org.apache.commons.io.IOUtils
-
Deprecated.
2.5 use
IOUtils.write(char[], OutputStream, Charset)
instead
- write(char[], OutputStream, Charset) - Static method in class org.apache.commons.io.IOUtils
-
Writes chars from a
char[]
to bytes on an
OutputStream
using the specified character encoding.
- write(char[], OutputStream, String) - Static method in class org.apache.commons.io.IOUtils
-
Writes chars from a
char[]
to bytes on an
OutputStream
using the specified character encoding.
- write(CharSequence, Writer) - Static method in class org.apache.commons.io.IOUtils
-
Writes chars from a
CharSequence
to a Writer
.
- write(CharSequence, OutputStream) - Static method in class org.apache.commons.io.IOUtils
-
Deprecated.
2.5 use
IOUtils.write(CharSequence, OutputStream, Charset)
instead
- write(CharSequence, OutputStream, Charset) - Static method in class org.apache.commons.io.IOUtils
-
Writes chars from a
CharSequence
to bytes on an
OutputStream
using the specified character encoding.
- write(CharSequence, OutputStream, String) - Static method in class org.apache.commons.io.IOUtils
-
Writes chars from a
CharSequence
to bytes on an
OutputStream
using the specified character encoding.
- write(String, Writer) - Static method in class org.apache.commons.io.IOUtils
-
Writes chars from a
String
to a Writer
.
- write(String, OutputStream) - Static method in class org.apache.commons.io.IOUtils
-
Deprecated.
2.5 use
IOUtils.write(String, OutputStream, Charset)
instead
- write(String, OutputStream, Charset) - Static method in class org.apache.commons.io.IOUtils
-
Writes chars from a
String
to bytes on an
OutputStream
using the specified character encoding.
- write(String, OutputStream, String) - Static method in class org.apache.commons.io.IOUtils
-
Writes chars from a
String
to bytes on an
OutputStream
using the specified character encoding.
- write(StringBuffer, Writer) - Static method in class org.apache.commons.io.IOUtils
-
Deprecated.
replaced by write(CharSequence, Writer)
- write(StringBuffer, OutputStream) - Static method in class org.apache.commons.io.IOUtils
-
Deprecated.
replaced by write(CharSequence, OutputStream)
- write(StringBuffer, OutputStream, String) - Static method in class org.apache.commons.io.IOUtils
-
Deprecated.
replaced by write(CharSequence, OutputStream, String)
- write(int) - Method in class org.apache.commons.io.output.AppendableOutputStream
-
Write a character to the underlying appendable.
- write(int) - Method in class org.apache.commons.io.output.BrokenOutputStream
-
Throws the configured exception.
- write(byte[], int, int) - Method in class org.apache.commons.io.output.ByteArrayOutputStream
-
Write the bytes to byte array.
- write(int) - Method in class org.apache.commons.io.output.ByteArrayOutputStream
-
Write a byte to byte array.
- write(InputStream) - Method in class org.apache.commons.io.output.ByteArrayOutputStream
-
Writes the entire contents of the specified input stream to this
byte stream.
- write(byte[], int, int) - Method in class org.apache.commons.io.output.ChunkedOutputStream
-
Writes the data buffer in chunks to the underlying stream
- write(char[], int, int) - Method in class org.apache.commons.io.output.ChunkedWriter
-
writes the data buffer in chunks to the underlying writer
- write(int) - Method in class org.apache.commons.io.output.ClosedOutputStream
-
Throws an
IOException
to indicate that the stream is closed.
- write(int) - Method in class org.apache.commons.io.output.DemuxOutputStream
-
Writes byte to stream associated with current thread.
- write(int) - Method in class org.apache.commons.io.output.FileWriterWithEncoding
-
Write a character.
- write(char[]) - Method in class org.apache.commons.io.output.FileWriterWithEncoding
-
Write the characters from an array.
- write(char[], int, int) - Method in class org.apache.commons.io.output.FileWriterWithEncoding
-
Write the specified characters from an array.
- write(String) - Method in class org.apache.commons.io.output.FileWriterWithEncoding
-
Write the characters from a string.
- write(String, int, int) - Method in class org.apache.commons.io.output.FileWriterWithEncoding
-
Write the specified characters from a string.
- write(int) - Method in class org.apache.commons.io.output.LockableFileWriter
-
Write a character.
- write(char[]) - Method in class org.apache.commons.io.output.LockableFileWriter
-
Write the characters from an array.
- write(char[], int, int) - Method in class org.apache.commons.io.output.LockableFileWriter
-
Write the specified characters from an array.
- write(String) - Method in class org.apache.commons.io.output.LockableFileWriter
-
Write the characters from a string.
- write(String, int, int) - Method in class org.apache.commons.io.output.LockableFileWriter
-
Write the specified characters from a string.
- write(byte[], int, int) - Method in class org.apache.commons.io.output.NullOutputStream
-
Does nothing - output to
/dev/null
.
- write(int) - Method in class org.apache.commons.io.output.NullOutputStream
-
Does nothing - output to
/dev/null
.
- write(byte[]) - Method in class org.apache.commons.io.output.NullOutputStream
-
Does nothing - output to
/dev/null
.
- write(int) - Method in class org.apache.commons.io.output.NullWriter
-
Does nothing - output to
/dev/null
.
- write(char[]) - Method in class org.apache.commons.io.output.NullWriter
-
Does nothing - output to
/dev/null
.
- write(char[], int, int) - Method in class org.apache.commons.io.output.NullWriter
-
Does nothing - output to
/dev/null
.
- write(String) - Method in class org.apache.commons.io.output.NullWriter
-
Does nothing - output to
/dev/null
.
- write(String, int, int) - Method in class org.apache.commons.io.output.NullWriter
-
Does nothing - output to
/dev/null
.
- write(int) - Method in class org.apache.commons.io.output.ProxyOutputStream
-
Invokes the delegate's
write(int)
method.
- write(byte[]) - Method in class org.apache.commons.io.output.ProxyOutputStream
-
Invokes the delegate's
write(byte[])
method.
- write(byte[], int, int) - Method in class org.apache.commons.io.output.ProxyOutputStream
-
Invokes the delegate's
write(byte[])
method.
- write(int) - Method in class org.apache.commons.io.output.ProxyWriter
-
Invokes the delegate's
write(int)
method.
- write(char[]) - Method in class org.apache.commons.io.output.ProxyWriter
-
Invokes the delegate's
write(char[])
method.
- write(char[], int, int) - Method in class org.apache.commons.io.output.ProxyWriter
-
Invokes the delegate's
write(char[], int, int)
method.
- write(String) - Method in class org.apache.commons.io.output.ProxyWriter
-
Invokes the delegate's
write(String)
method.
- write(String, int, int) - Method in class org.apache.commons.io.output.ProxyWriter
-
Invokes the delegate's
write(String)
method.
- write(String) - Method in class org.apache.commons.io.output.StringBuilderWriter
-
Writes a String to the
StringBuilder
.
- write(char[], int, int) - Method in class org.apache.commons.io.output.StringBuilderWriter
-
Writes a portion of a character array to the
StringBuilder
.
- write(byte[]) - Method in class org.apache.commons.io.output.TeeOutputStream
-
Write the bytes to both streams.
- write(byte[], int, int) - Method in class org.apache.commons.io.output.TeeOutputStream
-
Write the specified bytes to both streams.
- write(int) - Method in class org.apache.commons.io.output.TeeOutputStream
-
Write a byte to both streams.
- write(int) - Method in class org.apache.commons.io.output.ThresholdingOutputStream
-
Writes the specified byte to this output stream.
- write(byte[]) - Method in class org.apache.commons.io.output.ThresholdingOutputStream
-
Writes
b.length
bytes from the specified byte array to this
output stream.
- write(byte[], int, int) - Method in class org.apache.commons.io.output.ThresholdingOutputStream
-
Writes
len
bytes from the specified byte array starting at
offset off
to this output stream.
- write(byte[], int, int) - Method in class org.apache.commons.io.output.WriterOutputStream
-
Write bytes from the specified byte array to the stream.
- write(byte[]) - Method in class org.apache.commons.io.output.WriterOutputStream
-
Write bytes from the specified byte array to the stream.
- write(int) - Method in class org.apache.commons.io.output.WriterOutputStream
-
Write a single byte to the stream.
- write(char[], int, int) - Method in class org.apache.commons.io.output.XmlStreamWriter
-
Writes the characters to the underlying writer, detecting encoding.
- writeByteArrayToFile(File, byte[]) - Static method in class org.apache.commons.io.FileUtils
-
Writes a byte array to a file creating the file if it does not exist.
- writeByteArrayToFile(File, byte[], boolean) - Static method in class org.apache.commons.io.FileUtils
-
Writes a byte array to a file creating the file if it does not exist.
- writeByteArrayToFile(File, byte[], int, int) - Static method in class org.apache.commons.io.FileUtils
-
Writes
len
bytes from the specified byte array starting
at offset off
to a file, creating the file if it does
not exist.
- writeByteArrayToFile(File, byte[], int, int, boolean) - Static method in class org.apache.commons.io.FileUtils
-
Writes
len
bytes from the specified byte array starting
at offset off
to a file, creating the file if it does
not exist.
- writeChunked(byte[], OutputStream) - Static method in class org.apache.commons.io.IOUtils
-
Writes bytes from a
byte[]
to an OutputStream
using chunked writes.
- writeChunked(char[], Writer) - Static method in class org.apache.commons.io.IOUtils
-
Writes chars from a
char[]
to a Writer
using chunked writes.
- writeLines(File, String, Collection<?>) - Static method in class org.apache.commons.io.FileUtils
-
Writes the
toString()
value of each item in a collection to
the specified File
line by line.
- writeLines(File, String, Collection<?>, boolean) - Static method in class org.apache.commons.io.FileUtils
-
Writes the
toString()
value of each item in a collection to
the specified File
line by line, optionally appending.
- writeLines(File, Collection<?>) - Static method in class org.apache.commons.io.FileUtils
-
Writes the
toString()
value of each item in a collection to
the specified File
line by line.
- writeLines(File, Collection<?>, boolean) - Static method in class org.apache.commons.io.FileUtils
-
Writes the
toString()
value of each item in a collection to
the specified File
line by line.
- writeLines(File, String, Collection<?>, String) - Static method in class org.apache.commons.io.FileUtils
-
Writes the
toString()
value of each item in a collection to
the specified File
line by line.
- writeLines(File, String, Collection<?>, String, boolean) - Static method in class org.apache.commons.io.FileUtils
-
Writes the
toString()
value of each item in a collection to
the specified File
line by line.
- writeLines(File, Collection<?>, String) - Static method in class org.apache.commons.io.FileUtils
-
Writes the
toString()
value of each item in a collection to
the specified File
line by line.
- writeLines(File, Collection<?>, String, boolean) - Static method in class org.apache.commons.io.FileUtils
-
Writes the
toString()
value of each item in a collection to
the specified File
line by line.
- writeLines(Collection<?>, String, OutputStream) - Static method in class org.apache.commons.io.IOUtils
-
Deprecated.
2.5 use
IOUtils.writeLines(Collection, String, OutputStream, Charset)
instead
- writeLines(Collection<?>, String, OutputStream, Charset) - Static method in class org.apache.commons.io.IOUtils
-
Writes the
toString()
value of each item in a collection to
an OutputStream
line by line, using the specified character
encoding and the specified line ending.
- writeLines(Collection<?>, String, OutputStream, String) - Static method in class org.apache.commons.io.IOUtils
-
Writes the
toString()
value of each item in a collection to
an OutputStream
line by line, using the specified character
encoding and the specified line ending.
- writeLines(Collection<?>, String, Writer) - Static method in class org.apache.commons.io.IOUtils
-
Writes the
toString()
value of each item in a collection to
a Writer
line by line, using the specified line ending.
- WriterOutputStream - Class in org.apache.commons.io.output
-
OutputStream
implementation that transforms a byte stream to a
character stream using a specified charset encoding and writes the resulting
stream to a Writer
.
- WriterOutputStream(Writer, CharsetDecoder) - Constructor for class org.apache.commons.io.output.WriterOutputStream
-
Constructs a new
WriterOutputStream
with a default output buffer size of
1024 characters.
- WriterOutputStream(Writer, CharsetDecoder, int, boolean) - Constructor for class org.apache.commons.io.output.WriterOutputStream
-
Constructs a new
WriterOutputStream
.
- WriterOutputStream(Writer, Charset, int, boolean) - Constructor for class org.apache.commons.io.output.WriterOutputStream
-
Constructs a new
WriterOutputStream
.
- WriterOutputStream(Writer, Charset) - Constructor for class org.apache.commons.io.output.WriterOutputStream
-
Constructs a new
WriterOutputStream
with a default output buffer size of
1024 characters.
- WriterOutputStream(Writer, String, int, boolean) - Constructor for class org.apache.commons.io.output.WriterOutputStream
-
Constructs a new
WriterOutputStream
.
- WriterOutputStream(Writer, String) - Constructor for class org.apache.commons.io.output.WriterOutputStream
-
Constructs a new
WriterOutputStream
with a default output buffer size of
1024 characters.
- WriterOutputStream(Writer) - Constructor for class org.apache.commons.io.output.WriterOutputStream
-
Deprecated.
2.5 use
WriterOutputStream.WriterOutputStream(Writer, Charset)
instead
- writeStringToFile(File, String, Charset) - Static method in class org.apache.commons.io.FileUtils
-
Writes a String to a file creating the file if it does not exist.
- writeStringToFile(File, String, String) - Static method in class org.apache.commons.io.FileUtils
-
Writes a String to a file creating the file if it does not exist.
- writeStringToFile(File, String, Charset, boolean) - Static method in class org.apache.commons.io.FileUtils
-
Writes a String to a file creating the file if it does not exist.
- writeStringToFile(File, String, String, boolean) - Static method in class org.apache.commons.io.FileUtils
-
Writes a String to a file creating the file if it does not exist.
- writeStringToFile(File, String) - Static method in class org.apache.commons.io.FileUtils
-
Deprecated.
2.5 use
FileUtils.writeStringToFile(File, String, Charset)
instead (and specify the appropriate encoding)
- writeStringToFile(File, String, boolean) - Static method in class org.apache.commons.io.FileUtils
-
Deprecated.
2.5 use
FileUtils.writeStringToFile(File, String, Charset, boolean)
instead (and specify the appropriate encoding)
- writeSwappedDouble(byte[], int, double) - Static method in class org.apache.commons.io.EndianUtils
-
Writes a "double" value to a byte array at a given offset.
- writeSwappedDouble(OutputStream, double) - Static method in class org.apache.commons.io.EndianUtils
-
Writes a "double" value to an OutputStream.
- writeSwappedFloat(byte[], int, float) - Static method in class org.apache.commons.io.EndianUtils
-
Writes a "float" value to a byte array at a given offset.
- writeSwappedFloat(OutputStream, float) - Static method in class org.apache.commons.io.EndianUtils
-
Writes a "float" value to an OutputStream.
- writeSwappedInteger(byte[], int, int) - Static method in class org.apache.commons.io.EndianUtils
-
Writes a "int" value to a byte array at a given offset.
- writeSwappedInteger(OutputStream, int) - Static method in class org.apache.commons.io.EndianUtils
-
Writes a "int" value to an OutputStream.
- writeSwappedLong(byte[], int, long) - Static method in class org.apache.commons.io.EndianUtils
-
Writes a "long" value to a byte array at a given offset.
- writeSwappedLong(OutputStream, long) - Static method in class org.apache.commons.io.EndianUtils
-
Writes a "long" value to an OutputStream.
- writeSwappedShort(byte[], int, short) - Static method in class org.apache.commons.io.EndianUtils
-
Writes a "short" value to a byte array at a given offset.
- writeSwappedShort(OutputStream, short) - Static method in class org.apache.commons.io.EndianUtils
-
Writes a "short" value to an OutputStream.
- writeTo(OutputStream) - Method in class org.apache.commons.io.output.ByteArrayOutputStream
-
Writes the entire contents of this byte stream to the
specified output stream.
- writeTo(OutputStream) - Method in class org.apache.commons.io.output.DeferredFileOutputStream
-
Writes the data from this output stream to the specified output stream,
after it has been closed.
X
- XmlStreamReader - Class in org.apache.commons.io.input
-
Character stream that handles all the necessary Voodoo to figure out the
charset encoding of the XML document within the stream.
- XmlStreamReader(File) - Constructor for class org.apache.commons.io.input.XmlStreamReader
-
Creates a Reader for a File.
- XmlStreamReader(InputStream) - Constructor for class org.apache.commons.io.input.XmlStreamReader
-
Creates a Reader for a raw InputStream.
- XmlStreamReader(InputStream, boolean) - Constructor for class org.apache.commons.io.input.XmlStreamReader
-
Creates a Reader for a raw InputStream.
- XmlStreamReader(InputStream, boolean, String) - Constructor for class org.apache.commons.io.input.XmlStreamReader
-
Creates a Reader for a raw InputStream.
- XmlStreamReader(URL) - Constructor for class org.apache.commons.io.input.XmlStreamReader
-
Creates a Reader using the InputStream of a URL.
- XmlStreamReader(URLConnection, String) - Constructor for class org.apache.commons.io.input.XmlStreamReader
-
Creates a Reader using the InputStream of a URLConnection.
- XmlStreamReader(InputStream, String) - Constructor for class org.apache.commons.io.input.XmlStreamReader
-
Creates a Reader using an InputStream and the associated content-type
header.
- XmlStreamReader(InputStream, String, boolean, String) - Constructor for class org.apache.commons.io.input.XmlStreamReader
-
Creates a Reader using an InputStream and the associated content-type
header.
- XmlStreamReader(InputStream, String, boolean) - Constructor for class org.apache.commons.io.input.XmlStreamReader
-
Creates a Reader using an InputStream and the associated content-type
header.
- XmlStreamReaderException - Exception in org.apache.commons.io.input
-
The XmlStreamReaderException is thrown by the XmlStreamReader constructors if
the charset encoding can not be determined according to the XML 1.0
specification and RFC 3023.
- XmlStreamReaderException(String, String, String, String) - Constructor for exception org.apache.commons.io.input.XmlStreamReaderException
-
Creates an exception instance if the charset encoding could not be
determined.
- XmlStreamReaderException(String, String, String, String, String, String) - Constructor for exception org.apache.commons.io.input.XmlStreamReaderException
-
Creates an exception instance if the charset encoding could not be
determined.
- XmlStreamWriter - Class in org.apache.commons.io.output
-
Character stream that handles all the necessary Voodoo to figure out the
charset encoding of the XML document written to the stream.
- XmlStreamWriter(OutputStream) - Constructor for class org.apache.commons.io.output.XmlStreamWriter
-
Constructs a new XML stream writer for the specified output stream
with a default encoding of UTF-8.
- XmlStreamWriter(OutputStream, String) - Constructor for class org.apache.commons.io.output.XmlStreamWriter
-
Constructs a new XML stream writer for the specified output stream
with the specified default encoding.
- XmlStreamWriter(File) - Constructor for class org.apache.commons.io.output.XmlStreamWriter
-
Constructs a new XML stream writer for the specified file
with a default encoding of UTF-8.
- XmlStreamWriter(File, String) - Constructor for class org.apache.commons.io.output.XmlStreamWriter
-
Constructs a new XML stream writer for the specified file
with the specified default encoding.
A B C D E F G H I L M N O P R S T U V W X
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.