Package net.ME1312.Galaxi.Library
Class Directories
java.lang.Object
net.ME1312.Galaxi.Library.Directories
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Copy a Directorystatic void
Delete DirectorySearch a Directorystatic void
unzip
(InputStream zip, File folder) Unzip a Directorystatic void
zip
(File folder, OutputStream zip) Zip a Directory
-
Method Details
-
copy
Copy a Directory- Parameters:
from
- Sourceto
- Destination
-
search
Search a Directory- Parameters:
folder
- Location- Returns:
- List of all found file paths
-
zip
Zip a Directory- Parameters:
folder
- Locationzip
- Zip Data Stream
-
unzip
Unzip a Directory- Parameters:
zip
- Zip Data Streamfolder
- Parent Location
-
delete
Delete Directory- Parameters:
folder
- Location
-