MCPcopy Index your code
hub / github.com/apache/commons-codec

github.com/apache/commons-codec @commons-codec-1.14

Chat with this repo
repository ↗ · DeepWiki ↗ · release commons-codec-1.14 ↗ · + Follow
1,618 symbols 5,439 edges 133 files 722 documented · 45% 83 cross-repo links
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Apache Commons Codec

Build Status Coverage Status Maven Central Javadocs

The Apache Commons Codec package contains simple encoder and decoders for various formats such as Base64 and Hexadecimal. In addition to these widely used encoders and decoders, the codec package also maintains a collection of phonetic encoding utilities.

Documentation

More information can be found on the Apache Commons Codec homepage. The Javadoc can be browsed. Questions related to the usage of Apache Commons Codec 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-codec</groupId>
  <artifactId>commons-codec</artifactId>
  <version>1.14</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 Codec? Then donate back to the ASF to support the development.

Additional Resources

Extension points exported contracts — how you extend this code

Encoder (Interface)
Provides the highest level of abstraction for Encoders. This is the sister interface of Decoder. Every impl [28 implementers]
src/main/java/org/apache/commons/codec/Encoder.java
StringEncoder (Interface)
Defines common encoding methods for String encoders. [43 implementers]
src/main/java/org/apache/commons/codec/StringEncoder.java
Decoder (Interface)
Provides the highest level of abstraction for Decoders. This is the sister interface of Encoder. All Decoder [12 implementers]
src/main/java/org/apache/commons/codec/Decoder.java
BinaryDecoder (Interface)
Defines common decoding methods for byte array decoders. [18 implementers]
src/main/java/org/apache/commons/codec/BinaryDecoder.java
StringDecoder (Interface)
Defines common decoding methods for String decoders. [16 implementers]
src/main/java/org/apache/commons/codec/StringDecoder.java

Core symbols most depended-on inside this repo

encodeBase64
called by 199
src/main/java/org/apache/commons/codec/binary/Base64.java
getBytes
called by 191
src/main/java/org/apache/commons/codec/binary/StringUtils.java
encode
called by 179
src/main/java/org/apache/commons/codec/Encoder.java
encodeBase64Chunked
called by 171
src/main/java/org/apache/commons/codec/binary/Base64.java
getBytesUtf8
called by 130
src/main/java/org/apache/commons/codec/binary/StringUtils.java
length
called by 128
src/main/java/org/apache/commons/codec/language/ColognePhonetic.java
equals
called by 111
src/main/java/org/apache/commons/codec/binary/StringUtils.java
append
called by 103
src/main/java/org/apache/commons/codec/language/bm/Rule.java

Shape

Method 1,461
Class 146
Interface 8
Enum 3

Languages

Java100%

Modules by API surface

src/test/java/org/apache/commons/codec/language/MatchRatingApproachEncoderTest.java94 symbols
src/test/java/org/apache/commons/codec/binary/Base64Test.java67 symbols
src/test/java/org/apache/commons/codec/binary/HexTest.java60 symbols
src/main/java/org/apache/commons/codec/digest/DigestUtils.java47 symbols
src/test/java/org/apache/commons/codec/digest/DigestUtilsTest.java45 symbols
src/main/java/org/apache/commons/codec/language/DoubleMetaphone.java44 symbols
src/main/java/org/apache/commons/codec/language/bm/Rule.java38 symbols
src/test/java/org/apache/commons/codec/language/MetaphoneTest.java35 symbols
src/test/java/org/apache/commons/codec/digest/MurmurHash3Test.java32 symbols
src/main/java/org/apache/commons/codec/language/bm/Languages.java30 symbols
src/test/java/org/apache/commons/codec/language/SoundexTest.java29 symbols
src/test/java/org/apache/commons/codec/binary/Base32Test.java29 symbols

For agents

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

⬇ download graph artifact