1 /*
2  * Copyright (C) 2014 The Android Open Source Project
3  * Copyright (c) 1995, 2020, 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 
28 package java.util;
29 
30 @SuppressWarnings({"unchecked", "deprecation", "all"})
31 public class Properties extends java.util.Hashtable<java.lang.Object,java.lang.Object> {
32 
Properties()33 public Properties() { throw new RuntimeException("Stub!"); }
34 
35 @android.annotation.FlaggedApi(com.android.libcore.Flags.FLAG_V_APIS)
Properties(int initialCapacity)36 public Properties(int initialCapacity) { throw new RuntimeException("Stub!"); }
37 
Properties(java.util.Properties defaults)38 public Properties(java.util.Properties defaults) { throw new RuntimeException("Stub!"); }
39 
setProperty(java.lang.String key, java.lang.String value)40 public synchronized java.lang.Object setProperty(java.lang.String key, java.lang.String value) { throw new RuntimeException("Stub!"); }
41 
load(java.io.Reader reader)42 public synchronized void load(java.io.Reader reader) throws java.io.IOException { throw new RuntimeException("Stub!"); }
43 
load(java.io.InputStream inStream)44 public synchronized void load(java.io.InputStream inStream) throws java.io.IOException { throw new RuntimeException("Stub!"); }
45 
46 @Deprecated
save(java.io.OutputStream out, java.lang.String comments)47 public void save(java.io.OutputStream out, java.lang.String comments) { throw new RuntimeException("Stub!"); }
48 
store(java.io.Writer writer, java.lang.String comments)49 public void store(java.io.Writer writer, java.lang.String comments) throws java.io.IOException { throw new RuntimeException("Stub!"); }
50 
store(java.io.OutputStream out, java.lang.String comments)51 public void store(java.io.OutputStream out, java.lang.String comments) throws java.io.IOException { throw new RuntimeException("Stub!"); }
52 
loadFromXML(java.io.InputStream in)53 public synchronized void loadFromXML(java.io.InputStream in) throws java.io.IOException, java.util.InvalidPropertiesFormatException { throw new RuntimeException("Stub!"); }
54 
storeToXML(java.io.OutputStream os, java.lang.String comment)55 public void storeToXML(java.io.OutputStream os, java.lang.String comment) throws java.io.IOException { throw new RuntimeException("Stub!"); }
56 
storeToXML(java.io.OutputStream os, java.lang.String comment, java.lang.String encoding)57 public void storeToXML(java.io.OutputStream os, java.lang.String comment, java.lang.String encoding) throws java.io.IOException { throw new RuntimeException("Stub!"); }
58 
59 @android.annotation.FlaggedApi(com.android.libcore.Flags.FLAG_V_APIS)
storeToXML(java.io.OutputStream os, java.lang.String comment, java.nio.charset.Charset charset)60 public void storeToXML(java.io.OutputStream os, java.lang.String comment, java.nio.charset.Charset charset) throws java.io.IOException { throw new RuntimeException("Stub!"); }
61 
getProperty(java.lang.String key)62 public java.lang.String getProperty(java.lang.String key) { throw new RuntimeException("Stub!"); }
63 
getProperty(java.lang.String key, java.lang.String defaultValue)64 public java.lang.String getProperty(java.lang.String key, java.lang.String defaultValue) { throw new RuntimeException("Stub!"); }
65 
propertyNames()66 public java.util.Enumeration<?> propertyNames() { throw new RuntimeException("Stub!"); }
67 
stringPropertyNames()68 public java.util.Set<java.lang.String> stringPropertyNames() { throw new RuntimeException("Stub!"); }
69 
list(java.io.PrintStream out)70 public void list(java.io.PrintStream out) { throw new RuntimeException("Stub!"); }
71 
list(java.io.PrintWriter out)72 public void list(java.io.PrintWriter out) { throw new RuntimeException("Stub!"); }
73 
size()74 public int size() { throw new RuntimeException("Stub!"); }
75 
isEmpty()76 public boolean isEmpty() { throw new RuntimeException("Stub!"); }
77 
keys()78 public java.util.Enumeration<java.lang.Object> keys() { throw new RuntimeException("Stub!"); }
79 
elements()80 public java.util.Enumeration<java.lang.Object> elements() { throw new RuntimeException("Stub!"); }
81 
contains(java.lang.Object value)82 public boolean contains(java.lang.Object value) { throw new RuntimeException("Stub!"); }
83 
containsValue(java.lang.Object value)84 public boolean containsValue(java.lang.Object value) { throw new RuntimeException("Stub!"); }
85 
containsKey(java.lang.Object key)86 public boolean containsKey(java.lang.Object key) { throw new RuntimeException("Stub!"); }
87 
get(java.lang.Object key)88 public java.lang.Object get(java.lang.Object key) { throw new RuntimeException("Stub!"); }
89 
put(java.lang.Object key, java.lang.Object value)90 public synchronized java.lang.Object put(java.lang.Object key, java.lang.Object value) { throw new RuntimeException("Stub!"); }
91 
remove(java.lang.Object key)92 public synchronized java.lang.Object remove(java.lang.Object key) { throw new RuntimeException("Stub!"); }
93 
putAll(java.util.Map<?,?> t)94 public synchronized void putAll(java.util.Map<?,?> t) { throw new RuntimeException("Stub!"); }
95 
clear()96 public synchronized void clear() { throw new RuntimeException("Stub!"); }
97 
toString()98 public synchronized java.lang.String toString() { throw new RuntimeException("Stub!"); }
99 
keySet()100 public java.util.Set<java.lang.Object> keySet() { throw new RuntimeException("Stub!"); }
101 
values()102 public java.util.Collection<java.lang.Object> values() { throw new RuntimeException("Stub!"); }
103 
entrySet()104 public java.util.Set<java.util.Map.Entry<java.lang.Object,java.lang.Object>> entrySet() { throw new RuntimeException("Stub!"); }
105 
equals(java.lang.Object o)106 public synchronized boolean equals(java.lang.Object o) { throw new RuntimeException("Stub!"); }
107 
hashCode()108 public synchronized int hashCode() { throw new RuntimeException("Stub!"); }
109 
getOrDefault(java.lang.Object key, java.lang.Object defaultValue)110 public java.lang.Object getOrDefault(java.lang.Object key, java.lang.Object defaultValue) { throw new RuntimeException("Stub!"); }
111 
forEach(java.util.function.BiConsumer<? super java.lang.Object,? super java.lang.Object> action)112 public synchronized void forEach(java.util.function.BiConsumer<? super java.lang.Object,? super java.lang.Object> action) { throw new RuntimeException("Stub!"); }
113 
replaceAll(java.util.function.BiFunction<? super java.lang.Object,? super java.lang.Object,?> function)114 public synchronized void replaceAll(java.util.function.BiFunction<? super java.lang.Object,? super java.lang.Object,?> function) { throw new RuntimeException("Stub!"); }
115 
putIfAbsent(java.lang.Object key, java.lang.Object value)116 public synchronized java.lang.Object putIfAbsent(java.lang.Object key, java.lang.Object value) { throw new RuntimeException("Stub!"); }
117 
remove(java.lang.Object key, java.lang.Object value)118 public synchronized boolean remove(java.lang.Object key, java.lang.Object value) { throw new RuntimeException("Stub!"); }
119 
replace(java.lang.Object key, java.lang.Object oldValue, java.lang.Object newValue)120 public synchronized boolean replace(java.lang.Object key, java.lang.Object oldValue, java.lang.Object newValue) { throw new RuntimeException("Stub!"); }
121 
replace(java.lang.Object key, java.lang.Object value)122 public synchronized java.lang.Object replace(java.lang.Object key, java.lang.Object value) { throw new RuntimeException("Stub!"); }
123 
computeIfAbsent(java.lang.Object key, java.util.function.Function<? super java.lang.Object,?> mappingFunction)124 public synchronized java.lang.Object computeIfAbsent(java.lang.Object key, java.util.function.Function<? super java.lang.Object,?> mappingFunction) { throw new RuntimeException("Stub!"); }
125 
computeIfPresent(java.lang.Object key, java.util.function.BiFunction<? super java.lang.Object,? super java.lang.Object,?> remappingFunction)126 public synchronized java.lang.Object computeIfPresent(java.lang.Object key, java.util.function.BiFunction<? super java.lang.Object,? super java.lang.Object,?> remappingFunction) { throw new RuntimeException("Stub!"); }
127 
compute(java.lang.Object key, java.util.function.BiFunction<? super java.lang.Object,? super java.lang.Object,?> remappingFunction)128 public synchronized java.lang.Object compute(java.lang.Object key, java.util.function.BiFunction<? super java.lang.Object,? super java.lang.Object,?> remappingFunction) { throw new RuntimeException("Stub!"); }
129 
merge(java.lang.Object key, java.lang.Object value, java.util.function.BiFunction<? super java.lang.Object,? super java.lang.Object,?> remappingFunction)130 public synchronized java.lang.Object merge(java.lang.Object key, java.lang.Object value, java.util.function.BiFunction<? super java.lang.Object,? super java.lang.Object,?> remappingFunction) { throw new RuntimeException("Stub!"); }
131 
rehash()132 protected void rehash() { throw new RuntimeException("Stub!"); }
133 
clone()134 public synchronized java.lang.Object clone() { throw new RuntimeException("Stub!"); }
135 
136 protected volatile java.util.Properties defaults;
137 }
138 
139