Apache Commons logo Commons IO
Comparing source compatibility of commons-io-2.19.0.jar against commons-io-2.18.0.jar
Old: commons-io-2.18.0.jar
New: commons-io-2.19.0.jar
Created: 2025-04-12T00:38:07.706+0000
Access modifier filter: PROTECTED
Only modifications: true
Only binary incompatible modifications: false
Ignore missing classes: false
Includes: all
Excludes: org.apache.commons.io.StreamIterator;org.apache.commons.io.StreamIterator
Semantic Versioning: 0.1.0
Binary incompatible changes are marked with (!) while source incompatible changes are marked with (*).
NEW final public class  org.apache.commons.io.ByteBuffers top
Methods:
Status Modifier Generic Templates Type Method Exceptions Compatibility Changes: Line Number
NEW static public n.a. java.nio.ByteBuffer littleEndian(byte[])
Compatibility Changes:
Change
METHOD_ADDED_TO_PUBLIC_CLASS
Old file New file
n.a. 43
NEW static public n.a. java.nio.ByteBuffer littleEndian(java.nio.ByteBuffer)
Compatibility Changes:
Change
METHOD_ADDED_TO_PUBLIC_CLASS
Old file New file
n.a. 53
NEW static public n.a. java.nio.ByteBuffer littleEndian(int)
Compatibility Changes:
Change
METHOD_ADDED_TO_PUBLIC_CLASS
Old file New file
n.a. 68
MODIFIED  (Serializable compatible)  public class  org.apache.commons.io.ByteOrderMark top
Serializable default serialVersionUID serialVersionUID in class
Oldtrue -3553219273362189713 1
Newtrue 8373102092855132620 1
Methods:
Status Modifier Generic Templates Type Method Exceptions Compatibility Changes: Line Number
NEW public n.a. boolean matches(int[])
Compatibility Changes:
Change
METHOD_ADDED_TO_PUBLIC_CLASS
Old file New file
n.a. 242
MODIFIED final public class  org.apache.commons.io.channels.FileChannels top
Methods:
Status Modifier Generic Templates Type Method Exceptions Compatibility Changes: Line Number
UNCHANGED static public n.a. boolean contentEquals(java.nio.channels.FileChannel, java.nio.channels.FileChannel, int)
Annotations:
Status: Fully Qualified Name: Elements:
NEW java.lang.Deprecated n.a.
Status: Name:
UNCHANGED java.io.IOException
Compatibility Changes:
Change
ANNOTATION_DEPRECATED_ADDED
Old file New file
45 48
NEW static public n.a. boolean contentEquals(java.nio.channels.ReadableByteChannel, java.nio.channels.ReadableByteChannel, int)
Status: Name:
NEW java.io.IOException
Compatibility Changes:
Change
METHOD_ADDED_TO_PUBLIC_CLASS
Old file New file
n.a. 64
NEW static public n.a. boolean contentEquals(java.nio.channels.SeekableByteChannel, java.nio.channels.SeekableByteChannel, int)
Status: Name:
NEW java.io.IOException
Compatibility Changes:
Change
METHOD_ADDED_TO_PUBLIC_CLASS
Old file New file
n.a. 118
UNCHANGED public class  org.apache.commons.io.Charsets top
Constructors:
Status Modifier Generic Templates Constructor Exceptions Compatibility Changes: Line Number
UNCHANGED public n.a. Charsets()
Annotations:
Status: Fully Qualified Name: Elements:
NEW java.lang.Deprecated n.a.
Compatibility Changes:
Change
ANNOTATION_DEPRECATED_ADDED
Old file New file
56 230
MODIFIED public class  org.apache.commons.io.file.AccumulatorPathVisitor top
Superclass:
Status Superclass Compatibility Changes
UNCHANGED org.apache.commons.io.file.CountingPathVisitor n.a.
Constructors:
Status Modifier Generic Templates Constructor Exceptions Compatibility Changes: Line Number
UNCHANGED public n.a. AccumulatorPathVisitor(org.apache.commons.io.file.Counters$PathCounters, org.apache.commons.io.file.PathFilter, org.apache.commons.io.file.PathFilter, org.apache.commons.io.function.IOBiFunction
<..>
New:java.nio.file.Pathjava.io.IOExceptionjava.nio.file.FileVisitResult
Old:java.nio.file.Pathjava.io.IOExceptionjava.nio.file.FileVisitResult
)
Annotations:
Status: Fully Qualified Name: Elements:
NEW java.lang.Deprecated n.a.
Compatibility Changes:
Change
ANNOTATION_DEPRECATED_ADDED
Old file New file
151 201
UNCHANGED public n.a. AccumulatorPathVisitor(org.apache.commons.io.file.Counters$PathCounters)
Annotations:
Status: Fully Qualified Name: Elements:
NEW java.lang.Deprecated n.a.
Compatibility Changes:
Change
ANNOTATION_DEPRECATED_ADDED
Old file New file
125 171
UNCHANGED public n.a. AccumulatorPathVisitor(org.apache.commons.io.file.Counters$PathCounters, org.apache.commons.io.file.PathFilter, org.apache.commons.io.file.PathFilter)
Annotations:
Status: Fully Qualified Name: Elements:
NEW java.lang.Deprecated n.a.
Compatibility Changes:
Change
ANNOTATION_DEPRECATED_ADDED
Old file New file
137 185
UNCHANGED public n.a. AccumulatorPathVisitor()
Annotations:
Status: Fully Qualified Name: Elements:
NEW java.lang.Deprecated n.a.
Compatibility Changes:
Change
ANNOTATION_DEPRECATED_ADDED
Old file New file
116 156
Methods:
Status Modifier Generic Templates Type Method Exceptions Compatibility Changes: Line Number
NEW static public n.a. org.apache.commons.io.file.AccumulatorPathVisitor$Builder builder()
Compatibility Changes:
Change
METHOD_ADDED_TO_PUBLIC_CLASS
Old file New file
n.a. 91
NEW static public class  org.apache.commons.io.file.AccumulatorPathVisitor$Builder top
Compatibility Changes:
Change
INTERFACE_ADDED
Superclass:
Status Superclass Compatibility Changes
NEW org.apache.commons.io.file.CountingPathVisitor$AbstractBuilder n.a.
Interfaces:
Status Interface Compatibility Changes
NEW org.apache.commons.io.function.IOSupplier n.a.
Constructors:
Status Modifier Generic Templates Constructor Exceptions Compatibility Changes: Line Number
NEW public n.a. AccumulatorPathVisitor$Builder() n.a.
Old file New file
n.a. 73
Methods:
Status Modifier Generic Templates Type Method Exceptions Compatibility Changes: Line Number
NEW public n.a. org.apache.commons.io.file.AccumulatorPathVisitor get()
Compatibility Changes:
Change
METHOD_ADDED_TO_PUBLIC_CLASS
Old file New file
n.a. 79
UNCHANGED public class  org.apache.commons.io.file.Counters top
Constructors:
Status Modifier Generic Templates Constructor Exceptions Compatibility Changes: Line Number
UNCHANGED public n.a. Counters()
Annotations:
Status: Fully Qualified Name: Elements:
NEW java.lang.Deprecated n.a.
Compatibility Changes:
Change
ANNOTATION_DEPRECATED_ADDED
Old file New file
28 461
UNCHANGED public class  org.apache.commons.io.file.CountingPathVisitor top
Superclass:
Status Superclass Compatibility Changes
UNCHANGED org.apache.commons.io.file.SimplePathVisitor n.a.
Constructors:
Status Modifier Generic Templates Constructor Exceptions Compatibility Changes: Line Number
UNCHANGED public n.a. CountingPathVisitor(org.apache.commons.io.file.Counters$PathCounters, org.apache.commons.io.file.PathFilter, org.apache.commons.io.file.PathFilter, org.apache.commons.io.function.IOBiFunction
<..>
New:java.nio.file.Pathjava.io.IOExceptionjava.nio.file.FileVisitResult
Old:java.nio.file.Pathjava.io.IOExceptionjava.nio.file.FileVisitResult
)
Annotations:
Status: Fully Qualified Name: Elements:
NEW java.lang.Deprecated n.a.
Compatibility Changes:
Change
ANNOTATION_DEPRECATED_ADDED
Old file New file
107 232
NEW static public abstract class  org.apache.commons.io.file.CountingPathVisitor$AbstractBuilder top
Compatibility Changes:
Change
INTERFACE_ADDED
Generic Templates:
Change Status Name Old Type New Type Generics
NEW B n.a. org.apache.commons.io.file.CountingPathVisitor$AbstractBuilder
<..>
New:TB
NEW T n.a. java.lang.Object
Superclass:
Status Superclass Compatibility Changes
NEW org.apache.commons.io.file.SimplePathVisitor$AbstractBuilder n.a.
Interfaces:
Status Interface Compatibility Changes
NEW org.apache.commons.io.function.IOSupplier n.a.
Constructors:
Status Modifier Generic Templates Constructor Exceptions Compatibility Changes: Line Number
NEW public n.a. CountingPathVisitor$AbstractBuilder() n.a.
Old file New file
n.a. 59
Methods:
Status Modifier Generic Templates Type Method Exceptions Compatibility Changes: Line Number
NEW public n.a. org.apache.commons.io.file.CountingPathVisitor$AbstractBuilder setDirectoryFilter(org.apache.commons.io.file.PathFilter)
Compatibility Changes:
Change
METHOD_ADDED_TO_PUBLIC_CLASS
Old file New file
n.a. 86
NEW public n.a. org.apache.commons.io.file.CountingPathVisitor$AbstractBuilder setDirectoryPostTransformer(java.util.function.UnaryOperator
<..>
New:java.nio.file.Path
)
Compatibility Changes:
Change
METHOD_ADDED_TO_PUBLIC_CLASS
Old file New file
n.a. 97
NEW public n.a. org.apache.commons.io.file.CountingPathVisitor$AbstractBuilder setFileFilter(org.apache.commons.io.file.PathFilter)
Compatibility Changes:
Change
METHOD_ADDED_TO_PUBLIC_CLASS
Old file New file
n.a. 108
NEW public n.a. org.apache.commons.io.file.CountingPathVisitor$AbstractBuilder setPathCounters(org.apache.commons.io.file.Counters$PathCounters)
Compatibility Changes:
Change
METHOD_ADDED_TO_PUBLIC_CLASS
Old file New file
n.a. 119
NEW static public class  org.apache.commons.io.file.CountingPathVisitor$Builder top
Compatibility Changes:
Change
INTERFACE_ADDED
Superclass:
Status Superclass Compatibility Changes
NEW org.apache.commons.io.file.CountingPathVisitor$AbstractBuilder n.a.
Interfaces:
Status Interface Compatibility Changes
NEW org.apache.commons.io.function.IOSupplier n.a.
Constructors:
Status Modifier Generic Templates Constructor Exceptions Compatibility Changes: Line Number
NEW public n.a. CountingPathVisitor$Builder() n.a.
Old file New file
n.a. 134
Methods:
Status Modifier Generic Templates Type Method Exceptions Compatibility Changes: Line Number
NEW public n.a. org.apache.commons.io.file.CountingPathVisitor get()
Compatibility Changes:
Change
METHOD_ADDED_TO_PUBLIC_CLASS
Old file New file
n.a. 140
MODIFIED final public class  org.apache.commons.io.file.PathUtils top
Methods:
Status Modifier Generic Templates Type Method Exceptions Compatibility Changes: Line Number
NEW static public n.a. boolean contentEquals(java.nio.file.FileSystem, java.nio.file.FileSystem)
Status: Name:
NEW java.io.IOException
Compatibility Changes:
Change
METHOD_ADDED_TO_PUBLIC_CLASS
Old file New file
n.a. 328
NEW static protected abstract class  org.apache.commons.io.file.SimplePathVisitor$AbstractBuilder top
Compatibility Changes:
Change
INTERFACE_ADDED
Generic Templates:
Change Status Name Old Type New Type Generics
NEW B n.a. org.apache.commons.io.build.AbstractSupplier
<..>
New:TB
NEW T n.a. java.lang.Object
Superclass:
Status Superclass Compatibility Changes
NEW org.apache.commons.io.build.AbstractSupplier n.a.
Interfaces:
Status Interface Compatibility Changes
NEW org.apache.commons.io.function.IOSupplier n.a.
Constructors:
Status Modifier Generic Templates Constructor Exceptions Compatibility Changes: Line Number
NEW public n.a. SimplePathVisitor$AbstractBuilder() n.a.
Old file New file
n.a. 50
Methods:
Status Modifier Generic Templates Type Method Exceptions Compatibility Changes: Line Number
NEW public n.a. org.apache.commons.io.build.AbstractSupplier setVisitFileFailedFunction(org.apache.commons.io.function.IOBiFunction
<..>
New:java.nio.file.Pathjava.io.IOExceptionjava.nio.file.FileVisitResult
)
Compatibility Changes:
Change
METHOD_ADDED_TO_PUBLIC_CLASS
Old file New file
n.a. 68
NEW public abstract interface  org.apache.commons.io.function.IOBooleanSupplier top
Compatibility Changes:
Change
ANNOTATION_ADDED
Methods:
Status Modifier Generic Templates Type Method Exceptions Compatibility Changes: Line Number
NEW public n.a. java.util.function.BooleanSupplier asBooleanSupplier() n.a.
Old file New file
n.a. 39
NEW public abstract n.a. boolean getAsBoolean()
Status: Name:
NEW java.io.IOException
n.a.
Old file New file
n.a. n.a.
Annotations:
Status: Fully Qualified Name: Elements:
NEW java.lang.FunctionalInterface n.a.
NEW public abstract interface  org.apache.commons.io.function.IOIterable top
Generic Templates:
Change Status Name Old Type New Type Generics
NEW T n.a. java.lang.Object
Methods:
Status Modifier Generic Templates Type Method Exceptions Compatibility Changes: Line Number
NEW public n.a. void forEach(org.apache.commons.io.function.IOConsumer
<..>
New:? super T
)
Status: Name:
NEW java.io.IOException
n.a.
Old file New file
n.a. 40
NEW public abstract n.a. org.apache.commons.io.function.IOIterator
<..>
New:T
iterator() n.a.
Old file New file
n.a. n.a.
NEW public n.a. org.apache.commons.io.function.IOSpliterator
<..>
New:T
spliterator() n.a.
Old file New file
n.a. 58
NEW public abstract n.a. java.lang.Iterable
<..>
New:T
unwrap() n.a.
Old file New file
n.a. n.a.
MODIFIED final public class  org.apache.commons.io.function.Uncheck top
Methods:
Status Modifier Generic Templates Type Method Exceptions Compatibility Changes: Line Number
NEW static public n.a. boolean getAsBoolean(org.apache.commons.io.function.IOBooleanSupplier)
Compatibility Changes:
Change
METHOD_ADDED_TO_PUBLIC_CLASS
Old file New file
n.a. 246
MODIFIED public abstract class  org.apache.commons.io.input.ProxyInputStream top
Superclass:
Status Superclass Compatibility Changes
UNCHANGED java.io.FilterInputStream n.a.
Methods:
Status Modifier Generic Templates Type Method Exceptions Compatibility Changes: Line Number
NEW public n.a. org.apache.commons.io.input.ProxyInputStream setReference(java.io.InputStream)
Compatibility Changes:
Change
METHOD_ADDED_TO_PUBLIC_CLASS
Old file New file
n.a. 377
MODIFIED public class  org.apache.commons.io.input.RandomAccessFileInputStream top
Superclass:
Status Superclass Compatibility Changes
UNCHANGED org.apache.commons.io.input.AbstractInputStream n.a.
Methods:
Status Modifier Generic Templates Type Method Exceptions Compatibility Changes: Line Number
NEW public n.a. long copy(long, long, java.io.OutputStream)
Status: Name:
NEW java.io.IOException
Compatibility Changes:
Change
METHOD_ADDED_TO_PUBLIC_CLASS
Old file New file
n.a. 202
MODIFIED public class  org.apache.commons.io.input.ReversedLinesFileReader top
Compatibility Changes:
Change
INTERFACE_ADDED
METHOD_DEFAULT_ADDED_IN_IMPLEMENTED_INTERFACE
Interfaces:
Status Interface Compatibility Changes
NEW org.apache.commons.io.function.IOIterable n.a.
Methods:
Status Modifier Generic Templates Type Method Exceptions Compatibility Changes: Line Number
NEW public n.a. org.apache.commons.io.function.IOIterator
<..>
New:java.lang.String
iterator()
Compatibility Changes:
Change
METHOD_ADDED_TO_PUBLIC_CLASS
Old file New file
n.a. 485
NEW public n.a. java.lang.Iterable
<..>
New:java.lang.String
unwrap()
Compatibility Changes:
Change
METHOD_ADDED_TO_PUBLIC_CLASS
Old file New file
n.a. 589
MODIFIED static public class  org.apache.commons.io.input.ThrottledInputStream$Builder top
Superclass:
Status Superclass Compatibility Changes
UNCHANGED org.apache.commons.io.input.ProxyInputStream$AbstractBuilder n.a.
Methods:
Status Modifier Generic Templates Type Method Exceptions Compatibility Changes: Line Number
NEW public n.a. org.apache.commons.io.input.ThrottledInputStream$Builder setMaxBytes(long, java.time.temporal.ChronoUnit)
Compatibility Changes:
Change
METHOD_ADDED_TO_PUBLIC_CLASS
Old file New file
n.a. 138
UNCHANGED (*) public class  org.apache.commons.io.IOUtils top
Methods:
Status Modifier Generic Templates Type Method Exceptions Compatibility Changes: Line Number
UNCHANGED (*) static public n.a. void closeQuietly(java.io.Closeable, java.util.function.Consumer
<..>
New:java.lang.Exception
Old:java.io.IOException
 (*)
)
n.a.
Old file New file
583 587
MODIFIED (*) public abstract class  org.apache.commons.io.output.AbstractByteArrayOutputStream top
Compatibility Changes:
Change
CLASS_GENERIC_TEMPLATE_CHANGED
Generic Templates:
Change Status Name Old Type New Type Generics
NEW T n.a. org.apache.commons.io.output.AbstractByteArrayOutputStream
<..>
New:T
Superclass:
Status Superclass Compatibility Changes
UNCHANGED java.io.OutputStream n.a.
Methods:
Status Modifier Generic Templates Type Method Exceptions Compatibility Changes: Line Number
NEW protected n.a. org.apache.commons.io.output.AbstractByteArrayOutputStream asThis() n.a.
Old file New file
n.a. 117
NEW public n.a. void write(byte[])
Compatibility Changes:
Change
METHOD_ADDED_TO_PUBLIC_CLASS
Old file New file
n.a. 329
NEW public n.a. org.apache.commons.io.output.AbstractByteArrayOutputStream write(java.lang.CharSequence, java.nio.charset.Charset)
Compatibility Changes:
Change
METHOD_ADDED_TO_PUBLIC_CLASS
Old file New file
n.a. 344
MODIFIED public class  org.apache.commons.io.output.BrokenOutputStream top
Superclass:
Status Superclass Compatibility Changes
UNCHANGED java.io.OutputStream n.a.
Constructors:
Status Modifier Generic Templates Constructor Exceptions Compatibility Changes: Line Number
UNCHANGED public n.a. BrokenOutputStream(java.util.function.Supplier
<..>
New:java.lang.Throwable
Old:java.lang.Throwable
)
Annotations:
Status: Fully Qualified Name: Elements:
NEW java.lang.Deprecated n.a.
Compatibility Changes:
Change
ANNOTATION_DEPRECATED_ADDED
Old file New file
71 87
NEW public n.a. BrokenOutputStream(java.util.function.Function
<..>
New:java.lang.Stringjava.lang.Throwable
)
n.a.
Old file New file
n.a. 75
UNCHANGED public class  org.apache.commons.io.output.DeferredFileOutputStream top
Superclass:
Status Superclass Compatibility Changes
UNCHANGED org.apache.commons.io.output.ThresholdingOutputStream n.a.
Methods:
Status Modifier Generic Templates Type Method Exceptions Compatibility Changes: Line Number
UNCHANGED protected n.a. java.io.OutputStream getStream()
Annotations:
Status: Fully Qualified Name: Elements:
NEW java.lang.Deprecated n.a.
Status: Name:
UNCHANGED java.io.IOException
Compatibility Changes:
Change
ANNOTATION_DEPRECATED_ADDED
Old file New file
421 424
MODIFIED public class  org.apache.commons.io.output.ProxyOutputStream top
Superclass:
Status Superclass Compatibility Changes
UNCHANGED java.io.FilterOutputStream n.a.
Methods:
Status Modifier Generic Templates Type Method Exceptions Compatibility Changes: Line Number
NEW public n.a. org.apache.commons.io.output.ProxyOutputStream setReference(java.io.OutputStream)
Compatibility Changes:
Change
METHOD_ADDED_TO_PUBLIC_CLASS
Old file New file
n.a. 169
NEW static public class  org.apache.commons.io.output.ProxyOutputStream$Builder top
Compatibility Changes:
Change
INTERFACE_ADDED
Superclass:
Status Superclass Compatibility Changes
NEW org.apache.commons.io.build.AbstractStreamBuilder n.a.
Interfaces:
Status Interface Compatibility Changes
NEW org.apache.commons.io.function.IOSupplier n.a.
Constructors:
Status Modifier Generic Templates Constructor Exceptions Compatibility Changes: Line Number
NEW public n.a. ProxyOutputStream$Builder() n.a.
Old file New file
n.a. 51
Methods:
Status Modifier Generic Templates Type Method Exceptions Compatibility Changes: Line Number
NEW public n.a. org.apache.commons.io.output.ProxyOutputStream get()
Status: Name:
NEW java.io.IOException
Compatibility Changes:
Change
METHOD_ADDED_TO_PUBLIC_CLASS
Old file New file
n.a. 74
MODIFIED final public class  org.apache.commons.io.output.RandomAccessFileOutputStream top
Superclass:
Status Superclass Compatibility Changes
UNCHANGED java.io.OutputStream n.a.
Methods:
Status Modifier Generic Templates Type Method Exceptions Compatibility Changes: Line Number
NEW public n.a. java.io.RandomAccessFile getRandomAccessFile()
Compatibility Changes:
Change
METHOD_ADDED_TO_PUBLIC_CLASS
Old file New file
n.a. 129