Update JSON API
[src/app-framework-demo.git] / afm-client / bower_components / jszip / lib / compressedObject.js
1 'use strict';
2 function CompressedObject() {
3     this.compressedSize = 0;
4     this.uncompressedSize = 0;
5     this.crc32 = 0;
6     this.compressionMethod = null;
7     this.compressedContent = null;
8 }
9
10 CompressedObject.prototype = {
11     /**
12      * Return the decompressed content in an unspecified format.
13      * The format will depend on the decompressor.
14      * @return {Object} the decompressed content.
15      */
16     getContent: function() {
17         return null; // see implementation
18     },
19     /**
20      * Return the compressed content in an unspecified format.
21      * The format will depend on the compressed conten source.
22      * @return {Object} the compressed content.
23      */
24     getCompressedContent: function() {
25         return null; // see implementation
26     }
27 };
28 module.exports = CompressedObject;