GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - biagioT/java-uudecoder: Utility for decoding uuencoded contents. Extract text and attachments from an uuencoded mail.

This repository was archived by the owner on Aug 26, 2025. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

23 Commits
23 Commits

Folders and files

NameName
Last commit message
Last commit date
src/main/java/app/tozzi/uudecoder
src/main/java/app/tozzi/uudecoder
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
pom.xml
pom.xml
 
 

Repository files navigation

JAVA UUDecoder

Utility for decoding uuencoded contents. Extract text and attachments from an uuencoded mail.

Usage

<dependency>
	<groupId>app.tozzi</groupId>
	<artifactId>uudecoder</artifactId>
	<version>4.0.0</version>
</dependency>

Simple example of use:

String uuencodedContent = ...;
UUDecodedBean decodedBean = UUDecodedBean decode(content); 		 
String content = decodedBean.getContent(); 
List<UUDecodedAttachment> attachments = decodedBean.getAttachments();

Advanced example:

//  MimePart part = ...
if (part.isMimeType("text/plain")) {
	
   Object partContent = part.getContent();
   String txtContent = partContent.toString();

   if (UUDecoder.containsUUEncodedAttachments(txtContent)) {
        txtContent = txtContent.substring(0, UUDecoder.getNextBeginIndex(txtContent));

        for (UUDecodedAttachment uda : UUDecoder.getUUDecodedAttachments(partContent.toString())) {
	         String fileName = uda.getFileName();
	         DataSource dataSource = uda.getDataSource();
	         // ...
        }
   }
	
 // ...
 String txtBody = MimeUtility.decodeText(txtContent);
}
// ...

Requirements

  • >= Java 8

License

  • The project license file is available here.

About

Utility for decoding uuencoded contents. Extract text and attachments from an uuencoded mail.

Topics

begin666emailjavajava-uudecodermailmimemessagepecrfc1154rfc1505rfc2045uudecodeuudecoderuudecodinguuencodeuuencoderuuencoding

Resources

Readme
Apache-2.0 license
Activity

Stars

2 stars

Watchers

1 watching

Forks

2 forks
Report repository

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.