- CharSequenceInputStream - Class in org.apache.commons.io.input
-
InputStream implementation that can read from String, StringBuffer,
StringBuilder or CharBuffer.
- 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(CharSequence, Charset) - Constructor for class org.apache.commons.io.input.CharSequenceInputStream
-
- CharSequenceInputStream(CharSequence, Charset, int) - Constructor for class org.apache.commons.io.input.CharSequenceInputStream
-
Constructor.
- CharSequenceReader - Class in org.apache.commons.io.input
-
Reader implementation that can read from String, StringBuffer,
StringBuilder or CharBuffer.
- CharSequenceReader(CharSequence) - Constructor for class org.apache.commons.io.input.CharSequenceReader
-
Construct a new instance with the specified character sequence.
- checkCompareTo(String, String) - Method in class org.apache.commons.io.IOCase
-
Compares two strings using the case-sensitivity rule.
- checkEndsWith(String, String) - Method in class org.apache.commons.io.IOCase
-
Checks if one string ends with another using the case-sensitivity rule.
- checkEquals(String, String) - Method in class org.apache.commons.io.IOCase
-
Compares two strings using the case-sensitivity rule.
- checkIndexOf(String, int, String) - Method in class org.apache.commons.io.IOCase
-
Checks if one string contains another starting at a specific index using the
case-sensitivity rule.
- checkRegionMatches(String, int, String) - Method in class org.apache.commons.io.IOCase
-
Checks if one string contains another at a specific index using the case-sensitivity rule.
- checkStartsWith(String, String) - Method in class org.apache.commons.io.IOCase
-
Checks if one string starts with another using the case-sensitivity rule.
- checksum(File, Checksum) - Static method in class org.apache.commons.io.FileUtils
-
Computes the checksum of a file using the specified checksum object.
- checksumCRC32(File) - Static method in class org.apache.commons.io.FileUtils
-
Computes the checksum of a file using the CRC32 checksum routine.
- cleanDirectory(File) - Static method in class org.apache.commons.io.FileUtils
-
Cleans a directory without deleting it.
- close() - Method in class org.apache.commons.io.input.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.NullInputStream
-
Close this input stream - resets the internal state to
the initial values.
- close() - Method in class org.apache.commons.io.input.NullReader
-
Close this Reader - resets the internal state to
the initial values.
- close() - Method in class org.apache.commons.io.input.ReaderInputStream
-
Close the stream.
- close() - Method in class org.apache.commons.io.LineIterator
-
Closes the underlying Reader quietly.
- close() - Method in class org.apache.commons.io.output.ByteArrayOutputStream
-
Closing a ByteArrayOutputStream has no effect.
- close() - Method in class org.apache.commons.io.output.FileWriterWithEncoding
-
Close the stream.
- close() - Method in class org.apache.commons.io.output.NullWriter
-
- 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.WriterOutputStream
-
Close the stream.
- CLOSED_INPUT_STREAM - Static variable in class org.apache.commons.io.input.ClosedInputStream
-
A singleton.
- CLOSED_OUTPUT_STREAM - Static variable in class org.apache.commons.io.output.ClosedOutputStream
-
A singleton.
- ClosedInputStream - Class in org.apache.commons.io.input
-
Closed input stream.
- ClosedInputStream() - Constructor for class org.apache.commons.io.input.ClosedInputStream
-
- ClosedOutputStream - Class in org.apache.commons.io.output
-
Closed output stream.
- ClosedOutputStream() - Constructor for class org.apache.commons.io.output.ClosedOutputStream
-
- closeQuietly(Closeable) - Static method in class org.apache.commons.io.IOUtils
-
Unconditionally close a Closeable.
- closeQuietly(InputStream) - Static method in class org.apache.commons.io.IOUtils
-
Unconditionally close an InputStream.
- closeQuietly(OutputStream) - Static method in class org.apache.commons.io.IOUtils
-
Unconditionally close an OutputStream.
- closeQuietly(Reader) - Static method in class org.apache.commons.io.IOUtils
-
Unconditionally close an Reader.
- closeQuietly(Writer) - Static method in class org.apache.commons.io.IOUtils
-
Unconditionally close a Writer.
- closeQuietly(ServerSocket) - Static method in class org.apache.commons.io.IOUtils
-
Unconditionally close a ServerSocket.
- closeQuietly(Socket) - Static method in class org.apache.commons.io.IOUtils
-
Unconditionally close a Socket.
- closeQuietly(Selector) - Static method in class org.apache.commons.io.IOUtils
-
Unconditionally close a Selector.
- closeQuietly(LineIterator) - Static method in class org.apache.commons.io.LineIterator
-
Closes the iterator, handling null and ignoring exceptions.
- 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.
- contentEquals(File, File) - Static method in class org.apache.commons.io.FileUtils
-
Compares the contents of two files to determine if they are equal or not.
- contentEquals(InputStream, InputStream) - Static method in class org.apache.commons.io.IOUtils
-
Compare the contents of two Streams to determine if they are equal or
not.
- contentEquals(Reader, Reader) - Static method in class org.apache.commons.io.IOUtils
-
Compare the contents of two Readers to determine if they are equal or
not.
- 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
-
Compare the contents of two Readers to determine if they are equal or
not, ignoring EOL characters.
- convertFileCollectionToFileArray(Collection<File>) - Static method in class org.apache.commons.io.FileUtils
-
Converts a Collection containing java.io.File instanced into array
representation.
- copy(InputStream, OutputStream) - Static method in class org.apache.commons.io.IOUtils
-
Copy bytes from an InputStream to an
OutputStream.
- copy(InputStream, Writer) - Static method in class org.apache.commons.io.IOUtils
-
Copy bytes from an InputStream to chars on a
Writer using the default character encoding of the platform.
- copy(InputStream, Writer, String) - Static method in class org.apache.commons.io.IOUtils
-
Copy bytes from an InputStream to chars on a
Writer using the specified character encoding.
- copy(Reader, OutputStream) - Static method in class org.apache.commons.io.IOUtils
-
Copy chars from a Reader to bytes on an
OutputStream using the default character encoding of the
platform, and calling flush.
- copy(Reader, OutputStream, String) - Static method in class org.apache.commons.io.IOUtils
-
Copy chars from a Reader to bytes on an
OutputStream using the specified character encoding, and
calling flush.
- copy(Reader, Writer) - Static method in class org.apache.commons.io.IOUtils
-
Copy chars from a Reader to a Writer.
- copyDirectory(File, File) - Static method in class org.apache.commons.io.FileUtils
-
Copies a whole directory to a new location preserving the file dates.
- copyDirectory(File, File, boolean) - Static method in class org.apache.commons.io.FileUtils
-
Copies a whole directory to a new location.
- copyDirectory(File, File, FileFilter) - Static method in class org.apache.commons.io.FileUtils
-
Copies a filtered directory to a new location preserving the file dates.
- copyDirectory(File, File, FileFilter, boolean) - Static method in class org.apache.commons.io.FileUtils
-
Copies a filtered directory to a new location.
- copyDirectoryToDirectory(File, File) - Static method in class org.apache.commons.io.FileUtils
-
Copies a directory to within another directory preserving the file dates.
- copyFile(File, File) - Static method in class org.apache.commons.io.FileUtils
-
Copies a file to a new location preserving the file date.
- copyFile(File, File, boolean) - Static method in class org.apache.commons.io.FileUtils
-
Copies a file to a new location.
- copyFile(File, OutputStream) - Static method in class org.apache.commons.io.FileUtils
-
Copy bytes from a File to an OutputStream.
- 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
-
Copy bytes from a large (over 2GB) InputStream to an
OutputStream.
- copyLarge(InputStream, OutputStream, byte[]) - Static method in class org.apache.commons.io.IOUtils
-
Copy bytes from a large (over 2GB) InputStream to an
OutputStream.
- copyLarge(InputStream, OutputStream, long, long) - Static method in class org.apache.commons.io.IOUtils
-
Copy some or all bytes from a large (over 2GB) InputStream to an
OutputStream, optionally skipping input bytes.
- copyLarge(InputStream, OutputStream, long, long, byte[]) - Static method in class org.apache.commons.io.IOUtils
-
Copy some or all bytes from a large (over 2GB) InputStream to an
OutputStream, optionally skipping input bytes.
- copyLarge(Reader, Writer) - Static method in class org.apache.commons.io.IOUtils
-
Copy chars from a large (over 2GB) Reader to a Writer.
- copyLarge(Reader, Writer, char[]) - Static method in class org.apache.commons.io.IOUtils
-
Copy chars from a large (over 2GB) Reader to a Writer.
- copyLarge(Reader, Writer, long, long) - Static method in class org.apache.commons.io.IOUtils
-
Copy some or all chars from a large (over 2GB) InputStream to an
OutputStream, optionally skipping input chars.
- copyLarge(Reader, Writer, long, long, char[]) - Static method in class org.apache.commons.io.IOUtils
-
Copy some or all chars from a large (over 2GB) InputStream to an
OutputStream, optionally skipping input chars.
- 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.
- FILE - Static variable in class org.apache.commons.io.filefilter.FileFileFilter
-
Singleton instance of file filter
- 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
-
Construct an instance with the specified file.
- FileExistsException(String) - Constructor for exception org.apache.commons.io.FileExistsException
-
Construct an instance with the specified message.
- 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).
- FileFileFilter - Class in org.apache.commons.io.filefilter
-
This filter accepts Files that are files (not directories).
- FileFileFilter() - Constructor for class org.apache.commons.io.filefilter.FileFileFilter
-
Restrictive consructor.
- FileFilterUtils - Class in org.apache.commons.io.filefilter
-
Useful utilities for working with file filters.
- FileFilterUtils() - Constructor for class org.apache.commons.io.filefilter.FileFilterUtils
-
FileFilterUtils is not normally instantiated.
- FilenameUtils - Class in org.apache.commons.io
-
General filename and filepath manipulation utilities.
- FilenameUtils() - Constructor for class org.apache.commons.io.FilenameUtils
-
Instances should NOT be constructed in standard programming.
- FileUtils - Class in org.apache.commons.io
-
General file manipulation utilities.
- FileUtils() - Constructor for class org.apache.commons.io.FileUtils
-
Instances should NOT be constructed in standard programming.
- FileWriterWithEncoding - Class in org.apache.commons.io.output
-
Writer of files that allows the encoding to be set.
- FileWriterWithEncoding(File, String) - Constructor for class org.apache.commons.io.output.FileWriterWithEncoding
-
Constructs a FileWriterWithEncoding with a file encoding.
- FileWriterWithEncoding(File, String, boolean) - Constructor for class org.apache.commons.io.output.FileWriterWithEncoding
-
Constructs a FileWriterWithEncoding with a file encoding.
- FileWriterWithEncoding(File, Charset) - Constructor for class org.apache.commons.io.output.FileWriterWithEncoding
-
Constructs a FileWriterWithEncoding with a file encoding.
- FileWriterWithEncoding(File, CharsetEncoder) - Constructor for class org.apache.commons.io.output.FileWriterWithEncoding
-
Constructs a FileWriterWithEncoding with a file encoding.
- FileWriterWithEncoding(File, CharsetEncoder, boolean) - Constructor for class org.apache.commons.io.output.FileWriterWithEncoding
-
Constructs a FileWriterWithEncoding with a file encoding.
- FileWriterWithEncoding(File, Charset, boolean) - Constructor for class org.apache.commons.io.output.FileWriterWithEncoding
-
Constructs a FileWriterWithEncoding with a file encoding.
- FileWriterWithEncoding(String, String) - Constructor for class org.apache.commons.io.output.FileWriterWithEncoding
-
Constructs a FileWriterWithEncoding with a file encoding.
- FileWriterWithEncoding(String, String, boolean) - Constructor for class org.apache.commons.io.output.FileWriterWithEncoding
-
Constructs a FileWriterWithEncoding with a file encoding.
- FileWriterWithEncoding(String, Charset) - Constructor for class org.apache.commons.io.output.FileWriterWithEncoding
-
Constructs a FileWriterWithEncoding with a file encoding.
- FileWriterWithEncoding(String, CharsetEncoder) - Constructor for class org.apache.commons.io.output.FileWriterWithEncoding
-
Constructs a FileWriterWithEncoding with a file encoding.
- FileWriterWithEncoding(String, CharsetEncoder, boolean) - Constructor for class org.apache.commons.io.output.FileWriterWithEncoding
-
Constructs a FileWriterWithEncoding with a file encoding.
- FileWriterWithEncoding(String, Charset, boolean) - Constructor for class org.apache.commons.io.output.FileWriterWithEncoding
-
Constructs a FileWriterWithEncoding with a file encoding.
- 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
-
- 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
-
- flush() - Method in class org.apache.commons.io.output.FileWriterWithEncoding
-
Flush the stream.
- flush() - Method in class org.apache.commons.io.output.NullWriter
-
- 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.WriterOutputStream
-
Flush the stream.
- forceDelete(File) - Static method in class org.apache.commons.io.FileUtils
-
Deletes a file.
- forceDeleteOnExit(File) - Static method in class org.apache.commons.io.FileUtils
-
Schedules a file to be deleted when JVM exits.
- forceMkdir(File) - Static method in class org.apache.commons.io.FileUtils
-
Makes a directory, including any necessary but nonexistent parent
directories.
- forName(String) - Static method in class org.apache.commons.io.IOCase
-
Factory method to create an IOCase from a name.
- get(int) - Method in class org.apache.commons.io.ByteOrderMark
-
The byte at the specified position.
- getBaseName(String) - Static method in class org.apache.commons.io.FilenameUtils
-
Gets the base name, minus the full path and extension, from a full filename.
- getBuilder() - Method in class org.apache.commons.io.output.StringBuilderWriter
-
Return the underlying builder.
- getBytes() - Method in class org.apache.commons.io.ByteOrderMark
-
Return a copy of the BOM's bytes.
- getCause() - Method in exception org.apache.commons.io.TaggedIOException
-
Returns the wrapped exception.
- getCharsetName() - Method in class org.apache.commons.io.ByteOrderMark
-
Return the name of the
Charset the BOM represents.
- getExtension(String) - Static method in class org.apache.commons.io.FilenameUtils
-
Gets the extension of a filename.
- getFile(File, String...) - Static method in class org.apache.commons.io.FileUtils
-
Construct a file from the set of name elements.
- getFile(String...) - Static method in class org.apache.commons.io.FileUtils
-
Construct a file from the set of name elements.
- 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.
- getName() - Method in class org.apache.commons.io.IOCase
-
Gets the name of the constant.
- getName(String) - Static method in class org.apache.commons.io.FilenameUtils
-
Gets the name minus the path from a full filename.
- getPath(String) - Static method in class org.apache.commons.io.FilenameUtils
-
Gets the path from a full filename, which excludes the prefix.
- getPathNoEndSeparator(String) - Static method in class org.apache.commons.io.FilenameUtils
-
Gets the path from a full filename, which excludes the prefix, and
also excluding the final directory separator.
- getPosition() - Method in class org.apache.commons.io.input.NullInputStream
-
Return the current position.
- getPosition() - Method in class org.apache.commons.io.input.NullReader
-
Return the current position.
- getPrefix(String) - Static method in class org.apache.commons.io.FilenameUtils
-
Gets the prefix from a full filename, such as C:/
or ~/.
- getPrefixLength(String) - Static method in class org.apache.commons.io.FilenameUtils
-
Returns the length of the filename prefix, such as C:/ or ~/.
- getSize() - Method in class org.apache.commons.io.input.NullInputStream
-
- getSize() - Method in class org.apache.commons.io.input.NullReader
-
Return the size this
Reader emulates.
- getTag() - Method in exception org.apache.commons.io.TaggedIOException
-
Returns the serializable tag object.
- getTempDirectory() - Static method in class org.apache.commons.io.FileUtils
-
Returns a
File representing the system temporary directory.
- getTempDirectoryPath() - Static method in class org.apache.commons.io.FileUtils
-
Returns the path to the system temporary directory.
- 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.
- 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.
- INSENSITIVE - Static variable in class org.apache.commons.io.IOCase
-
The constant for case insensitive regardless of operating system.
- INSTANCE - Static variable in class org.apache.commons.io.filefilter.DirectoryFileFilter
-
Singleton instance of directory filter.
- IOCase - Class in org.apache.commons.io
-
Enumeration of IO case sensitivity.
- IOExceptionWithCause - Exception in org.apache.commons.io
-
Subclasses IOException with the
Throwable constructors missing before Java 6.
- IOExceptionWithCause(String, Throwable) - Constructor for exception org.apache.commons.io.IOExceptionWithCause
-
Constructs a new instance with the given message and cause.
- IOExceptionWithCause(Throwable) - Constructor for exception org.apache.commons.io.IOExceptionWithCause
-
Constructs a new instance with the given cause.
- IOFileFilter - Interface in org.apache.commons.io.filefilter
-
An interface which brings the FileFilter and FilenameFilter
interfaces together.
- IOUtils - Class in org.apache.commons.io
-
General IO stream manipulation utilities.
- IOUtils() - Constructor for class org.apache.commons.io.IOUtils
-
Instances should NOT be constructed in standard programming.
- isCaseSensitive() - Method in class org.apache.commons.io.IOCase
-
Does the object represent case sensitive comparison.
- isExtension(String, String) - Static method in class org.apache.commons.io.FilenameUtils
-
Checks whether the extension of the filename is that specified.
- isExtension(String, String[]) - Static method in class org.apache.commons.io.FilenameUtils
-
Checks whether the extension of the filename is one of those specified.
- isExtension(String, Collection<String>) - Static method in class org.apache.commons.io.FilenameUtils
-
Checks whether the extension of the filename is one of those specified.
- isFileNewer(File, long) - Static method in class org.apache.commons.io.FileUtils
-
Tests if the specified File is newer than the specified
time reference.
- 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, Date) - Static method in class org.apache.commons.io.FileUtils
-
Tests if the specified File is newer than the specified
Date.
- 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, File) - Static method in class org.apache.commons.io.FileUtils
-
Tests if the specified File is older than the reference
File.
- isFileOlder(File, Date) - Static method in class org.apache.commons.io.FileUtils
-
Tests if the specified File is older than the specified
Date.
- isSymlink(File) - Static method in class org.apache.commons.io.FileUtils
-
Determines whether the specified file is a Symbolic Link rather than an actual file.
- isTaggedWith(Throwable, Object) - Static method in exception org.apache.commons.io.TaggedIOException
-
Checks whether the given throwable is tagged with the given tag.
- isValidLine(String) - Method in class org.apache.commons.io.LineIterator
-
Overridable method to validate each line that is returned.
- nameFileFilter(String) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
-
Returns a filter that returns true if the filename matches the specified text.
- nameFileFilter(String, IOCase) - Static method in class org.apache.commons.io.filefilter.FileFilterUtils
-
Returns a filter that returns true if the filename matches the specified text.
- NameFileFilter - Class in org.apache.commons.io.filefilter
-
Filters filenames for a certain name.
- NameFileFilter(String) - Constructor for class org.apache.commons.io.filefilter.NameFileFilter
-
Constructs a new case-sensitive name file filter for a single name.
- NameFileFilter(String[]) - Constructor for class org.apache.commons.io.filefilter.NameFileFilter
-
Constructs a new case-sensitive name file filter for an array of names.
- NameFileFilter(String[], IOCase) - Constructor for class org.apache.commons.io.filefilter.NameFileFilter
-
Constructs a new name file filter for an array of names specifying case-sensitivity.
- NameFileFilter(String, IOCase) - Constructor for class org.apache.commons.io.filefilter.NameFileFilter
-
Construct a new name file filter specifying case-sensitivity.
- NameFileFilter(List<String>) - Constructor for class org.apache.commons.io.filefilter.NameFileFilter
-
Constructs a new case-sensitive name file filter for a list of names.
- NameFileFilter(List<String>, IOCase) - Constructor for class org.apache.commons.io.filefilter.NameFileFilter
-
Constructs a new name file filter for a list of names specifying case-sensitivity.
- 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.
- 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.
- NULL_OUTPUT_STREAM - Static variable in class org.apache.commons.io.output.NullOutputStream
-
A singleton.
- NULL_WRITER - Static variable in class org.apache.commons.io.output.NullWriter
-
A singleton.
- NullInputStream - Class in org.apache.commons.io.input
-
A functional, light weight
InputStream that emulates
a stream of a specified size.
- NullInputStream(long) - Constructor for class org.apache.commons.io.input.NullInputStream
-
Create an
InputStream that emulates a specified size
which supports marking and does not throw EOFException.
- NullInputStream(long, boolean, boolean) - Constructor for class org.apache.commons.io.input.NullInputStream
-
Create an
InputStream that emulates a specified
size with option settings.
- NullOutputStream - Class in org.apache.commons.io.output
-
This OutputStream writes all data to the famous /dev/null.
- NullOutputStream() - Constructor for class org.apache.commons.io.output.NullOutputStream
-
- NullReader - Class in org.apache.commons.io.input
-
A functional, light weight
Reader that emulates
a reader of a specified size.
- NullReader(long) - Constructor for class org.apache.commons.io.input.NullReader
-
Create a
Reader that emulates a specified size
which supports marking and does not throw EOFException.
- NullReader(long, boolean, boolean) - Constructor for class org.apache.commons.io.input.NullReader
-
Create a
Reader that emulates a specified
size with option settings.
- NullWriter - Class in org.apache.commons.io.output
-
This
Writer writes all data to the famous
/dev/null.
- NullWriter() - Constructor for class org.apache.commons.io.output.NullWriter
-
Constructs a new NullWriter.
- read() - Method in class org.apache.commons.io.input.CharSequenceInputStream
-
- read() - Method in class org.apache.commons.io.input.CharSequenceReader
-
Read a single character.
- read() - Method in class org.apache.commons.io.input.ClosedInputStream
-
Returns -1 to indicate that the stream is closed.
- read() - Method in class org.apache.commons.io.input.NullInputStream
-
Read a byte.
- read() - Method in class org.apache.commons.io.input.NullReader
-
Read a character.
- read() - Method in class org.apache.commons.io.input.ReaderInputStream
-
Read a single byte.
- read(byte[]) - Method in class org.apache.commons.io.input.CharSequenceInputStream
-
- read(byte[]) - Method in class org.apache.commons.io.input.NullInputStream
-
Read some bytes into the specified array.
- read(byte[]) - Method in class org.apache.commons.io.input.ReaderInputStream
-
Read the specified number of bytes into an array.
- read(byte[], int, int) - Method in class org.apache.commons.io.input.CharSequenceInputStream
-
- read(byte[], int, int) - Method in class org.apache.commons.io.input.NullInputStream
-
Read the specified number bytes into an array.
- read(byte[], int, int) - Method in class org.apache.commons.io.input.ReaderInputStream
-
Read the specified number of bytes into an array.
- read(char[]) - Method in class org.apache.commons.io.input.NullReader
-
Read some characters into the specified array.
- read(char[], int, int) - Method in class org.apache.commons.io.input.CharSequenceReader
-
Read the sepcified number of characters into the array.
- read(char[], int, int) - Method in class org.apache.commons.io.input.NullReader
-
Read the specified number characters into an array.
- read(InputStream, byte[]) - Static method in class org.apache.commons.io.IOUtils
-
Read bytes from an input stream.
- read(InputStream, byte[], int, int) - Static method in class org.apache.commons.io.IOUtils
-
Read bytes from an input stream.
- read(Reader, char[]) - Static method in class org.apache.commons.io.IOUtils
-
Read characters from an input character stream.
- read(Reader, char[], int, int) - Static method in class org.apache.commons.io.IOUtils
-
Read characters from an input character stream.
- 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
-
Construct a new
ReaderInputStream that uses the default character encoding
with a default input buffer size of 1024 characters.
- 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, String, int) - Constructor for class org.apache.commons.io.input.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, 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, Charset, int) - Constructor for class org.apache.commons.io.input.ReaderInputStream
-
- readFileToByteArray(File) - Static method in class org.apache.commons.io.FileUtils
-
Reads the contents of a file into a byte array.
- readFileToString(File) - Static method in class org.apache.commons.io.FileUtils
-
Reads the contents of a file into a String using the default encoding for the VM.
- readFileToString(File, String) - Static method in class org.apache.commons.io.FileUtils
-
Reads the contents of a file into a String.
- readFully(InputStream, byte[]) - Static method in class org.apache.commons.io.IOUtils
-
Read 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
-
Read 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
-
Read 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
-
Read the requested number of characters or fail if there are not enough left.
- readLines(File) - Static method in class org.apache.commons.io.FileUtils
-
Reads the contents of a file line by line to a List of Strings using the default encoding for the VM.
- readLines(File, String) - Static method in class org.apache.commons.io.FileUtils
-
Reads the contents of a file line by line to a List of Strings.
- readLines(InputStream) - Static method in class org.apache.commons.io.IOUtils
-
Get the contents of an InputStream as a list of Strings,
one entry per line, using the default character encoding of the platform.
- readLines(InputStream, String) - Static method in class org.apache.commons.io.IOUtils
-
Get the contents of an InputStream as a list of Strings,
one entry per line, using the specified character encoding.
- readLines(Reader) - Static method in class org.apache.commons.io.IOUtils
-
Get the contents of a Reader as a list of Strings,
one entry per line.
- 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.
- remove() - Method in class org.apache.commons.io.LineIterator
-
Unsupported.
- removeExtension(String) - Static method in class org.apache.commons.io.FilenameUtils
-
Removes the extension from a filename.
- 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.output.ByteArrayOutputStream
-
- SENSITIVE - Static variable in class org.apache.commons.io.IOCase
-
The constant for case sensitive regardless of operating system.
- 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.
- size() - Method in class org.apache.commons.io.output.ByteArrayOutputStream
-
Return the current size of the byte array.
- sizeOf(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).
- 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.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(InputStream, long) - Static method in class org.apache.commons.io.IOUtils
-
Skip bytes from an input byte stream.
- skip(Reader, long) - Static method in class org.apache.commons.io.IOUtils
-
Skip characters from an input character stream.
- skipFully(InputStream, long) - Static method in class org.apache.commons.io.IOUtils
-
Skip 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
-
Skip the requested number of characters or fail if there are not enough left.
- StringBuilderWriter - Class in org.apache.commons.io.output
-
- StringBuilderWriter() - Constructor for class org.apache.commons.io.output.StringBuilderWriter
-
- StringBuilderWriter(int) - Constructor for class org.apache.commons.io.output.StringBuilderWriter
-
Construct a new
StringBuilder instance with the specified capacity.
- StringBuilderWriter(StringBuilder) - Constructor for class org.apache.commons.io.output.StringBuilderWriter
-
- 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.
- swapShort(short) - Static method in class org.apache.commons.io.EndianUtils
-
Converts a "short" value between endian systems.
- SYSTEM - Static variable in class org.apache.commons.io.IOCase
-
The constant for case sensitivity determined by the current operating system.
- 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.
- throwCauseIfTaggedWith(Throwable, Object) - Static method in exception org.apache.commons.io.TaggedIOException
-
- 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) - 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 toBufferedReader for the given
reader.
- toByteArray() - Method in class org.apache.commons.io.output.ByteArrayOutputStream
-
Gets the curent contents of this byte stream as a byte array.
- toByteArray(InputStream) - Static method in class org.apache.commons.io.IOUtils
-
Get the contents of an InputStream as a byte[].
- toByteArray(InputStream, int) - Static method in class org.apache.commons.io.IOUtils
-
Get the contents of an InputStream as a byte[].
- toByteArray(InputStream, long) - Static method in class org.apache.commons.io.IOUtils
-
Get contents of an InputStream as a byte[].
- toByteArray(Reader) - Static method in class org.apache.commons.io.IOUtils
-
Get the contents of a Reader as a byte[]
using the default character encoding of the platform.
- toByteArray(Reader, String) - Static method in class org.apache.commons.io.IOUtils
-
Get the contents of a Reader as a byte[]
using the specified character encoding.
- toByteArray(String) - Static method in class org.apache.commons.io.IOUtils
-
- toCharArray(InputStream) - Static method in class org.apache.commons.io.IOUtils
-
Get the contents of an InputStream as a character array
using the default character encoding of the platform.
- toCharArray(InputStream, String) - Static method in class org.apache.commons.io.IOUtils
-
Get the contents of an InputStream as a character array
using the specified character encoding.
- toCharArray(Reader) - Static method in class org.apache.commons.io.IOUtils
-
Get the contents of a Reader as a character array.
- toFile(URL) - Static method in class org.apache.commons.io.FileUtils
-
Convert from a URL to a File.
- toFiles(URL[]) - Static method in class org.apache.commons.io.FileUtils
-
Converts each of an array of URL to a File.
- toInputStream(CharSequence) - Static method in class org.apache.commons.io.IOUtils
-
Convert the specified CharSequence to an input stream, encoded as bytes
using the default character encoding of the platform.
- toInputStream(CharSequence, String) - Static method in class org.apache.commons.io.IOUtils
-
Convert 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
-
Convert the specified string to an input stream, encoded as bytes
using the default character encoding of the platform.
- toInputStream(String, String) - Static method in class org.apache.commons.io.IOUtils
-
Convert the specified string to an input stream, encoded as bytes
using the specified character encoding.
- 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.filefilter.AbstractFileFilter
-
Provide a String representaion of this file filter.
- toString() - Method in class org.apache.commons.io.filefilter.NameFileFilter
-
Provide a String representaion of this file filter.
- toString() - Method in class org.apache.commons.io.input.CharSequenceReader
-
Return a String representation of the underlying
character sequence.
- toString() - Method in class org.apache.commons.io.IOCase
-
Gets a string describing the sensitivity.
- toString() - Method in class org.apache.commons.io.output.ByteArrayOutputStream
-
Gets the curent contents of this byte stream as a string.
- toString() - Method in class org.apache.commons.io.output.StringBuilderWriter
-
- toString(byte[]) - Static method in class org.apache.commons.io.IOUtils
-
- toString(byte[], String) - Static method in class org.apache.commons.io.IOUtils
-
- toString(InputStream) - Static method in class org.apache.commons.io.IOUtils
-
Get the contents of an InputStream as a String
using the default character encoding of the platform.
- toString(InputStream, String) - Static method in class org.apache.commons.io.IOUtils
-
Get the contents of an InputStream as a String
using the specified character encoding.
- toString(Reader) - Static method in class org.apache.commons.io.IOUtils
-
Get the contents of a Reader as a String.
- toString(String) - Method in class org.apache.commons.io.output.ByteArrayOutputStream
-
Gets the curent contents of this byte stream as a string
using the specified encoding.
- toString(URI) - 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
-
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.
- 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.
- waitFor(File, int) - Static method in class org.apache.commons.io.FileUtils
-
Waits for NFS to propagate a file creation, imposing a timeout.
- 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.
- write(byte[]) - Method in class org.apache.commons.io.output.NullOutputStream
-
Does nothing - output to /dev/null.
- write(byte[]) - Method in class org.apache.commons.io.output.WriterOutputStream
-
Write bytes from the specified byte array to the stream.
- write(byte[], int, int) - Method in class org.apache.commons.io.output.ByteArrayOutputStream
-
Write the bytes to byte array.
- write(byte[], int, int) - Method in class org.apache.commons.io.output.NullOutputStream
-
Does nothing - output to /dev/null.
- 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[], OutputStream) - Static method in class org.apache.commons.io.IOUtils
-
Writes bytes from a byte[] to an OutputStream.
- write(byte[], Writer) - Static method in class org.apache.commons.io.IOUtils
-
Writes bytes from a byte[] to chars on a Writer
using the default character encoding of the platform.
- write(byte[], Writer, String) - Static method in class org.apache.commons.io.IOUtils
-
Writes bytes from a byte[] to chars on a Writer
using the specified character encoding.
- write(char[]) - Method in class org.apache.commons.io.output.FileWriterWithEncoding
-
Write the characters from an array.
- write(char[]) - Method in class org.apache.commons.io.output.NullWriter
-
Does nothing - output to /dev/null.
- write(char[], int, int) - Method in class org.apache.commons.io.output.FileWriterWithEncoding
-
Write the specified characters from an array.
- write(char[], int, int) - Method in class org.apache.commons.io.output.NullWriter
-
Does nothing - output to /dev/null.
- write(char[], int, int) - Method in class org.apache.commons.io.output.StringBuilderWriter
-
- write(char[], OutputStream) - Static method in class org.apache.commons.io.IOUtils
-
Writes chars from a char[] to bytes on an
OutputStream.
- write(char[], OutputStream, String) - Static method in class org.apache.commons.io.IOUtils
-
Writes chars from a char[] to bytes on an
OutputStream using the specified character encoding.
- write(char[], Writer) - Static method in class org.apache.commons.io.IOUtils
-
Writes chars from a char[] to a Writer
using the default character encoding of the platform.
- write(int) - Method in class org.apache.commons.io.output.ByteArrayOutputStream
-
Write a byte to byte array.
- write(int) - Method in class org.apache.commons.io.output.ClosedOutputStream
-
Throws an
IOException to indicate that the stream is closed.
- write(int) - Method in class org.apache.commons.io.output.FileWriterWithEncoding
-
Write a character.
- write(int) - Method in class org.apache.commons.io.output.NullOutputStream
-
Does nothing - output to /dev/null.
- write(int) - Method in class org.apache.commons.io.output.NullWriter
-
Does nothing - output to /dev/null.
- write(int) - Method in class org.apache.commons.io.output.WriterOutputStream
-
Write a single byte to the stream.
- write(File, CharSequence) - Static method in class org.apache.commons.io.FileUtils
-
Writes a CharSequence to a file creating the file if it does not exist using the default encoding for the VM.
- write(File, CharSequence, boolean) - Static method in class org.apache.commons.io.FileUtils
-
Writes a CharSequence to a file creating the file if it does not exist using the default encoding for the VM.
- write(File, CharSequence, String) - Static method in class org.apache.commons.io.FileUtils
-
Writes a CharSequence to a file creating the file if it does not exist.
- write(File, CharSequence, String, boolean) - Static method in class org.apache.commons.io.FileUtils
-
Writes a CharSequence to a file creating the file if it does not exist.
- write(InputStream) - Method in class org.apache.commons.io.output.ByteArrayOutputStream
-
Writes the entire contents of the specified input stream to this
byte stream.
- write(CharSequence, OutputStream) - Static method in class org.apache.commons.io.IOUtils
-
Writes chars from a CharSequence to bytes on an
OutputStream using the default character encoding of the
platform.
- write(CharSequence, OutputStream, String) - Static method in class org.apache.commons.io.IOUtils
-
Writes chars from a CharSequence to bytes on an
OutputStream using the specified character encoding.
- write(CharSequence, Writer) - Static method in class org.apache.commons.io.IOUtils
-
Writes chars from a CharSequence to a Writer.
- write(String) - Method in class org.apache.commons.io.output.FileWriterWithEncoding
-
Write the characters from a string.
- write(String) - Method in class org.apache.commons.io.output.NullWriter
-
Does nothing - output to /dev/null.
- write(String) - Method in class org.apache.commons.io.output.StringBuilderWriter
-
- write(StringBuffer, OutputStream) - Static method in class org.apache.commons.io.IOUtils
-
- write(StringBuffer, OutputStream, String) - Static method in class org.apache.commons.io.IOUtils
-
- write(StringBuffer, Writer) - Static method in class org.apache.commons.io.IOUtils
-
- write(String, int, int) - Method in class org.apache.commons.io.output.FileWriterWithEncoding
-
Write the specified characters from a string.
- write(String, int, int) - Method in class org.apache.commons.io.output.NullWriter
-
Does nothing - output to /dev/null.
- write(String, OutputStream) - Static method in class org.apache.commons.io.IOUtils
-
Writes chars from a String to bytes on an
OutputStream using the default character encoding of the
platform.
- write(String, OutputStream, String) - Static method in class org.apache.commons.io.IOUtils
-
Writes chars from a String to bytes on an
OutputStream using the specified character encoding.
- write(String, Writer) - Static method in class org.apache.commons.io.IOUtils
-
Writes chars from a String to a Writer.
- 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.
- writeLines(File, String, Collection<?>) - Static method in class org.apache.commons.io.FileUtils
-
Writes the toString() value of each item in a collection to
the specified File line by line.
- writeLines(File, String, Collection<?>, boolean) - Static method in class org.apache.commons.io.FileUtils
-
Writes the toString() value of each item in a collection to
the specified File line by line, optionally appending.
- writeLines(File, String, Collection<?>, String) - Static method in class org.apache.commons.io.FileUtils
-
Writes the toString() value of each item in a collection to
the specified File line by line.
- writeLines(File, String, Collection<?>, String, boolean) - Static method in class org.apache.commons.io.FileUtils
-
Writes the toString() value of each item in a collection to
the specified File line by line.
- writeLines(File, Collection<?>) - Static method in class org.apache.commons.io.FileUtils
-
Writes the toString() value of each item in a collection to
the specified File line by line.
- writeLines(File, Collection<?>, boolean) - Static method in class org.apache.commons.io.FileUtils
-
Writes the toString() value of each item in a collection to
the specified File line by line.
- writeLines(File, Collection<?>, String) - Static method in class org.apache.commons.io.FileUtils
-
Writes the toString() value of each item in a collection to
the specified File line by line.
- writeLines(File, Collection<?>, String, boolean) - Static method in class org.apache.commons.io.FileUtils
-
Writes the toString() value of each item in a collection to
the specified File line by line.
- writeLines(Collection<?>, String, OutputStream) - Static method in class org.apache.commons.io.IOUtils
-
Writes the toString() value of each item in a collection to
an OutputStream line by line, using the default character
encoding of the platform and the specified line ending.
- writeLines(Collection<?>, String, OutputStream, String) - Static method in class org.apache.commons.io.IOUtils
-
Writes the toString() value of each item in a collection to
an OutputStream line by line, using the specified character
encoding and the specified line ending.
- writeLines(Collection<?>, String, Writer) - Static method in class org.apache.commons.io.IOUtils
-
Writes the toString() value of each item in a collection to
a Writer line by line, using the specified line ending.
- 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) - Constructor for class org.apache.commons.io.output.WriterOutputStream
-
Constructs a new
WriterOutputStream that uses the default character encoding
and with a default output buffer size of 1024 characters.
- WriterOutputStream(Writer, String) - Constructor for class org.apache.commons.io.output.WriterOutputStream
-
- WriterOutputStream(Writer, String, int, boolean) - Constructor for class org.apache.commons.io.output.WriterOutputStream
-
- WriterOutputStream(Writer, Charset) - Constructor for class org.apache.commons.io.output.WriterOutputStream
-
- WriterOutputStream(Writer, CharsetDecoder) - Constructor for class org.apache.commons.io.output.WriterOutputStream
-
- WriterOutputStream(Writer, CharsetDecoder, int, boolean) - Constructor for class org.apache.commons.io.output.WriterOutputStream
-
- WriterOutputStream(Writer, Charset, int, boolean) - Constructor for class org.apache.commons.io.output.WriterOutputStream
-
- writeStringToFile(File, String) - Static method in class org.apache.commons.io.FileUtils
-
Writes a String to a file creating the file if it does not exist using the default encoding for the VM.
- writeStringToFile(File, String, boolean) - Static method in class org.apache.commons.io.FileUtils
-
Writes a String to a file creating the file if it does not exist using the default encoding for the VM.
- writeStringToFile(File, String, String) - Static method in class org.apache.commons.io.FileUtils
-
Writes a String to a file creating the file if it does not exist.
- writeStringToFile(File, String, String, boolean) - Static method in class org.apache.commons.io.FileUtils
-
Writes a String to a file creating the file if it does not exist.
- writeSwappedDouble(byte[], int, double) - Static method in class org.apache.commons.io.EndianUtils
-
Writes a "double" value to a byte array at a given offset.
- writeSwappedDouble(OutputStream, double) - Static method in class org.apache.commons.io.EndianUtils
-
Writes a "double" value to an OutputStream.
- writeSwappedFloat(byte[], int, float) - Static method in class org.apache.commons.io.EndianUtils
-
Writes a "float" value to a byte array at a given offset.
- writeSwappedFloat(OutputStream, float) - Static method in class org.apache.commons.io.EndianUtils
-
Writes a "float" value to an OutputStream.
- writeSwappedInteger(byte[], int, int) - Static method in class org.apache.commons.io.EndianUtils
-
Writes a "int" value to a byte array at a given offset.
- writeSwappedInteger(OutputStream, int) - Static method in class org.apache.commons.io.EndianUtils
-
Writes a "int" value to an OutputStream.
- writeSwappedLong(byte[], int, long) - Static method in class org.apache.commons.io.EndianUtils
-
Writes a "long" value to a byte array at a given offset.
- writeSwappedLong(OutputStream, long) - Static method in class org.apache.commons.io.EndianUtils
-
Writes a "long" value to an OutputStream.
- writeSwappedShort(byte[], int, short) - Static method in class org.apache.commons.io.EndianUtils
-
Writes a "short" value to a byte array at a given offset.
- writeSwappedShort(OutputStream, short) - Static method in class org.apache.commons.io.EndianUtils
-
Writes a "short" value to an OutputStream.
- writeTo(OutputStream) - Method in class org.apache.commons.io.output.ByteArrayOutputStream
-
Writes the entire contents of this byte stream to the
specified output stream.