/libcore/ojluni/src/main/java/java/util/ |
H A D | PropertyResourceBundle.java | 56 * <code>PropertyResourceBundle</code>. Instead, you supply properties 58 * will automatically look for the appropriate properties file and create a 69 * therefore is the content of the file "MyResources_de.properties" 137 Properties properties = new Properties(); 138 properties.load(stream); 139 lookup = new HashMap(properties); 158 Properties properties = new Properties(); 159 properties.load(reader); 160 lookup = new HashMap(properties);
|
H A D | XMLUtils.java | 50 // The required DTD URI for exported properties 52 "http://java.sun.com/dtd/properties.dtd"; 56 "<!-- DTD for properties -->" + 57 "<!ELEMENT properties ( comment?, entry* ) >"+ 58 "<!ATTLIST properties" + 66 * Version number for the format of exported properties files. 143 Element properties = (Element) 144 doc.appendChild(doc.createElement("properties")); 147 Element comments = (Element)properties.appendChild( 154 Element entry = (Element)properties [all...] |
/libcore/ojluni/src/main/java/sun/net/www/ |
H A D | URLConnection.java | 44 protected MessageHeader properties; field in class:URLConnection 53 properties = new MessageHeader(); 60 return properties; 64 public void setProperties(MessageHeader properties) { argument 65 this.properties = properties; 73 properties.set(key, value); 106 return properties == null ? null : properties.findValue(name); 120 MessageHeader props = properties; [all...] |
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
H A D | TestUtils.java | 72 Properties properties = System.getProperties(); 74 properties.remove(key); 76 properties.setProperty(key, value); 78 System.setProperties(properties);
|
/libcore/luni/src/test/java/tests/support/ |
H A D | Support_SQL.java | 52 .getResourceAsStream("/connection.properties"); 100 Properties properties = new Properties(); 101 properties.load(fileName); 102 sqlDriver = properties.getProperty("sqlDriver"); 103 sqlLogin = properties.getProperty("sqlLogin"); 104 sqlCatalog = properties.getProperty("sqlCatalog"); 105 sqlHost = properties.getProperty("sqlHost"); 106 sqlUrl = properties.getProperty("sqlUrlPrefix") + sqlHost + "/" 108 sqlPassword = properties.getProperty("sqlPassword"); 109 sqlUser = properties [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/support/ |
H A D | MockFilter.java | 41 private Map<String, Object> properties = new HashMap<String, Object>(); field in class:MockFilter 57 return properties.get(name); 73 properties.remove(name); 75 properties.put(name, value);
|
H A D | MockReader.java | 53 private Map<String, Object> properties = new HashMap<String, Object>(); field in class:MockReader 84 return properties.get(name); 122 properties.remove(name); 124 properties.put(name, value);
|
/libcore/luni/src/test/java/dalvik/system/ |
H A D | create_test_jar.sh | 65 echo -ne "NOT ICU" > android/icu/ICUConfig.properties 66 jar uf ./bootoverride.jar android/icu/ICUConfig.properties
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/file/ |
H A D | FileURLConnection.java | 122 properties.add(CONTENT_TYPE, contentType); 124 properties.add(CONTENT_LENGTH, String.valueOf(length)); 136 properties.add(LAST_MODIFIED, fo.format(date)); 139 properties.add(CONTENT_TYPE, TEXT_PLAIN);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
H A D | PropertiesTest.java | 87 Properties properties = new Properties(systemProperties); 92 assertEquals("failed to construct correct properties", 94 properties.getProperty(propertyName)); 218 assertEquals("Failed to load correct properties", "harmony.tests", prop 268 "#properties file\r\nfred=1\r\n#last comment" 285 .getStream("hyts_PropertiesTest.properties"); 323 assertEquals("Failed to load correct properties", "harmony.tests", prop 365 "#properties file\r\nfred=1\r\n#last comment" 438 .getStream("hyts_PropertiesTest.properties"); 511 Properties properties [all...] |
/libcore/luni/src/test/java/libcore/java/lang/ |
H A D | SystemTest.java | 154 // Android-specific: The RI does not have a concept of immutable properties. 200 // All the immutable properties should be reset. 202 // Non-standard properties are cleared. 217 // Android-specific: The RI makes the setProperties() argument the system properties object, 218 // Android makes a new Properties object and copies the properties. 220 // Android-specific: The RI does not have a concept of immutable properties. 231 Properties properties = System.getProperties(); 232 assertEquals("v1", properties.getProperty("p1")); 234 properties.clear();
|
/libcore/ojluni/src/main/java/java/util/jar/ |
H A D | Pack200.java | 55 * // Initialize the state by setting the desired properties 56 * Map p = packer.properties(); 178 * by their properties below. 180 * engine properties (using {@link #properties}) and storing 181 * the modified properties on the map. 248 * of its name and other transmitted properties. 341 * additional properties with distinct strings appended, to 342 * make a family of properties with the common prefix. 356 * Map p = packer.properties(); 547 SortedMap<String,String> properties(); method in interface:Pack200.Packer 706 SortedMap<String,String> properties(); method in interface:Pack200.Unpacker [all...] |
/libcore/libart/src/main/java/dalvik/system/ |
H A D | VMRuntime.java | 40 // system properties. To be sure that the properties stay valid the 87 public native String[] properties(); method in class:VMRuntime
|
/libcore/ojluni/src/main/java/java/sql/ |
H A D | Connection.java | 1133 * method to determine the client info properties supported by the driver 1154 * The following are standard client info properties. Drivers are not 1155 * required to support these properties however if the driver supports a 1157 * properties, the standard property name should be used. 1185 * Sets the value of the connection's client info properties. The 1187 * properties to be set. The set of client info properties contained in 1188 * the properties list replaces the current set of client info properties 1190 * connection is not present in the properties lis 1214 setClientInfo(Properties properties) argument [all...] |
/libcore/ojluni/src/main/java/java/lang/ |
H A D | System.java | 54 * access to externally defined properties and environment 910 * System properties. The following properties are guaranteed to be defined: 975 // Set non-static properties. 1004 // Android-added: Undocumented properties that exist only on Android. 1010 // is prioritized over the properties in ICUConfig.properties. The issue with using 1018 // Override built-in properties with settings from the command line. 1020 parsePropertyAssignments(p, runtime.properties()); 1023 // Set static hardcoded properties [all...] |
/libcore/ojluni/src/main/native/ |
H A D | jvm.h | 1302 * Initialize the agent properties with the properties maintained in the VM. 1456 char **properties; member in struct:JDK1_1InitArgs
|