Searched refs:properties (Results 1 - 16 of 16) sorted by relevance

/libcore/ojluni/src/main/java/java/util/
H A DPropertyResourceBundle.java56 * <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 DXMLUtils.java50 // 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 DURLConnection.java44 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 DTestUtils.java72 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 DSupport_SQL.java52 .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 DMockFilter.java41 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 DMockReader.java53 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 Dcreate_test_jar.sh65 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 DFileURLConnection.java122 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 DPropertiesTest.java87 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 DSystemTest.java154 // 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 DPack200.java55 * // 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 DVMRuntime.java40 // 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 DConnection.java1133 * 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 DSystem.java54 * 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 Djvm.h1302 * Initialize the agent properties with the properties maintained in the VM.
1456 char **properties; member in struct:JDK1_1InitArgs

Completed in 486 milliseconds