aboutsummaryrefslogtreecommitdiff
path: root/java/org/brotli/common/SharedDictionaryType.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/org/brotli/common/SharedDictionaryType.java')
-rw-r--r--java/org/brotli/common/SharedDictionaryType.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/java/org/brotli/common/SharedDictionaryType.java b/java/org/brotli/common/SharedDictionaryType.java
new file mode 100644
index 0000000..b592d2b
--- /dev/null
+++ b/java/org/brotli/common/SharedDictionaryType.java
@@ -0,0 +1,15 @@
+/* Copyright 2018 Google Inc. All Rights Reserved.
+
+ Distributed under MIT license.
+ See file LICENSE for detail or copy at https://opensource.org/licenses/MIT
+*/
+package org.brotli.common;
+
+/** POJO enum that mirrors C BrotliSharedDictionaryType. */
+public class SharedDictionaryType {
+ // Disallow instantiation.
+ private SharedDictionaryType() {}
+
+ public static final int RAW = 0;
+ public static final int SERIALIZED = 1;
+}