org.cloudfoundry.client.lib.archive
Class DirectoryApplicationArchive
java.lang.Object
org.cloudfoundry.client.lib.archive.DirectoryApplicationArchive
- All Implemented Interfaces:
- ApplicationArchive
public class DirectoryApplicationArchive
- extends Object
- implements ApplicationArchive
Implementation of ApplicationArchive
backed by a ZipFile
.
- Author:
- A.B.Srinivasan, Phillip Webb
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DirectoryApplicationArchive
public DirectoryApplicationArchive(File directory)
getFilename
public String getFilename()
- Description copied from interface:
ApplicationArchive
- Returns the filename of the archive (excluding any path).
- Specified by:
getFilename
in interface ApplicationArchive
- Returns:
- the filename (for example myproject.war)
getEntries
public Iterable<ApplicationArchive.Entry> getEntries()
- Description copied from interface:
ApplicationArchive
- Returns
entries
that the archive contains.
- Specified by:
getEntries
in interface ApplicationArchive
- Returns:
- a collection of entries.
Copyright © 2013. All rights reserved.