|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.yenc.YDecoder
Implementation of the decoder for YEncoding project.
This class is to be used to decode files encoded with yenc
See www.yenc.org for details.
To run the project, use:
java org.yenc.YDecoder FileToDecode DestinationFolder
Known limitations:
If you have imporovements to this code, please send them to me or to yenc@infostar.de
Method Summary | |
static void |
decode(java.io.RandomAccessFile file,
java.lang.String folder)
This method does all of the decoding work. |
static int |
getVersionNumber()
Provides a way to find out which version this decoding engine is up to. |
static void |
main(java.lang.String[] args)
To Run: java org.yenc.YDecImpl FileToDecode DestinationFolder |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static void decode(java.io.RandomAccessFile file, java.lang.String folder) throws java.io.IOException
file
- takes a file to read fromfolder
- destination folder.
File will be created based on the name provided by the header.
if there is an error in the header and the name
can not be obtained, "unknown" is used.java.io.IOException
- public static int getVersionNumber()
public static void main(java.lang.String[] args) throws java.io.IOException
args
- Command line argument(s)java.io.IOException
-
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |