@sap/async-xsjs 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +26 -0
- package/LICENSE +37 -0
- package/README.md +445 -0
- package/differences.md +162 -0
- package/docs/$.Application.html +262 -0
- package/docs/$.Session.html +674 -0
- package/docs/$.db.CallableStatement.html +2524 -0
- package/docs/$.db.Connection.html +511 -0
- package/docs/$.db.ParameterMetaData.html +805 -0
- package/docs/$.db.PreparedStatement.html +1796 -0
- package/docs/$.db.ResultSet.html +1308 -0
- package/docs/$.db.ResultSetMetaData.html +800 -0
- package/docs/$.db.SQLException.html +259 -0
- package/docs/$.db.html +773 -0
- package/docs/$.hdb.ColumnMetadata.html +438 -0
- package/docs/$.hdb.Connection.html +663 -0
- package/docs/$.hdb.ProcedureResult.html +280 -0
- package/docs/$.hdb.ResultSet.html +324 -0
- package/docs/$.hdb.ResultSetIterator.html +315 -0
- package/docs/$.hdb.ResultSetMetaData.html +259 -0
- package/docs/$.hdb.SQLException.html +259 -0
- package/docs/$.hdb.html +557 -0
- package/docs/$.html +471 -0
- package/docs/$.jobs.Job.html +783 -0
- package/docs/$.jobs.JobLog.html +380 -0
- package/docs/$.jobs.JobSchedules.html +852 -0
- package/docs/$.jobs.html +238 -0
- package/docs/$.net.Destination.html +304 -0
- package/docs/$.net.Mail.Part.html +510 -0
- package/docs/$.net.Mail.html +504 -0
- package/docs/$.net.SMTPConnection.html +347 -0
- package/docs/$.net.html +749 -0
- package/docs/$.net.http.Client.html +562 -0
- package/docs/$.net.http.Destination.html +237 -0
- package/docs/$.net.http.Request.html +567 -0
- package/docs/$.net.http.html +292 -0
- package/docs/$.security.AntiVirus.html +361 -0
- package/docs/$.security.Store.html +636 -0
- package/docs/$.security.crypto.html +414 -0
- package/docs/$.security.html +247 -0
- package/docs/$.security.x509.html +373 -0
- package/docs/$.text.analysis.Session.html +983 -0
- package/docs/$.text.analysis.html +242 -0
- package/docs/$.text.html +246 -0
- package/docs/$.text.mining.Session.html +2018 -0
- package/docs/$.text.mining.html +242 -0
- package/docs/$.trace.html +525 -0
- package/docs/$.util.SAXParser.html +955 -0
- package/docs/$.util.Zip.html +474 -0
- package/docs/$.util.codec.html +414 -0
- package/docs/$.util.compression.html +357 -0
- package/docs/$.util.html +325 -0
- package/docs/$.util.sql.html +290 -0
- package/docs/$.web.Body.html +333 -0
- package/docs/$.web.EntityList.html +296 -0
- package/docs/$.web.TupelList.html +496 -0
- package/docs/$.web.WebEntityRequest.html +393 -0
- package/docs/$.web.WebEntityResponse.html +392 -0
- package/docs/$.web.WebRequest.html +560 -0
- package/docs/$.web.WebResponse.html +609 -0
- package/docs/$.web.html +246 -0
- package/docs/Copyright-SAP.html +39 -0
- package/docs/Disclaimer-SAP.html +55 -0
- package/docs/index.html +232 -0
- package/docs/styles/jsdoc-default.css +382 -0
- package/lib/AppConfig.js +36 -0
- package/lib/AuditLogger.js +41 -0
- package/lib/cacert.js +26 -0
- package/lib/ctypes.js +153 -0
- package/lib/destinations/dest-provider.js +57 -0
- package/lib/index.js +235 -0
- package/lib/jobs/Action.js +40 -0
- package/lib/jobs/Job.js +100 -0
- package/lib/jobs/JobManager.js +150 -0
- package/lib/jobs/JobsRuntime.js +133 -0
- package/lib/jobs/SqlScriptJobRunner.js +36 -0
- package/lib/jobs/XsjsJobRunner.js +78 -0
- package/lib/jobs/index.js +11 -0
- package/lib/logging.js +16 -0
- package/lib/middleware.js +125 -0
- package/lib/odata/ODataService.js +125 -0
- package/lib/odata/index.js +7 -0
- package/lib/odata/service-factory.js +26 -0
- package/lib/passport-noauth.js +17 -0
- package/lib/routes.js +115 -0
- package/lib/runtime.js +740 -0
- package/lib/sandbox.js +40 -0
- package/lib/utils/XsJsFunctionRunner.js +57 -0
- package/lib/utils/XsJsLibFunctionRunner.js +57 -0
- package/lib/utils/buffer-utils.js +77 -0
- package/lib/utils/compression-utils.js +14 -0
- package/lib/utils/date-utils.js +104 -0
- package/lib/utils/errors/HttpError.js +20 -0
- package/lib/utils/errors/wrap-app-error.js +18 -0
- package/lib/utils/index.js +17 -0
- package/lib/utils/xs-function-runner.js +51 -0
- package/lib/utils/xs-types.js +21 -0
- package/lib/utils/xspath.js +36 -0
- package/lib/utils/xsstack.js +28 -0
- package/lib/views/error.html +28 -0
- package/lib/xsjs/Application.js +28 -0
- package/lib/xsjs/Locale.js +53 -0
- package/lib/xsjs/Session.js +31 -0
- package/lib/xsjs/constants.js +71 -0
- package/lib/xsjs/db/common/DbBase.js +85 -0
- package/lib/xsjs/db/common/DbOptions.js +163 -0
- package/lib/xsjs/db/common/arguments-validation.js +102 -0
- package/lib/xsjs/db/common/connection.js +12 -0
- package/lib/xsjs/db/common/enums.js +93 -0
- package/lib/xsjs/db/common/execute-batch.js +38 -0
- package/lib/xsjs/db/common/parse-time.js +139 -0
- package/lib/xsjs/db/dbapi/CallableStatement.js +192 -0
- package/lib/xsjs/db/dbapi/Connection.js +78 -0
- package/lib/xsjs/db/dbapi/DB.js +39 -0
- package/lib/xsjs/db/dbapi/ParameterMetaData.js +118 -0
- package/lib/xsjs/db/dbapi/PreparedStatement.js +78 -0
- package/lib/xsjs/db/dbapi/ResultSet.js +220 -0
- package/lib/xsjs/db/dbapi/ResultSetMetaData.js +116 -0
- package/lib/xsjs/db/dbapi/Statement.js +514 -0
- package/lib/xsjs/db/dbapi/conversions.js +113 -0
- package/lib/xsjs/db/dbapi/fetch-rows.js +32 -0
- package/lib/xsjs/db/hdbapi/Connection.js +525 -0
- package/lib/xsjs/db/hdbapi/HDB.js +32 -0
- package/lib/xsjs/db/hdbapi/ResultSetIterator.js +40 -0
- package/lib/xsjs/db/hdbapi/convert.js +77 -0
- package/lib/xsjs/db/hdbapi/table-string-parser.js +52 -0
- package/lib/xsjs/db/index.js +4 -0
- package/lib/xsjs/index.js +13 -0
- package/lib/xsjs/jobs/Job.js +228 -0
- package/lib/xsjs/jobs/Jobs.js +11 -0
- package/lib/xsjs/jobs/Logs.js +127 -0
- package/lib/xsjs/jobs/Schedule.js +110 -0
- package/lib/xsjs/jobs/Schedules.js +108 -0
- package/lib/xsjs/net/Destination.js +43 -0
- package/lib/xsjs/net/http/Client.js +220 -0
- package/lib/xsjs/net/http/HTTP.js +72 -0
- package/lib/xsjs/net/index.js +5 -0
- package/lib/xsjs/net/smtp/Mail.js +38 -0
- package/lib/xsjs/net/smtp/Part.js +30 -0
- package/lib/xsjs/net/smtp/SMTPConnection.js +39 -0
- package/lib/xsjs/net/smtp/index.js +18 -0
- package/lib/xsjs/net/smtp/nodemailer-util.js +77 -0
- package/lib/xsjs/require.js +39 -0
- package/lib/xsjs/security/AntiVirus.js +31 -0
- package/lib/xsjs/security/Store.js +119 -0
- package/lib/xsjs/security/crypto.js +23 -0
- package/lib/xsjs/security/index.js +5 -0
- package/lib/xsjs/security/x509.js +12 -0
- package/lib/xsjs/text/analysis/Session.js +128 -0
- package/lib/xsjs/text/index.js +30 -0
- package/lib/xsjs/text/mining/Session.js +82 -0
- package/lib/xsjs/trace/trace.js +41 -0
- package/lib/xsjs/util/SAXParser.js +174 -0
- package/lib/xsjs/util/Zip.js +220 -0
- package/lib/xsjs/util/codec.js +33 -0
- package/lib/xsjs/util/compression.js +24 -0
- package/lib/xsjs/util/index.js +22 -0
- package/lib/xsjs/web/BasicWebEntity.js +41 -0
- package/lib/xsjs/web/EntityList.js +11 -0
- package/lib/xsjs/web/TupelLists/CookiesTupelList.js +47 -0
- package/lib/xsjs/web/TupelLists/HeadersTupelList.js +55 -0
- package/lib/xsjs/web/TupelLists/ParametersTupelList.js +83 -0
- package/lib/xsjs/web/TupelLists/TupelListBase.js +45 -0
- package/lib/xsjs/web/WebBody.js +135 -0
- package/lib/xsjs/web/WebEntityRequest.js +40 -0
- package/lib/xsjs/web/WebEntityResponse.js +26 -0
- package/lib/xsjs/web/WebRequest.js +209 -0
- package/lib/xsjs/web/WebResponse.js +183 -0
- package/lib/xsjs/web/index.js +4 -0
- package/lib/xsjs/web/utils/HeadersParser.js +53 -0
- package/lib/xsjs/web/utils/HttpRequestParser.js +93 -0
- package/lib/xsjs/web/utils/MultipartParser.js +163 -0
- package/lib/xsjs/web/utils/MultipartResponseBuilder.js +73 -0
- package/lib/xsjs/web/utils/SetCookieParser.js +32 -0
- package/lib/xsjslib/TextBundleWrapper.js +46 -0
- package/lib/xsjslib/index.js +11 -0
- package/npm-shrinkwrap.json +11540 -0
- package/package.json +84 -0
|
@@ -0,0 +1,474 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="utf-8">
|
|
6
|
+
<title>JSDoc: Class: Zip</title>
|
|
7
|
+
<script src="scripts/prettify/prettify.js"></script>
|
|
8
|
+
<script src="scripts/prettify/lang-css.js"></script>
|
|
9
|
+
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
|
|
10
|
+
|
|
11
|
+
<script src="scripts/launch-8b3c5ca29b9e.min.js"></script>
|
|
12
|
+
<script src="scripts/highlight.js"></script>
|
|
13
|
+
<link rel="canonical" href="$.util.Zip.html">
|
|
14
|
+
</head>
|
|
15
|
+
<body>
|
|
16
|
+
<div id="main">
|
|
17
|
+
<h1 class="page-title">Class: Zip</h1>
|
|
18
|
+
<section>
|
|
19
|
+
<header>
|
|
20
|
+
<h2>
|
|
21
|
+
<span class="ancestors"><a href="$.html">$</a><a href="$.util.html">.util</a>.</span>
|
|
22
|
+
Zip
|
|
23
|
+
</h2>
|
|
24
|
+
<div class="class-description">Class for manipulation of zip archives. It provides functionality for
|
|
25
|
+
compressing, uncompressing, removal of entries and zip encryption.
|
|
26
|
+
</div>
|
|
27
|
+
</header>
|
|
28
|
+
<article>
|
|
29
|
+
<div class="container-overview">
|
|
30
|
+
<dt>
|
|
31
|
+
<h4 class="name" id="Zip"><span class="type-signature"></span>new Zip<span class="signature">(<span
|
|
32
|
+
class="optional">source</span>, <span class="optional">index</span>, <span class="optional">settings</span>)</span><span
|
|
33
|
+
class="type-signature"> -> { Promise }</span></h4>
|
|
34
|
+
</dt>
|
|
35
|
+
<dd>
|
|
36
|
+
<h5>Parameters:</h5>
|
|
37
|
+
<table class="params">
|
|
38
|
+
<thead>
|
|
39
|
+
<tr>
|
|
40
|
+
<th>Name</th>
|
|
41
|
+
<th>Type</th>
|
|
42
|
+
<th>Argument</th>
|
|
43
|
+
<th class="last">Description</th>
|
|
44
|
+
</tr>
|
|
45
|
+
</thead>
|
|
46
|
+
<tbody>
|
|
47
|
+
<tr>
|
|
48
|
+
<td class="name"><code>source</code></td>
|
|
49
|
+
<td class="type">
|
|
50
|
+
<span class="param-type">ArrayBuffer</span>
|
|
51
|
+
|
|
|
52
|
+
<span class="param-type"><a href="$.db.ResultSet.html">$.db.ResultSet</a></span>
|
|
53
|
+
|
|
|
54
|
+
<span class="param-type"><a href="$.web.Body.html">$.web.Body</a></span>
|
|
55
|
+
</td>
|
|
56
|
+
<td class="attributes">
|
|
57
|
+
<optional><br>
|
|
58
|
+
</td>
|
|
59
|
+
<td class="description last">Specifies the source for the compressed content. If no source
|
|
60
|
+
is specified, an empty Zip object is created.
|
|
61
|
+
</td>
|
|
62
|
+
</tr>
|
|
63
|
+
<tr>
|
|
64
|
+
<td class="name"><code>index</code></td>
|
|
65
|
+
<td class="type">
|
|
66
|
+
<span class="param-type">number</span>
|
|
67
|
+
</td>
|
|
68
|
+
<td class="attributes">
|
|
69
|
+
<optional><br>
|
|
70
|
+
</td>
|
|
71
|
+
<td class="description last">If the first argument is of type ResultSet, the number
|
|
72
|
+
specifies the index of a Blob column and is mandatory.
|
|
73
|
+
</td>
|
|
74
|
+
</tr>
|
|
75
|
+
<tr>
|
|
76
|
+
<td class="name"><code>settings</code></td>
|
|
77
|
+
<td class="type">
|
|
78
|
+
<span class="param-type">object</span>
|
|
79
|
+
</td>
|
|
80
|
+
<td class="attributes">
|
|
81
|
+
<optional><br>
|
|
82
|
+
</td>
|
|
83
|
+
<td class="description last">Used to specify the following options:
|
|
84
|
+
<ul>
|
|
85
|
+
<li>password - key for enabling encryption. The password is mandatory when creating
|
|
86
|
+
a zip object from an existing encrypted archive.
|
|
87
|
+
</li>
|
|
88
|
+
<li>maxUncompressedSizeInBytes - a global restriction applies to the amount of data
|
|
89
|
+
that can be uncompressed.
|
|
90
|
+
You can use the property maxUncompressedSizeInBytes to override the global
|
|
91
|
+
setting and reduce even further the amount of uncompressed data allowed.
|
|
92
|
+
</li>
|
|
93
|
+
</ul>
|
|
94
|
+
</td>
|
|
95
|
+
</tr>
|
|
96
|
+
</tbody>
|
|
97
|
+
</table>
|
|
98
|
+
<dl class="details">
|
|
99
|
+
</dl>
|
|
100
|
+
<h5>Examples</h5>
|
|
101
|
+
<pre class="prettyprint"><code><b><font size="4"> Simple Example</font></b>
|
|
102
|
+
|
|
103
|
+
var zip = <b>await </b>(new $.util.Zip({"password": "myPassword"}));
|
|
104
|
+
zip["entry.txt"] = "Content of the entry";
|
|
105
|
+
|
|
106
|
+
$.response.status = $.net.http.OK;
|
|
107
|
+
$.response.contentType = "application/zip";
|
|
108
|
+
$.response.headers.set("Content-Disposition", "attachment; filename = Encrypted.zip");
|
|
109
|
+
<b>await </b>$.response.setBody(<b>await </b>zip.asArrayBuffer());</code></pre>
|
|
110
|
+
<pre class="prettyprint"><code><b><font size="4"> Add, Update, Delete Entries</font></b>
|
|
111
|
+
|
|
112
|
+
// When modeling folder hierarchies the zip object behaves like an associative array. The entry names are the keys or in other words
|
|
113
|
+
// full paths to the files.
|
|
114
|
+
|
|
115
|
+
//Add Zip Entry. Note that zip["entry1"] is absolutely equivalent to zip.entry1.
|
|
116
|
+
var zip = <b>await</b> (new $.util.Zip());
|
|
117
|
+
zip["entry1"] = "old entry";
|
|
118
|
+
|
|
119
|
+
//Update Entry in Zip.
|
|
120
|
+
zip["entry1"] = "new entry";
|
|
121
|
+
|
|
122
|
+
//Getting Entry Content. If Entry does not exist, this returns undefined.
|
|
123
|
+
var content = zip["entry1"];
|
|
124
|
+
|
|
125
|
+
//Delete Entry in Zip. If entry does not exist nothing happens.
|
|
126
|
+
delete zip["entry1"];</code></pre>
|
|
127
|
+
<pre class="prettyprint"><code><b><font size="4"> Load Zip From Array Buffer</font></b>
|
|
128
|
+
|
|
129
|
+
var archive = $.request.body;
|
|
130
|
+
var zip = <b>await </b>(new $.util.Zip(archive.asArrayBuffer()));
|
|
131
|
+
|
|
132
|
+
...
|
|
133
|
+
|
|
134
|
+
var zip = <b>await </b>(new $.util.Zip(archive.asArrayBuffer(), {"maxUncompressedSizeInBytes": 20000, "password": "myPassword"}));
|
|
135
|
+
|
|
136
|
+
...</code></pre>
|
|
137
|
+
<pre class="prettyprint"><code><b><font size="4"> Iterating Over Zip Entries</font></b>
|
|
138
|
+
|
|
139
|
+
//Create Zip Object
|
|
140
|
+
var zip = <b>await</b> (new $.util.Zip());
|
|
141
|
+
zip["Entry1.txt"] = "Content of Entry1.txt";
|
|
142
|
+
zip["Entry2.txt"] = "Content of Entry2.txt";
|
|
143
|
+
zip["ThirdEntry.txt"] = "Content of the third entry";
|
|
144
|
+
|
|
145
|
+
var responseString = "";
|
|
146
|
+
|
|
147
|
+
for(var entry in zip) {
|
|
148
|
+
if(entry.indexOf("Entry") === 0) {
|
|
149
|
+
responseString = responseString + entry + " - " + String.fromCharCode.apply(null, new Uint8Array(zip[entry])) + "\n";
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
$.response.status = $.net.http.OK;
|
|
154
|
+
$.response.contentType = "text/plain";
|
|
155
|
+
<b>await </b>$.response.setBody(responseString);</code></pre>
|
|
156
|
+
<pre class="prettyprint"><code><b><font size="4"> WebRequest/WebResponse Body Integration</font></b>
|
|
157
|
+
|
|
158
|
+
//Create Zip Object From WebRequest Body
|
|
159
|
+
var zip = <b>await </b>(new $.util.Zip($.request.body));
|
|
160
|
+
zip["entry"] = "This is another entry added to the zip";
|
|
161
|
+
|
|
162
|
+
//Return Zip Object as WebResponse Body
|
|
163
|
+
$.response.status = $.net.http.OK;
|
|
164
|
+
$.response.contentType = "application/zip";
|
|
165
|
+
$.response.headers.set("Content-Disposition", "attachment; filename = fromBody.zip");
|
|
166
|
+
<b>await </b>$.response.setBody(zip);</code></pre>
|
|
167
|
+
<pre class="prettyprint"><code><b><font size="4"> ResultSet Integration</font></b>
|
|
168
|
+
|
|
169
|
+
onesql("create column table EXAMPLETABLE (id integer primary key, data blob)");
|
|
170
|
+
//Create Zip Object
|
|
171
|
+
var zip = <b>await</b> (new $.util.Zip());
|
|
172
|
+
zip["entry"] = "This content will be inserted into the table";
|
|
173
|
+
|
|
174
|
+
//Commit Zip Archive
|
|
175
|
+
var statement = <b>await </b>conn.prepareStatement("insert into EXAMPLETABLE values(1, ?)");
|
|
176
|
+
statement.setBlob(1, zip);
|
|
177
|
+
<b>await </b>statement.execute();
|
|
178
|
+
<b>await </b>statement.close();
|
|
179
|
+
<b>await </b>conn.commit();
|
|
180
|
+
|
|
181
|
+
//Load Zip Out Of DB Blob
|
|
182
|
+
statement = <b>await </b>conn.prepareStatement("select data from EXAMPLETABLE where id=1");
|
|
183
|
+
var rs = <b>await </b>statement.executeQuery();
|
|
184
|
+
if (rs) {
|
|
185
|
+
while (rs.next()) {
|
|
186
|
+
//Load Zip From ResultSet
|
|
187
|
+
var loadedZip = <b>await </b>(new $.util.Zip(rs, 1));
|
|
188
|
+
$.response.status = $.net.http.OK;
|
|
189
|
+
$.response.contentType = "application/zip";
|
|
190
|
+
$.response.headers.set("Content-Disposition", "attachment; filename = fromResultSet.zip");
|
|
191
|
+
<b>await </b>$.response.setBody(loadedZip);
|
|
192
|
+
}
|
|
193
|
+
} else {
|
|
194
|
+
...
|
|
195
|
+
}
|
|
196
|
+
...</code></pre>
|
|
197
|
+
</dd>
|
|
198
|
+
</div>
|
|
199
|
+
<h3 class="subsection-title">Members</h3>
|
|
200
|
+
<dl>
|
|
201
|
+
<dt>
|
|
202
|
+
<h4 class="name" id="_metadata_"><span class="type-signature">async </span>_metadata_<span
|
|
203
|
+
class="type-signature"> :object</span></h4>
|
|
204
|
+
</dt>
|
|
205
|
+
<dd>
|
|
206
|
+
<div class="description">
|
|
207
|
+
Holds an object that contains meta information about the current zip object.
|
|
208
|
+
</div>
|
|
209
|
+
<h5>Type:</h5>
|
|
210
|
+
<ul>
|
|
211
|
+
<li>
|
|
212
|
+
<span class="param-type">object</span>
|
|
213
|
+
</li>
|
|
214
|
+
</ul>
|
|
215
|
+
<dl class="details">
|
|
216
|
+
</dl>
|
|
217
|
+
<h5>Example</h5>
|
|
218
|
+
<pre class="prettyprint"><code>var zip = <b>await </b>(new $.util.Zip());
|
|
219
|
+
zip["Entry1.txt"] = "Hello World!";
|
|
220
|
+
|
|
221
|
+
<b>await </b>$.response.setBody(JSON.stringify(<b>await </b>zip._metadata_));
|
|
222
|
+
// produces {"compressedSizeInBytes":14,"uncompressedSizeInBytes":12}</code></pre>
|
|
223
|
+
</dd>
|
|
224
|
+
<dt>
|
|
225
|
+
<h4 class="name" id="_password_"><span class="type-signature"></span>_password_<span
|
|
226
|
+
class="type-signature"> :string</span></h4>
|
|
227
|
+
</dt>
|
|
228
|
+
<dd>
|
|
229
|
+
<div class="description">
|
|
230
|
+
Setting a value to this property changes the password used for encryption of the zip object.
|
|
231
|
+
Assigning an empty string disables encryption.
|
|
232
|
+
Accessing this property will return undefined.
|
|
233
|
+
</div>
|
|
234
|
+
<h5>Type:</h5>
|
|
235
|
+
<ul>
|
|
236
|
+
<li>
|
|
237
|
+
<span class="param-type">string</span>
|
|
238
|
+
</li>
|
|
239
|
+
</ul>
|
|
240
|
+
<dl class="details">
|
|
241
|
+
</dl>
|
|
242
|
+
<h5>Example</h5>
|
|
243
|
+
<pre class="prettyprint"><code>// create zip object
|
|
244
|
+
var zip = <b>await </b>(new $.util.Zip({"password" : "old_password"}));
|
|
245
|
+
zip["Entry1.txt"] = "Hello World!";
|
|
246
|
+
|
|
247
|
+
// change the password
|
|
248
|
+
zip["_password_"] = "new_password";</code></pre>
|
|
249
|
+
</dd>
|
|
250
|
+
</dl>
|
|
251
|
+
<h3 class="subsection-title">Methods</h3>
|
|
252
|
+
<dl>
|
|
253
|
+
<dt>
|
|
254
|
+
<h4 class="name" id="asArrayBuffer"><span class="type-signature">async </span>asArrayBuffer<span
|
|
255
|
+
class="signature">()</span><span class="type-signature"> → {ArrayBuffer}</span></h4>
|
|
256
|
+
</dt>
|
|
257
|
+
<dd>
|
|
258
|
+
<div class="description">
|
|
259
|
+
Returns the zip archive as ArrayBuffer
|
|
260
|
+
</div>
|
|
261
|
+
<dl class="details">
|
|
262
|
+
</dl>
|
|
263
|
+
<h5>Returns:</h5>
|
|
264
|
+
<div class="param-desc">
|
|
265
|
+
Buffer containing the whole zipped content.
|
|
266
|
+
</div>
|
|
267
|
+
<dl>
|
|
268
|
+
<dt>
|
|
269
|
+
Type
|
|
270
|
+
</dt>
|
|
271
|
+
<dd>
|
|
272
|
+
<span class="param-type">ArrayBuffer</span>
|
|
273
|
+
</dd>
|
|
274
|
+
</dl>
|
|
275
|
+
</dd>
|
|
276
|
+
</dl>
|
|
277
|
+
</article>
|
|
278
|
+
</section>
|
|
279
|
+
</div>
|
|
280
|
+
<nav>
|
|
281
|
+
<h2><a href="index.html">Index</a></h2>
|
|
282
|
+
<h3>Classes</h3>
|
|
283
|
+
<table>
|
|
284
|
+
<tr>
|
|
285
|
+
<td><a href="$.security.AntiVirus.html">AntiVirus</a></td>
|
|
286
|
+
<td class="oblique">$.security</td>
|
|
287
|
+
</tr>
|
|
288
|
+
<tr>
|
|
289
|
+
<td><a href="$.Application.html">Application</a></td>
|
|
290
|
+
<td class="oblique">$</td>
|
|
291
|
+
</tr>
|
|
292
|
+
<tr>
|
|
293
|
+
<td><a href="$.web.Body.html">Body</a></td>
|
|
294
|
+
<td class="oblique">$.web</td>
|
|
295
|
+
</tr>
|
|
296
|
+
<tr>
|
|
297
|
+
<td><a href="$.db.CallableStatement.html">CallableStatement</a></td>
|
|
298
|
+
<td class="oblique">$.db</td>
|
|
299
|
+
</tr>
|
|
300
|
+
<tr>
|
|
301
|
+
<td><a href="$.net.http.Client.html">Client</a></td>
|
|
302
|
+
<td class="oblique">$.net.http</td>
|
|
303
|
+
</tr>
|
|
304
|
+
<tr>
|
|
305
|
+
<td><a href="$.hdb.ColumnMetadata.html">ColumnMetadata</a></td>
|
|
306
|
+
<td class="oblique">$.hdb</td>
|
|
307
|
+
</tr>
|
|
308
|
+
<tr>
|
|
309
|
+
<td><a href="$.db.Connection.html">Connection</a></td>
|
|
310
|
+
<td class="oblique">$.db</td>
|
|
311
|
+
</tr>
|
|
312
|
+
<tr>
|
|
313
|
+
<td><a href="$.hdb.Connection.html">Connection</a></td>
|
|
314
|
+
<td class="oblique">$.hdb</td>
|
|
315
|
+
</tr>
|
|
316
|
+
<tr>
|
|
317
|
+
<td><a href="$.net.Destination.html">Destination</a></td>
|
|
318
|
+
<td class="oblique">$.net</td>
|
|
319
|
+
</tr>
|
|
320
|
+
<tr>
|
|
321
|
+
<td><a href="$.net.http.Destination.html">Destination</a></td>
|
|
322
|
+
<td class="oblique">$.net.http</td>
|
|
323
|
+
</tr>
|
|
324
|
+
<tr>
|
|
325
|
+
<td><a href="$.web.EntityList.html">EntityList</a></td>
|
|
326
|
+
<td class="oblique">$.web</td>
|
|
327
|
+
</tr>
|
|
328
|
+
<tr>
|
|
329
|
+
<td><a href="$.jobs.Job.html">Job</a></td>
|
|
330
|
+
<td class="oblique">$.jobs</td>
|
|
331
|
+
</tr>
|
|
332
|
+
<tr>
|
|
333
|
+
<td><a href="$.jobs.JobLog.html">JobLog</a></td>
|
|
334
|
+
<td class="oblique">$.jobs</td>
|
|
335
|
+
</tr>
|
|
336
|
+
<tr>
|
|
337
|
+
<td><a href="$.jobs.JobSchedules.html">JobSchedules</a></td>
|
|
338
|
+
<td class="oblique">$.jobs</td>
|
|
339
|
+
</tr>
|
|
340
|
+
<tr>
|
|
341
|
+
<td><a href="$.net.Mail.html">Mail</a></td>
|
|
342
|
+
<td class="oblique">$.net</td>
|
|
343
|
+
</tr>
|
|
344
|
+
<tr>
|
|
345
|
+
<td><a href="$.db.ParameterMetaData.html">ParameterMetaData</a></td>
|
|
346
|
+
<td class="oblique">$.db</td>
|
|
347
|
+
</tr>
|
|
348
|
+
<tr>
|
|
349
|
+
<td><a href="$.net.Mail.Part.html">Part</a></td>
|
|
350
|
+
<td class="oblique">$.net.Mail</td>
|
|
351
|
+
</tr>
|
|
352
|
+
<tr>
|
|
353
|
+
<td><a href="$.db.PreparedStatement.html">PreparedStatement</a></td>
|
|
354
|
+
<td class="oblique">$.db</td>
|
|
355
|
+
</tr>
|
|
356
|
+
<tr>
|
|
357
|
+
<td><a href="$.hdb.ProcedureResult.html">ProcedureResult</a></td>
|
|
358
|
+
<td class="oblique">$.hdb</td>
|
|
359
|
+
</tr>
|
|
360
|
+
<tr>
|
|
361
|
+
<td><a href="$.net.http.Request.html">Request</a></td>
|
|
362
|
+
<td class="oblique">$.net.http</td>
|
|
363
|
+
</tr>
|
|
364
|
+
<tr>
|
|
365
|
+
<td><a href="$.db.ResultSet.html">ResultSet</a></td>
|
|
366
|
+
<td class="oblique">$.db</td>
|
|
367
|
+
</tr>
|
|
368
|
+
<tr>
|
|
369
|
+
<td><a href="$.hdb.ResultSet.html">ResultSet</a></td>
|
|
370
|
+
<td class="oblique">$.hdb</td>
|
|
371
|
+
</tr>
|
|
372
|
+
<tr>
|
|
373
|
+
<td><a href="$.hdb.ResultSetIterator.html">ResultSetIterator</a></td>
|
|
374
|
+
<td class="oblique">$.hdb</td>
|
|
375
|
+
</tr>
|
|
376
|
+
<tr>
|
|
377
|
+
<td><a href="$.db.ResultSetMetaData.html">ResultSetMetaData</a></td>
|
|
378
|
+
<td class="oblique">$.db</td>
|
|
379
|
+
</tr>
|
|
380
|
+
<tr>
|
|
381
|
+
<td><a href="$.hdb.ResultSetMetaData.html">ResultSetMetaData</a></td>
|
|
382
|
+
<td class="oblique">$.hdb</td>
|
|
383
|
+
</tr>
|
|
384
|
+
<tr>
|
|
385
|
+
<td><a href="$.util.SAXParser.html">SAXParser</a></td>
|
|
386
|
+
<td class="oblique">$.util</td>
|
|
387
|
+
</tr>
|
|
388
|
+
<tr>
|
|
389
|
+
<td><a href="$.Session.html">Session</a></td>
|
|
390
|
+
<td class="oblique">$</td>
|
|
391
|
+
</tr>
|
|
392
|
+
<tr>
|
|
393
|
+
<td><a href="$.text.analysis.Session.html">Session</a></td>
|
|
394
|
+
<td class="oblique">$.text.analysis</td>
|
|
395
|
+
</tr>
|
|
396
|
+
<tr>
|
|
397
|
+
<td><a href="$.text.mining.Session.html">Session</a></td>
|
|
398
|
+
<td class="oblique">$.text.mining</td>
|
|
399
|
+
</tr>
|
|
400
|
+
<tr>
|
|
401
|
+
<td><a href="$.net.SMTPConnection.html">SMTPConnection</a></td>
|
|
402
|
+
<td class="oblique">$.net</td>
|
|
403
|
+
</tr>
|
|
404
|
+
<tr>
|
|
405
|
+
<td><a href="$.db.SQLException.html">SQLException</a></td>
|
|
406
|
+
<td class="oblique">$.db</td>
|
|
407
|
+
</tr>
|
|
408
|
+
<tr>
|
|
409
|
+
<td><a href="$.hdb.SQLException.html">SQLException</a></td>
|
|
410
|
+
<td class="oblique">$.hdb</td>
|
|
411
|
+
</tr>
|
|
412
|
+
<tr>
|
|
413
|
+
<td><a href="$.security.Store.html">Store</a></td>
|
|
414
|
+
<td class="oblique">$.security</td>
|
|
415
|
+
</tr>
|
|
416
|
+
<tr>
|
|
417
|
+
<td><a href="$.web.TupelList.html">TupelList</a></td>
|
|
418
|
+
<td class="oblique">$.web</td>
|
|
419
|
+
</tr>
|
|
420
|
+
<tr>
|
|
421
|
+
<td><a href="$.web.WebEntityRequest.html">WebEntityRequest</a></td>
|
|
422
|
+
<td class="oblique">$.web</td>
|
|
423
|
+
</tr>
|
|
424
|
+
<tr>
|
|
425
|
+
<td><a href="$.web.WebEntityResponse.html">WebEntityResponse</a></td>
|
|
426
|
+
<td class="oblique">$.web</td>
|
|
427
|
+
</tr>
|
|
428
|
+
<tr>
|
|
429
|
+
<td><a href="$.web.WebRequest.html">WebRequest</a></td>
|
|
430
|
+
<td class="oblique">$.web</td>
|
|
431
|
+
</tr>
|
|
432
|
+
<tr>
|
|
433
|
+
<td><a href="$.web.WebResponse.html">WebResponse</a></td>
|
|
434
|
+
<td class="oblique">$.web</td>
|
|
435
|
+
</tr>
|
|
436
|
+
<tr>
|
|
437
|
+
<td><a href="$.util.Zip.html">Zip</a></td>
|
|
438
|
+
<td class="oblique">$.util</td>
|
|
439
|
+
</tr>
|
|
440
|
+
</table>
|
|
441
|
+
<h3>Namespaces</h3>
|
|
442
|
+
<ul>
|
|
443
|
+
<li><a href="$.html"><span class="oblique"></span>$</a></li>
|
|
444
|
+
<li><a href="$.db.html"><span class="oblique">$.</span>db</a></li>
|
|
445
|
+
<li><a href="$.hdb.html"><span class="oblique">$.</span>hdb</a></li>
|
|
446
|
+
<li><a href="$.jobs.html"><span class="oblique">$.</span>jobs</a></li>
|
|
447
|
+
<li><a href="$.net.html"><span class="oblique">$.</span>net</a></li>
|
|
448
|
+
<li><a href="$.net.http.html"><span class="oblique">$.net.</span>http</a></li>
|
|
449
|
+
<li><a href="$.security.html"><span class="oblique">$.</span>security</a></li>
|
|
450
|
+
<li><a href="$.security.crypto.html"><span class="oblique">$.security.</span>crypto</a></li>
|
|
451
|
+
<li><a href="$.security.x509.html"><span class="oblique">$.security.</span>x509</a></li>
|
|
452
|
+
<li><a href="$.text.html"><span class="oblique">$.</span>text</a></li>
|
|
453
|
+
<li><a href="$.text.analysis.html"><span class="oblique">$.text.</span>analysis</a></li>
|
|
454
|
+
<li><a href="$.text.mining.html"><span class="oblique">$.text.</span>mining</a></li>
|
|
455
|
+
<li><a href="$.trace.html"><span class="oblique">$.</span>trace</a></li>
|
|
456
|
+
<li><a href="$.util.html"><span class="oblique">$.</span>util</a></li>
|
|
457
|
+
<li><a href="$.util.codec.html"><span class="oblique">$.util.</span>codec</a></li>
|
|
458
|
+
<li><a href="$.util.compression.html"><span class="oblique">$.util.</span>compression</a></li>
|
|
459
|
+
<li><a href="$.util.sql.html"><span class="oblique">$.util.</span>sql</a></li>
|
|
460
|
+
<li><a href="$.web.html"><span class="oblique">$.</span>web</a></li>
|
|
461
|
+
</ul>
|
|
462
|
+
</nav>
|
|
463
|
+
<br clear="both">
|
|
464
|
+
<footer>
|
|
465
|
+
<a href="Copyright-SAP.html">Copyright</a>
|
|
466
|
+
&
|
|
467
|
+
<a href="Disclaimer-SAP.html">Disclaimer</a>
|
|
468
|
+
</footer>
|
|
469
|
+
<script>prettyPrint();</script>
|
|
470
|
+
<script src="scripts/linenumber.js"></script>
|
|
471
|
+
|
|
472
|
+
</body>
|
|
473
|
+
|
|
474
|
+
</html>
|