Class UUEncodingUtils

java.lang.Object
app.tozzi.util.UUEncodingUtils

public class UUEncodingUtils extends Object
UUEncoding/UUDecoding management
  • Constructor Details

    • UUEncodingUtils

      public UUEncodingUtils()
  • Method Details

    • containsEncodedAttachments

      public static boolean containsEncodedAttachments(String content)
      Checks if the content is encoded with uuencode encoding
      Parameters:
      content - content
      Returns:
      true/false
    • decodeAttachments

      public static List<Attachment> decodeAttachments(String content)
      Decode and extracts uuencoded attachments
      Parameters:
      content - content
      Returns:
      attachments
    • getNextBeginIndex

      public static int getNextBeginIndex(String content)
      Calculates uuencoding begin index
      Parameters:
      content - content
      Returns:
      index