src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/StringEncoding.java
author mseledtsov
Thu, 12 Sep 2019 11:32:03 -0700
branchJEP-349-branch
changeset 58112 e7754025004b
parent 57361 53dccc90a5be
child 58145 bc54ed8d908a
permissions -rw-r--r--
Copyright update - round 2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
58112
e7754025004b Copyright update - round 2
mseledtsov
parents: 57361
diff changeset
     1
/*
e7754025004b Copyright update - round 2
mseledtsov
parents: 57361
diff changeset
     2
 * Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved.
e7754025004b Copyright update - round 2
mseledtsov
parents: 57361
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
e7754025004b Copyright update - round 2
mseledtsov
parents: 57361
diff changeset
     4
 *
e7754025004b Copyright update - round 2
mseledtsov
parents: 57361
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
e7754025004b Copyright update - round 2
mseledtsov
parents: 57361
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
e7754025004b Copyright update - round 2
mseledtsov
parents: 57361
diff changeset
     7
 * published by the Free Software Foundation.
e7754025004b Copyright update - round 2
mseledtsov
parents: 57361
diff changeset
     8
 *
e7754025004b Copyright update - round 2
mseledtsov
parents: 57361
diff changeset
     9
 * This code is distributed in the hope that it will be useful, but WITHOUT
e7754025004b Copyright update - round 2
mseledtsov
parents: 57361
diff changeset
    10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
e7754025004b Copyright update - round 2
mseledtsov
parents: 57361
diff changeset
    11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
e7754025004b Copyright update - round 2
mseledtsov
parents: 57361
diff changeset
    12
 * version 2 for more details (a copy is included in the LICENSE file that
e7754025004b Copyright update - round 2
mseledtsov
parents: 57361
diff changeset
    13
 * accompanied this code).
e7754025004b Copyright update - round 2
mseledtsov
parents: 57361
diff changeset
    14
 *
e7754025004b Copyright update - round 2
mseledtsov
parents: 57361
diff changeset
    15
 * You should have received a copy of the GNU General Public License version
e7754025004b Copyright update - round 2
mseledtsov
parents: 57361
diff changeset
    16
 * 2 along with this work; if not, write to the Free Software Foundation,
e7754025004b Copyright update - round 2
mseledtsov
parents: 57361
diff changeset
    17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
e7754025004b Copyright update - round 2
mseledtsov
parents: 57361
diff changeset
    18
 *
e7754025004b Copyright update - round 2
mseledtsov
parents: 57361
diff changeset
    19
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
e7754025004b Copyright update - round 2
mseledtsov
parents: 57361
diff changeset
    20
 * or visit www.oracle.com if you need additional information or have any
e7754025004b Copyright update - round 2
mseledtsov
parents: 57361
diff changeset
    21
 * questions.
e7754025004b Copyright update - round 2
mseledtsov
parents: 57361
diff changeset
    22
 */
e7754025004b Copyright update - round 2
mseledtsov
parents: 57361
diff changeset
    23
57361
53dccc90a5be Preview-addendum
mgronlun
parents:
diff changeset
    24
package jdk.jfr.internal.consumer;
53dccc90a5be Preview-addendum
mgronlun
parents:
diff changeset
    25
53dccc90a5be Preview-addendum
mgronlun
parents:
diff changeset
    26
public final class StringEncoding {
53dccc90a5be Preview-addendum
mgronlun
parents:
diff changeset
    27
    public final static byte STRING_ENCODING_NULL = (byte) 0;
53dccc90a5be Preview-addendum
mgronlun
parents:
diff changeset
    28
    public final static byte STRING_ENCODING_EMPTY_STRING = (byte) 1;
53dccc90a5be Preview-addendum
mgronlun
parents:
diff changeset
    29
    public final static byte STRING_ENCODING_CONSTANT_POOL = (byte) 2;
53dccc90a5be Preview-addendum
mgronlun
parents:
diff changeset
    30
    public final static byte STRING_ENCODING_UTF8_BYTE_ARRAY = (byte) 3;
53dccc90a5be Preview-addendum
mgronlun
parents:
diff changeset
    31
    public final static byte STRING_ENCODING_CHAR_ARRAY = (byte) 4;
53dccc90a5be Preview-addendum
mgronlun
parents:
diff changeset
    32
    public final static byte STRING_ENCODING_LATIN1_BYTE_ARRAY = (byte) 5;
53dccc90a5be Preview-addendum
mgronlun
parents:
diff changeset
    33
53dccc90a5be Preview-addendum
mgronlun
parents:
diff changeset
    34
}