Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## vut.msa.utilities
Class ZipUtilities

    java.lang.Object
      vut.msa.utilities.ZipUtilities

    public final class ZipUtilities

extends java.lang.Object

Trieda poskytuje metody na kompresiu a dekompresiu suborov pomocou ZIP.

Constructor Summary
`ZipUtilities()`

Method Summary
`static void` | `compress(java.util.ArrayList<java.lang.String> files, java.lang.String zipFileName)` Metoda zkomprimuje subory do ZIP archivu.
`static int` | `countFilesInZip(java.lang.String fileName)` Metoda spocita pocet zaznamov (dokumentov) v ulozenom archive.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ZipUtilities

    public ZipUtilities()

Method Detail

### compress

    public static void compress(java.util.ArrayList<java.lang.String> files,
                                java.lang.String zipFileName)

  Metoda zkomprimuje subory do ZIP archivu. V sucasnosti ma problem s diakritikou v nazvoch suboru, teraz vie pracovat len so subormi bez diakritiky v nazve,

  Parameters:
    `files` - zoznam suborov, ktore maju byt zkomprimovane
    `zipFileName` - nazov ZIP suboru, do ktoreho maju byt subory zbalene

### countFilesInZip

    public static int countFilesInZip(java.lang.String fileName)

  Metoda spocita pocet zaznamov (dokumentov) v ulozenom archive.

  Parameters:
    `fileName` - cesta k archivu
  Returns:
    pocet zaznamov v archive

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD