RAR Files

Discussion in 'Java' started by John Smith, Sep 19, 2005.

  1. John Smith

    John Smith Guest

    Is there a java API for RAR files like ZipInputStream?

    Thanks

    Jon
     
    John Smith, Sep 19, 2005
    #1
    1. Advertising

  2. John Smith

    Roedy Green Guest

    On Mon, 19 Sep 2005 15:35:01 +0100, "John Smith"
    <> wrote or quoted :

    >Is there a java API for RAR files like ZipInputStream?

    It looks as if the format is proprietary. The best you could hope for
    is a rar library like PkZip puts out for its proprietary formats.

    http://www.winrar-rog.com/einfo/features.html
    I don't see any sign of it or even a free reader.
    --
    Canadian Mind Products, Roedy Green.
    http://mindprod.com Again taking new Java programming contracts.
     
    Roedy Green, Sep 20, 2005
    #2
    1. Advertising

  3. John Smith

    Oliver Wong Guest

    "Roedy Green" <> wrote in message
    news:...
    > On Mon, 19 Sep 2005 15:35:01 +0100, "John Smith"
    > <> wrote or quoted :
    >
    >>Is there a java API for RAR files like ZipInputStream?

    > It looks as if the format is proprietary. The best you could hope for
    > is a rar library like PkZip puts out for its proprietary formats.
    >
    > http://www.winrar-rog.com/einfo/features.html
    > I don't see any sign of it or even a free reader.


    If you can read C++, 7zip is an open source compression program which
    can compress and decompress RAR files. Perhaps you could translate the
    algorithm to Java.

    - Oliver
     
    Oliver Wong, Sep 20, 2005
    #3
  4. John Smith

    malpani.anshul

    Joined:
    Mar 5, 2007
    Messages:
    4
    Is there a java API for RAR files like ZipInputStream?

    Can u please send me the code for this.
    my id is
     
    malpani.anshul, Mar 5, 2007
    #4
  5. John Smith

    malpani.anshul

    Joined:
    Mar 5, 2007
    Messages:
    4
    Is there a java API for RAR files like ZipInputStream?
    plese send me the cod at
     
    malpani.anshul, Mar 5, 2007
    #5
  6. John Smith

    malpani.anshul

    Joined:
    Mar 5, 2007
    Messages:
    4
    anshul.malpani#3i-infotech.com
     
    malpani.anshul, Mar 5, 2007
    #6
  7. John Smith

    malpani.anshul

    Joined:
    Mar 5, 2007
    Messages:
    4
    # is for @
     
    malpani.anshul, Mar 5, 2007
    #7
  8. John Smith

    adarshr

    Joined:
    Mar 18, 2008
    Messages:
    1
    RARoScope - Java Library for RAR Archive Scanning

    I recently wrote a Java library myself which does what you guys are looking for. Check it out yourself!

    http://www.adarshr.com/papers/raroscope


    Adarsh R
     
    adarshr, Mar 18, 2008
    #8
  9. John Smith

    jeev81

    Joined:
    Dec 9, 2009
    Messages:
    2
    Hi,

    I also had to do a similar project where I compress the file as rar. So I used the rar.exe command line option to compress the file and store in the path of my choice even to another local machine.

    I ran the command line options Runtime.getRuntime().exec(command) in java and was able to compress the file successfully.

    The rar.exe should be either set in the working folder or set in the environment variables.

    Regards,
    Rajeev
     
    jeev81, Jan 6, 2010
    #9
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    5
    Views:
    368
  2. redglow

    Rar

    redglow, Jan 27, 2004, in forum: Java
    Replies:
    3
    Views:
    2,551
    Marco Schmidt
    Jan 28, 2004
  3. Oliver Hoehle
    Replies:
    0
    Views:
    1,836
    Oliver Hoehle
    Feb 26, 2004
  4. fj
    Replies:
    10
    Views:
    883
    Jonathan N. Little
    Dec 5, 2006
  5. Xarc

    Can I open RAR files?

    Xarc, May 22, 2007, in forum: Ruby
    Replies:
    5
    Views:
    126
    Xarc Asda qwerty
    May 23, 2007
Loading...

Share This Page