toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case CompressionType.none:
      return 'NONE';
    case CompressionType.gzip:
      return 'GZIP';
    case CompressionType.bzip2:
      return 'BZIP2';
  }
}