Top Fields Constructors Methods
org.jruby.util

public Class PackUtils

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
private static final byte[]

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static ByteList

Returns:

the io2Append buffer
qpencode
(ByteList
The StringBuffer which should receive the result
io2Append
,
ByteList
The String to encode
i2Encode
,
int
The max number of characters to encode
iLength
)

encodes a String with the Quoted printable, MIME encoding (see RFC2045).

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

hex_tableback to summary
private static final byte[] hex_table

Constructor Detail

PackUtilsback to summary
public PackUtils()

Method Detail

qpencodeback to summary
public static ByteList qpencode(ByteList io2Append, ByteList i2Encode, int iLength)

encodes a String with the Quoted printable, MIME encoding (see RFC2045). appends the result of the encoding in a StringBuffer

Parameters
io2Append:ByteList

The StringBuffer which should receive the result

i2Encode:ByteList

The String to encode

iLength:int

The max number of characters to encode

Returns:ByteList

the io2Append buffer