com.github.junrar.impl.InputStreamVolumeManager Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of junrar Show documentation
Show all versions of junrar Show documentation
rar decompression library in plain java
package com.github.junrar.impl;
import java.io.IOException;
import java.io.InputStream;
import com.github.junrar.Archive;
import com.github.junrar.Volume;
import com.github.junrar.VolumeManager;
public class InputStreamVolumeManager implements VolumeManager {
private final InputStream is;
public InputStreamVolumeManager(final InputStream is) {
this.is = is;
}
@Override
public Volume nextArchive(final Archive archive, final Volume lastVolume) throws IOException {
return new InputStreamVolume(archive, this.is);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy