truezip

    0熱度

    1回答

    我正在使用TrueZip進行壓縮。這裏是我的代碼是什麼樣子 public String compress() throws IOException { if (logLocations.isEmpty()) { throw new IllegalStateException("no logs provided to compress"); } remov

    3熱度

    1回答

    我遇到了Restlet資源的問題。它使用TrueZip構建Zip Archive的一個子集並允許用戶下載它。 // Create a Streaming Response Entity. final StreamingOutput stream = new StreamingOutput() { @Override public void write(final

    3熱度

    2回答

    我與另一位開發人員進行了辯論,他們不喜歡我爲我們的自定義需求進行分類java.io.File的想法(例如,有一個AWSFile或GoogleCloudStorageFile(爲了爭辯),我們需要覆蓋一些方法,如listFiles(),getAbsoluteFile等)。什麼時候可以分課java.io.File? 爲什麼會出現這種情況,例如,沒有用於此的通用接口,java.io.File可能正在實現

    1熱度

    1回答

    我想提取一個包含大約250K文件的大小〜500MB的zip文件的內容。 這裏就是我想要做的事 - import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.concurrent.ExecutorService; i

    1熱度

    1回答

    他們的任何設置禁用truezip遞歸解壓縮?我想將內部Zip複製到不同的路徑,但無法將內部zip作爲TFile實例。 zip:zip:file:/ C:/Users/dbelwal/Documents/Autloader/tmp/6907267-xml.zip!/6907267-mm.zip!/(預期的FILE條目,但是是[DIRECTORY]條目)

    2熱度

    1回答

    我想從zip文件中刪除文件,而無需在android中進行解壓縮。我第一次使用下面的代碼 Path zipFilePath = Paths.get(filePaths); //gave the path of the zip with zip file name try(FileSystem fs = FileSystems.newFileSystem(zipFilePath, null)){

    0熱度

    1回答

    我有一個使用簡單的maven-war-plugin打包WAR的項目。除了所有其他的依賴關係之外,其中一個依賴項說'abc.jar'在打包時會包含一個默認的彈簧配置,我想在打包之前使用默認的彈簧配置進行更新。我有maven配置文件配置爲激活,如果下面的生成命令應用; mvn clean install -DframeworkPacakging=XYZ 我試圖用 'truezip - Maven的

    2熱度

    1回答

    TrueZip 6有一個運行良好的小程序。最近,我通過將6個軟件包添加到項目的類路徑中,將TrueZip jar更新到了7.7.9版本:truezip-driver-file,truezip -driver-tar,truezip-driver-zip,truezip-file,truezip-kernel和truezip-swing以及所有必要的依賴關係(xz 1.5等)。 ,有編譯過程中沒有錯

    0熱度

    1回答

    我使用TrueZip(v 7.6.4)寫入zip存檔。我有一組文件夾是這樣的: > ls -l /home/remi drwxr-xr-x 2 remi remi 4096 sept. 10 16:49 testtz drwxr-xr-x 2 remi remi 4096 sept. 10 16:49 symlinktarget lrwxrwxrwx 1 remi remi 14 sept.

    2熱度

    1回答

    public class unzipAll { public static void main(final java.lang.String[] args) throws Exception{ TFile src = new TFile("C:/1/BULK.tar.gz"); File dest = new File("C:/Test/"); d