Package com.github.junrar
Class Junrar
java.lang.Object
com.github.junrar.Junrar
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionextract(VolumeManager volumeManager, File destinationFolder) extract(VolumeManager volumeManager, File destinationFolder, String password) extract(InputStream resourceAsStream, File destinationFolder) extract(InputStream resourceAsStream, File destinationFolder, String password) static List<ContentDescription>static List<ContentDescription>getContentsDescription(InputStream resourceAsStream)
-
Constructor Details
-
Junrar
public Junrar()
-
-
Method Details
-
extract
public static List<File> extract(String rarPath, String destinationPath) throws IOException, RarException - Throws:
IOExceptionRarException
-
extract
public static List<File> extract(String rarPath, String destinationPath, String password) throws IOException, RarException - Throws:
IOExceptionRarException
-
extract
- Throws:
RarExceptionIOException
-
extract
public static List<File> extract(File rar, File destinationFolder, String password) throws RarException, IOException - Throws:
RarExceptionIOException
-
extract
public static List<File> extract(InputStream resourceAsStream, File destinationFolder) throws RarException, IOException - Throws:
RarExceptionIOException
-
extract
public static List<File> extract(InputStream resourceAsStream, File destinationFolder, String password) throws RarException, IOException - Throws:
RarExceptionIOException
-
extract
public static List<File> extract(VolumeManager volumeManager, File destinationFolder) throws IOException, RarException - Throws:
IOExceptionRarException
-
extract
public static List<File> extract(VolumeManager volumeManager, File destinationFolder, String password) throws IOException, RarException - Throws:
IOExceptionRarException
-
getContentsDescription
public static List<ContentDescription> getContentsDescription(File rar) throws RarException, IOException - Throws:
RarExceptionIOException
-
getContentsDescription
public static List<ContentDescription> getContentsDescription(InputStream resourceAsStream) throws RarException, IOException - Throws:
RarExceptionIOException
-