org.brains2b.coffee.decode
Class YencDecoder

java.lang.Object
  extended by org.brains2b.coffee.util.Yenc
      extended by org.brains2b.coffee.decode.YencDecoder
All Implemented Interfaces:
Decoder, Encoder

public class YencDecoder
extends Yenc
implements Decoder, Encoder

Decoder and Encoder for Yenc format

Most of the work is left to Yenc

Version:
1.00 [5-aug-2005]
Author:
dennis@brains2b.nl
See Also:
Yenc

Field Summary
 
Fields inherited from class org.brains2b.coffee.util.Yenc
m_parts
 
Constructor Summary
YencDecoder()
           
 
Method Summary
 FileMessage getFileMessage()
          get the FileMessage with a reference to the decoded bytes
 
Methods inherited from class org.brains2b.coffee.util.Yenc
decode, decode, decode, decodeBytes, decodePiece, encode, getFileName, isComplete, isStored
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.brains2b.coffee.decode.Decoder
decodePiece
 
Methods inherited from interface org.brains2b.coffee.decode.Encoder
encode
 

Constructor Detail

YencDecoder

public YencDecoder()
Method Detail

getFileMessage

public FileMessage getFileMessage()
                           throws java.lang.Exception
Description copied from interface: Decoder
get the FileMessage with a reference to the decoded bytes

Specified by:
getFileMessage in interface Decoder
Returns:
FileMessage the reference to the decoded bytes and possible file information
Throws:
java.lang.Exception