1 /* 2 * Copyright (C) 2014 The Android Open Source Project 3 * Copyright (c) 1995, 2013, Oracle and/or its affiliates. All rights reserved. 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 5 * 6 * This code is free software; you can redistribute it and/or modify it 7 * under the terms of the GNU General Public License version 2 only, as 8 * published by the Free Software Foundation. Oracle designates this 9 * particular file as subject to the "Classpath" exception as provided 10 * by Oracle in the LICENSE file that accompanied this code. 11 * 12 * This code is distributed in the hope that it will be useful, but WITHOUT 13 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 14 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 15 * version 2 for more details (a copy is included in the LICENSE file that 16 * accompanied this code). 17 * 18 * You should have received a copy of the GNU General Public License version 19 * 2 along with this work; if not, write to the Free Software Foundation, 20 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 21 * 22 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 23 * or visit www.oracle.com if you need additional information or have any 24 * questions. 25 */ 26 27 package java.util; 28 29 import android.compat.annotation.UnsupportedAppUsage; 30 31 @SuppressWarnings({"unchecked", "deprecation", "all"}) 32 public class Properties extends java.util.Hashtable<java.lang.Object, java.lang.Object> { 33 Properties()34 public Properties() { 35 throw new RuntimeException("Stub!"); 36 } 37 Properties(java.util.Properties defaults)38 public Properties(java.util.Properties defaults) { 39 throw new RuntimeException("Stub!"); 40 } 41 setProperty(java.lang.String key, java.lang.String value)42 public synchronized java.lang.Object setProperty(java.lang.String key, java.lang.String value) { 43 throw new RuntimeException("Stub!"); 44 } 45 load(java.io.Reader reader)46 public synchronized void load(java.io.Reader reader) throws java.io.IOException { 47 throw new RuntimeException("Stub!"); 48 } 49 load(java.io.InputStream inStream)50 public synchronized void load(java.io.InputStream inStream) throws java.io.IOException { 51 throw new RuntimeException("Stub!"); 52 } 53 load0(java.util.Properties.LineReader lr)54 private void load0(java.util.Properties.LineReader lr) throws java.io.IOException { 55 throw new RuntimeException("Stub!"); 56 } 57 loadConvert(char[] in, int off, int len, char[] convtBuf)58 private java.lang.String loadConvert(char[] in, int off, int len, char[] convtBuf) { 59 throw new RuntimeException("Stub!"); 60 } 61 62 @UnsupportedAppUsage saveConvert( java.lang.String theString, boolean escapeSpace, boolean escapeUnicode)63 private java.lang.String saveConvert( 64 java.lang.String theString, boolean escapeSpace, boolean escapeUnicode) { 65 throw new RuntimeException("Stub!"); 66 } 67 writeComments(java.io.BufferedWriter bw, java.lang.String comments)68 private static void writeComments(java.io.BufferedWriter bw, java.lang.String comments) 69 throws java.io.IOException { 70 throw new RuntimeException("Stub!"); 71 } 72 73 @Deprecated save(java.io.OutputStream out, java.lang.String comments)74 public void save(java.io.OutputStream out, java.lang.String comments) { 75 throw new RuntimeException("Stub!"); 76 } 77 store(java.io.Writer writer, java.lang.String comments)78 public void store(java.io.Writer writer, java.lang.String comments) throws java.io.IOException { 79 throw new RuntimeException("Stub!"); 80 } 81 store(java.io.OutputStream out, java.lang.String comments)82 public void store(java.io.OutputStream out, java.lang.String comments) 83 throws java.io.IOException { 84 throw new RuntimeException("Stub!"); 85 } 86 store0(java.io.BufferedWriter bw, java.lang.String comments, boolean escUnicode)87 private void store0(java.io.BufferedWriter bw, java.lang.String comments, boolean escUnicode) 88 throws java.io.IOException { 89 throw new RuntimeException("Stub!"); 90 } 91 loadFromXML(java.io.InputStream in)92 public synchronized void loadFromXML(java.io.InputStream in) 93 throws java.io.IOException, java.util.InvalidPropertiesFormatException { 94 throw new RuntimeException("Stub!"); 95 } 96 storeToXML(java.io.OutputStream os, java.lang.String comment)97 public void storeToXML(java.io.OutputStream os, java.lang.String comment) 98 throws java.io.IOException { 99 throw new RuntimeException("Stub!"); 100 } 101 storeToXML( java.io.OutputStream os, java.lang.String comment, java.lang.String encoding)102 public void storeToXML( 103 java.io.OutputStream os, java.lang.String comment, java.lang.String encoding) 104 throws java.io.IOException { 105 throw new RuntimeException("Stub!"); 106 } 107 getProperty(java.lang.String key)108 public java.lang.String getProperty(java.lang.String key) { 109 throw new RuntimeException("Stub!"); 110 } 111 getProperty(java.lang.String key, java.lang.String defaultValue)112 public java.lang.String getProperty(java.lang.String key, java.lang.String defaultValue) { 113 throw new RuntimeException("Stub!"); 114 } 115 propertyNames()116 public java.util.Enumeration<?> propertyNames() { 117 throw new RuntimeException("Stub!"); 118 } 119 stringPropertyNames()120 public java.util.Set<java.lang.String> stringPropertyNames() { 121 throw new RuntimeException("Stub!"); 122 } 123 list(java.io.PrintStream out)124 public void list(java.io.PrintStream out) { 125 throw new RuntimeException("Stub!"); 126 } 127 list(java.io.PrintWriter out)128 public void list(java.io.PrintWriter out) { 129 throw new RuntimeException("Stub!"); 130 } 131 enumerate(java.util.Hashtable<java.lang.String, java.lang.Object> h)132 private synchronized void enumerate(java.util.Hashtable<java.lang.String, java.lang.Object> h) { 133 throw new RuntimeException("Stub!"); 134 } 135 enumerateStringProperties( java.util.Hashtable<java.lang.String, java.lang.String> h)136 private synchronized void enumerateStringProperties( 137 java.util.Hashtable<java.lang.String, java.lang.String> h) { 138 throw new RuntimeException("Stub!"); 139 } 140 toHex(int nibble)141 private static char toHex(int nibble) { 142 throw new RuntimeException("Stub!"); 143 } 144 145 protected java.util.Properties defaults; 146 147 private static final char[] hexDigit; 148 149 static { 150 hexDigit = new char[0]; 151 } 152 153 private static final long serialVersionUID = 4112578634029874840L; // 0x3912d07a70363e98L 154 155 @SuppressWarnings({"unchecked", "deprecation", "all"}) 156 class LineReader { 157 LineReader(java.io.InputStream inStream)158 public LineReader(java.io.InputStream inStream) { 159 throw new RuntimeException("Stub!"); 160 } 161 LineReader(java.io.Reader reader)162 public LineReader(java.io.Reader reader) { 163 throw new RuntimeException("Stub!"); 164 } 165 readLine()166 int readLine() throws java.io.IOException { 167 throw new RuntimeException("Stub!"); 168 } 169 170 byte[] inByteBuf; 171 172 char[] inCharBuf; 173 174 int inLimit = 0; // 0x0 175 176 int inOff = 0; // 0x0 177 178 java.io.InputStream inStream; 179 180 char[] lineBuf; 181 182 java.io.Reader reader; 183 } 184 } 185