Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
ZipCompressionStrategy
public class ZipCompressionStrategy
Erweitert extends Object
implements ICompressionStrategy
java.lang.Object |
↳ | com.android.tradefed.util.ZipCompressionStrategy |
Eine ICompressionStrategy
zum Erstellen von Zip-Archiven.
Zusammenfassung
Öffentliche Methoden |
---|
File | compress (File source) Komprimiert die source (oder den Ordner) und gibt das resultierende Archiv zurück. |
LogDataType | getLogDataType () Gibt den LogDataType des von dieser Strategie verwendeten Archivformats zurück. |
Öffentliche Konstrukteure
ZipCompressionStrategy
public ZipCompressionStrategy ()
Öffentliche Methoden
Kompresse
public File compress (File source)
Komprimiert die source
(oder den Ordner) und gibt das resultierende Archiv zurück.
Parameter |
---|
source | File : Die zu komprimierende Datei oder das zu komprimierende Verzeichnis |
Kehrt zurück |
---|
File | Das komprimierte Archiv |
getLogDataType
public LogDataType getLogDataType ()
Gibt den LogDataType
des von dieser Strategie verwendeten Archivformats zurück.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2022-08-15 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Benötigte Informationen nicht gefunden"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Zu umständlich/zu viele Schritte"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Nicht mehr aktuell"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"Problem mit der Übersetzung"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Problem mit Beispielen/Code"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Sonstiges"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Leicht verständlich"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Mein Problem wurde gelöst"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Sonstiges"
}]