public class UploadApplicationPayload extends Object
ApplicationArchive,
excluding any entries that are already known to the remote server.| Constructor and Description |
|---|
UploadApplicationPayload(ApplicationArchive archive,
CloudResources knownRemoteResources)
Create a new
UploadApplicationPayload. |
| Modifier and Type | Method and Description |
|---|---|
ApplicationArchive |
getArchive()
Returns the source archive.
|
InputStream |
getInputStream()
Returns the payload data as an input stream.
|
int |
getNumEntries() |
int |
getTotalUncompressedSize()
Returns the total size of the entries to be transfered (before compression).
|
public UploadApplicationPayload(ApplicationArchive archive, CloudResources knownRemoteResources) throws IOException
UploadApplicationPayload.archive - the source archiveknownRemoteResources - resources that are already known on the remote serverIOExceptionpublic ApplicationArchive getArchive()
public int getTotalUncompressedSize()
public int getNumEntries()
public InputStream getInputStream()
Copyright © 2015. All rights reserved.