org.brains2b.coffee.util
Class Yenc
java.lang.Object
org.brains2b.coffee.util.Yenc
- Direct Known Subclasses:
- YencDecoder
public class Yenc
- extends java.lang.Object
[Short description]
[Long description]
- Version:
- $Revision: 1.12 $ $Date: 2009/10/05 02:17:18 $
- Author:
- dennis@brains2b.nl
Field Summary |
java.util.ArrayList |
m_parts
|
Constructor Summary |
Yenc()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_parts
public java.util.ArrayList m_parts
Yenc
public Yenc()
decodePiece
public void decodePiece(java.lang.String s)
throws java.lang.Exception
- Throws:
java.lang.Exception
encode
public java.lang.String encode(java.io.File f,
int part,
int size)
decode
public java.io.File decode()
throws java.lang.Exception
- Throws:
java.lang.Exception
decode
public java.io.File decode(java.lang.String path)
throws java.lang.Exception
- Throws:
java.lang.Exception
decode
public java.io.File decode(java.io.File f)
throws java.lang.Exception
- Throws:
java.lang.Exception
decodeBytes
public byte[] decodeBytes()
throws java.lang.Exception
- Throws:
java.lang.Exception
isComplete
public boolean isComplete()
isStored
public boolean isStored()
getFileName
public java.lang.String getFileName()