aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org
AgeCommit message (Collapse)Author
2023-02-01[IO-786] Add UnsynchronizedBufferedInputStreamGary Gregory
2023-02-01[IO-786] Add UnsynchronizedFilterInputStreamGary Gregory
2023-02-01JavadocGary Gregory
2023-01-27Port some test code from IO to NIO APIsGary Gregory
2023-01-19Add and use ThreadUtilsGary Gregory
Inspired by DaGeRe's PR Avoid Code Duplication: Reuse Sleep from ThreadMonitor #66
2023-01-19Add @SuppressWarnings("resource") // no allocationGary Gregory
Javadoc tweaks
2023-01-18[IO-784] Add support for Appendable to HexDump util (#418)Fredrik Kjellberg
* Add support for Appendable to HexDump util * Added since annotations and some minor code cleanup * Remove flush call * Add test to verify that OutputStream is not closed by the dump method * Use ThrowOnCloseOutputStream to make sure that the output stream is not closed
2022-12-29Use Arrays.copyOf() and copyOfRange()Gary Gregory
2022-10-09[IO-782] SequenceReader should close readers when its close method isGary Gregory
called #391.
2022-10-05Use Java 8 APIsGary Gregory
2022-09-19Add IOBaseStream & IOStreamGary Gregory
2022-09-17Did not mean to add this (yet)Gary Gregory
2022-09-17Revert "Revert "Make this test more reliable based on a failure seen on ↵Gary Gregory
GitHub."" This reverts commit f46c153a8b8194c7674cb975b86a6f1696189317.
2022-09-17Revert "Make this test more reliable based on a failure seen on GitHub."Gary Gregory
This reverts commit be656d35fc0e248a14248ac47857bb7b2bbfd5fc.
2022-09-17Make this test more reliable based on a failure seen on GitHub.Gary Gregory
2022-09-17Javadoc tweaksGary Gregory
2022-09-17Refactor internalsGary Gregory
2022-09-17Make new class finalGary Gregory
2022-09-17Better parameter namesGary Gregory
2022-09-14Better docs in IOUtils and IOUtils.byteArray(int size) (#374)ArdenL_Liu
* IOUtils.byteArray(int size) add the verification to assure that the size is legal(size > 0), the illegal(size <=0) should throw IllegalArgumentException. * The constructure of IOUtils should be Deprecated as FileUtils * update with the suggestion * update with the suggestion * update with the suggestion * change IOUtilsTest.testByteArrayWithIllegalSize() with @ParameterizedTest * @Deprecated public FileUtils() { //NOSONAR * update doc with the review suggestion. * add tag :@throws NegativeArraySizeException if the size is negative. * rollback the doc of FileUtils.constructure * update imports of IOUtilsTest.java * Not so verbose * Format tweak Co-authored-by: Gary Gregory <garydgregory@users.noreply.github.com>
2022-09-13Remove whitespaceGary Gregory
2022-09-13Add missing class:Gary Gregory
2022-09-12IOExceptionList implements Iterable.Gary Gregory
2022-09-12Add IOSpliteratorGary Gregory
2022-09-12Make package-private class finalGary Gregory
2022-09-12Add Javadoc since tagGary Gregory
2022-09-12Make package-private class finalGary Gregory
2022-09-12Add IOIteratorGary Gregory
2022-09-12[IO-611] FilenameUtils.normalize javadoc and tests. (#383)Fedor Urvanov
* [IO-611] FilenameUtils.normalize javadoc and tests. Looks like someone fixed the code, but javadoc describes the method wrong. * [IO-611] Codestyle
2022-08-29Javadoc @link tags do not need to use a FQCN for classes in java.langGary Gregory
2022-08-29Javadoc @see tags do not need to use a FQCN for classes in java.langGary Gregory
2022-08-28No need for a FQCN for classes in java.langGary Gregory
2022-08-26Fix typos (#375)Michael Ernst
* Fix typos * Reintroduce auto-generated typos
2022-08-20Add TimestampedObserver.isClosed().Gary Gregory
2022-08-13Fix new API and convert its tests to use fixed file timesGary Gregory
The goal is to avoid the vagueries and randomness of local file systems and operating systems.
2022-08-13JavadocGary Gregory
2022-08-13JAvadocGary Gregory
2022-08-08Use streamsGary Gregory
2022-08-08Simplify internals of FileUtils#iterateFiles(File, String[], boolean)Gary Gregory
2022-08-08Format tweaksGary Gregory
2022-08-08Don't use deprecated methodGary Gregory
2022-08-08[IO-386] FileUtils.doCopyFile uses different methods to check the fileGary Gregory
sizes. - The method org.apache.commons.io.FileUtils.copyFile(File, File, CopyOption...) no longer checks file sizes. - [IO-443] FileUtils.copyFile methods throw an unnecessary "Failed to copy full contents from" exception. - Remove test that does not reflect what happens on disk since we use Files.copy(Path,Path,CopyOptions)
2022-08-08Change parameter order of new methods, use var-args, improve testsGary Gregory
2022-08-07Add IOBinaryOperatorGary Gregory
2022-08-07Add IOUnaryOperatorGary Gregory
2022-08-07Add IOComparatorGary Gregory
2022-08-07JavadocGary Gregory
2022-07-28JavadocGary Gregory
2022-07-28JavadocGary Gregory
2022-07-28Add IORunnable#asRunnable()Gary Gregory