2

I am searching for a PAR2 library to be used in a custom Java application. It seems the only lib available on sourceforge (JPar2) is in planning status since 2008, no update since then. Any of guys had better luck?

Thanks in advance!

Matthias
  • 9,817
  • 14
  • 66
  • 125

2 Answers2

0

I had the same problem and I have decided to use zfec library, it is extremely easy to use, no need to even read anything. All you need is zfec --help and you're done.

Check out my answer in a similar question here.

In order to communicate with Java I'm considering two possibilities:

  1. Create a JNI.

  2. Create a small local HTTP service in python as a wrapper of the zfec library. Probably with some like Flask

JPar2 is still not available as of today. (february 2014)

Community
  • 1
  • 1
Cacho Santa
  • 6,846
  • 6
  • 41
  • 73
0

Finally, I have decided to go with a Java implementation of the FEC.

It is based on onion networks FEC library.

I developed a wrapper for that library that hopefully makes it easier to use for what I need. It has Junit tests and a simpler API for creating the chunks from a File or from a byte array.

Take a look here if you are interested, it is a public repository in bitbucket.

Cacho Santa
  • 6,846
  • 6
  • 41
  • 73