public class OfflineUpdateRequest extends Object
| Constructor and Description |
|---|
OfflineUpdateRequest(UpdateInventoryRequest request)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
File |
generate(File outputDir,
boolean zip,
boolean prettyJson)
The method generates the update request file.
|
public static final String UTF_8
public OfflineUpdateRequest(UpdateInventoryRequest request)
request - update inventorypublic File generate(File outputDir, boolean zip, boolean prettyJson) throws IOException
outputDir - Directory where request file will be created.zip - Whether or not to zip the request.prettyJson - Whether or not to parse the json before writing to file (only if zip is false).IOException - In case of errors during file generation process.Copyright © 2011-2018 White Source. All Rights Reserved.