Patches to (hoefully) fix deadlock in BOB and revision bumpped to B

SusiMail JavaDoc additions.
This commit is contained in:
sponge
2008-10-30 15:04:16 +00:00
parent d736b75dc2
commit 7f3f6dfde3
4 changed files with 23 additions and 23 deletions

View File

@ -42,8 +42,8 @@ public class Base64 implements Encoding {
return "base64";
}
/**
* @param string
* @return
* @throws EncodingException
*/
public String encode( byte in[] ) throws EncodingException
{
@ -172,7 +172,7 @@ public class Base64 implements Encoding {
}
/**
* @param str
* @param text
* @return
*/
public ReadBuffer decode(String text) throws DecodingException {

View File

@ -36,37 +36,44 @@ public interface Encoding {
*
* @param in
* @return
* @throws EncodingException
*/
public String encode( byte in[] ) throws EncodingException;
/**
*
* @param str
* @return
* @throws EncodingException
*/
public String encode( String str ) throws EncodingException;
/**
*
* @param in
* @return
* @throws DecodingException
*/
public ReadBuffer decode( byte in[] ) throws DecodingException;
/**
*
* @param in
* @param size
* @param offset
* @param length
* @return
* @throws DecodingException
*/
public ReadBuffer decode( byte in[], int offset, int length ) throws DecodingException;
/**
*
* @param str
* @return
* @throws DecodingException
*/
public ReadBuffer decode( String str ) throws DecodingException;
/**
*
* @param in
* @return
* @throws DecodingException
*/
public ReadBuffer decode( ReadBuffer in ) throws DecodingException;
}