MCPcopy
hub / github.com/apache/commons-io

github.com/apache/commons-io @commons-io-2.6 sqlite

repository ↗ · DeepWiki ↗ · release commons-io-2.6 ↗ · compare 2 versions
2,514 symbols 8,560 edges 232 files 1,187 documented · 47%
README

Apache Commons IO

Build Status Coverage Status Maven Central License

The Apache Commons IO library contains utility classes, stream implementations, file filters, file comparators, endian transformation classes, and much more.

Documentation

More information can be found on the Apache Commons IO homepage. The JavaDoc can be browsed. Questions related to the usage of Apache Commons IO should be posted to the user mailing list.

Where can I get the latest release?

You can download source and binaries from our download page.

Alternatively you can pull it from the central Maven repositories:

<dependency>
  <groupId>commons-io</groupId>
  <artifactId>commons-io</artifactId>
  <version>2.6</version>
</dependency>

Contributing

We accept Pull Requests via GitHub. The developer mailing list is the main channel of communication for contributors. There are some guidelines which will make applying PRs easier for us: + No tabs! Please use spaces for indentation. + Respect the code style. + Create minimal diffs - disable on save actions like reformat source code or organize imports. If you feel the source code should be reformatted create a separate PR for this change. + Provide JUnit tests for your changes and make sure your changes don't break any existing tests by running mvn clean test.

If you plan to contribute on a regular basis, please consider filing a contributor license agreement. You can learn more about contributing via GitHub in our contribution guidelines.

License

This code is under the Apache Licence v2.

See the NOTICE.txt file for required notices and attributions.

Donations

You like Apache Commons IO? Then donate back to the ASF to support the development.

Additional Resources

Extension points exported contracts — how you extend this code

ClassNameMatcher (Interface)
An object that matches a Class name to a condition. [8 implementers]
src/main/java/org/apache/commons/io/serialization/ClassNameMatcher.java
IOFileFilter (Interface)
An interface which brings the FileFilter and FilenameFilter interfaces together. @since 1.0 @version $Id$ [28 implementers]
src/main/java/org/apache/commons/io/filefilter/IOFileFilter.java
FileAlterationListener (Interface)
A listener that receives events of file system modifications. Register FileAlterationListeners with a {@link [4 implementers]
src/main/java/org/apache/commons/io/monitor/FileAlterationListener.java
ConditionalFileFilter (Interface)
Defines operations for conditional file filters. @since 1.1 @version $Id$ [4 implementers]
src/main/java/org/apache/commons/io/filefilter/ConditionalFileFilter.java
TailerListener (Interface)
Listener for events from a Tailer. @since 2.0 [3 implementers]
src/main/java/org/apache/commons/io/input/TailerListener.java

Core symbols most depended-on inside this repo

add
called by 289
src/main/java/org/apache/commons/io/input/ObservableInputStream.java
size
called by 174
src/main/java/org/apache/commons/io/output/ByteArrayOutputStream.java
normalize
called by 151
src/main/java/org/apache/commons/io/FilenameUtils.java
normalizeNoEndSeparator
called by 142
src/main/java/org/apache/commons/io/FilenameUtils.java
read
called by 106
src/main/java/org/apache/commons/io/input/BOMInputStream.java
closeQuietly
called by 93
src/main/java/org/apache/commons/io/IOUtils.java
toByteArray
called by 89
src/main/java/org/apache/commons/io/output/ByteArrayOutputStream.java
isExtension
called by 85
src/main/java/org/apache/commons/io/FilenameUtils.java

Shape

Method 2,244
Class 263
Interface 5
Enum 2

Languages

Java100%

Modules by API surface

src/test/java/org/apache/commons/io/FileUtilsTestCase.java159 symbols
src/test/java/org/apache/commons/io/IOUtilsTestCase.java115 symbols
src/main/java/org/apache/commons/io/FileUtils.java77 symbols
src/test/java/org/apache/commons/io/input/BOMInputStreamTest.java60 symbols
src/test/java/org/apache/commons/io/IOUtilsWriteTestCase.java54 symbols
src/test/java/org/apache/commons/io/filefilter/FileFilterTestCase.java50 symbols
src/test/java/org/apache/commons/io/DirectoryWalkerTestCase.java46 symbols
src/test/java/org/apache/commons/io/input/CharSequenceInputStreamTest.java45 symbols
src/test/java/org/apache/commons/io/FileSystemUtilsTestCase.java40 symbols
src/test/java/org/apache/commons/io/DirectoryWalkerTestCaseJava4.java40 symbols
src/test/java/org/apache/commons/io/FilenameUtilsTestCase.java39 symbols
src/main/java/org/apache/commons/io/FilenameUtils.java35 symbols

Dependencies from manifests, versioned

junit:junit4.12 · 1×

For agents

$ claude mcp add commons-io \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact