Code examples for Attributes

Codota analyzed 7,668,838 open source code samples to find the most common, credible and clear examples.
You can now enable Codota on your own code to easily search and navigate your Java codebase.
217:	String name = attributes.getValue("Extension-Name"); 
-
226:	attributes.getValue("Implementation-URL")); 
-
228:	attributes.getValue("Implementation-Vendor")); 
-
230:	attributes.getValue("Implementation-Vendor-Id")); 
-
232:	attributes.getValue("Implementation-Version")); 
-
234:	attributes.getValue("Specification-Version")); 
Full Snippet Info
7
CodeRank
36:	Attributes at = new Attributes(); 
-
38:	at.put("this is not an Attributes.Name", "value"); 
-
44:	at.put(new Attributes.Name("name"), new Integer(0)); 
-
50:	at.putAll(new HashMap()); 
Full Snippet Info
7
CodeRank
217:	String name = attributes.getValue("Extension-Name"); 
-
226:	attributes.getValue("Implementation-URL")); 
-
228:	attributes.getValue("Implementation-Vendor")); 
-
230:	attributes.getValue("Implementation-Vendor-Id")); 
-
232:	attributes.getValue("Implementation-Version")); 
-
234:	attributes.getValue("Specification-Version")); 
Full Snippet Info
7
CodeRank
48:	result = attributes.getValue(attribute); 
Full Snippet Info
7
CodeRank
97:	Attributes attributes = entries.containsKey(entryName) ? manifest.getAttributes(entryName) : new Attributes(); 
98:	attributes.put(attribute, value); 
99:	entries.put(entryName, attributes); 
Full Snippet Info
6
CodeRank
56:	attributes.putValue(Attributes.Name.MANIFEST_VERSION.toString(), "1.0"); 
Full Snippet Info
7
CodeRank
28:	a = new Attributes(); 
29:	a.putValue("1", "one"); 
30:	a.putValue("2", "two"); 
31:	a.putValue("3", "three"); 
32:	a.putValue("4", "four"); 
Full Snippet Info
6
CodeRank
44:	attributes.putValue(Attributes.Name.MANIFEST_VERSION.toString(), "1.0"); 
Full Snippet Info
7
CodeRank
36:	Attributes at = new Attributes(); 
-
38:	at.put("this is not an Attributes.Name", "value"); 
-
44:	at.put(new Attributes.Name("name"), new Integer(0)); 
-
50:	at.putAll(new HashMap()); 
Full Snippet Info
6
CodeRank
36:	Attributes at = new Attributes(); 
-
38:	at.put("this is not an Attributes.Name", "value"); 
-
44:	at.put(new Attributes.Name("name"), new Integer(0)); 
-
50:	at.putAll(new HashMap()); 
Full Snippet Info
6
CodeRank
244:	Attributes map = new Attributes(); 
245:	map.putValue("client_name", EipTNoteMap.EIP_TNOTE_PROPERTY 
-
248:	map.putValue("subject_type", EipTNoteMap.EIP_TNOTE_PROPERTY 
-
251:	map.putValue("create_date", EipTNoteMap.EIP_TNOTE_PROPERTY 
-
254:	map.putValue("accept_date", EipTNoteMap.EIP_TNOTE_PROPERTY 
-
257:	map.putValue("note_stat", EipTNoteMap.NOTE_STAT_PROPERTY); 
Full Snippet Info
6
CodeRank
44:	attrs.putValue("Bundle-SymbolicName", "org.nuxeo.osgi.app"); 
45:	attrs.putValue("Bundle-Name", "Nuxeo App System Bundle"); 
46:	attrs.putValue("Bundle-Vendor", "Nuxeo"); 
47:	attrs.putValue("Bundle-Version", "1.0.0"); 
Full Snippet Info
6
CodeRank
36:	Attributes at = new Attributes(); 
-
38:	at.put("this is not an Attributes.Name", "value"); 
-
44:	at.put(new Attributes.Name("name"), new Integer(0)); 
-
50:	at.putAll(new HashMap()); 
Full Snippet Info
6
CodeRank
134:	att.put(Attributes.Name.MANIFEST_VERSION, "1.0"); 
135:	att.put(Attributes.Name.MAIN_CLASS, "foo.bar.execjartest.Foo"); 
136:	att.put(Attributes.Name.CLASS_PATH, barZip.getName()); 
Full Snippet Info
6
CodeRank
84:	a.put(Attributes.Name.MANIFEST_VERSION, "1.0"); 
-
86:	a.put("Application-Version", argMap.get(VERSION_KEY)); 
87:	a.put(Attributes.Name.CLASS_PATH, 
-
104:	a.put(Attributes.Name.MAIN_CLASS, 
Full Snippet Info
6
CodeRank
232:	Attributes map = new Attributes(); 
233:	map.putValue("folder_name", EipTCabinetFile.EIP_TCABINET_FOLDER_PROPERTY 
-
236:	map.putValue("file_title", EipTCabinetFile.FILE_TITLE_PROPERTY); 
237:	map.putValue("file_name", EipTCabinetFile.FILE_NAME_PROPERTY); 
-
239:	map.putValue("update_date", EipTCabinetFile.UPDATE_DATE_PROPERTY); 
240:	map.putValue("file_size", EipTCabinetFile.FILE_SIZE_PROPERTY); 
241:	map.putValue("counter", EipTCabinetFile.COUNTER_PROPERTY); 
Full Snippet Info
6
CodeRank
35:	String extensionListValue = (mainAttributes.containsKey(Name.EXTENSION_LIST) ? String.valueOf(mainAttributes 
36:	.get(Name.EXTENSION_LIST)) + " " + appletName : appletName); 
Full Snippet Info
6
CodeRank
132:	main.putValue("Manifest-Version", "1.0"); 
133:	main.putValue("Created-By", "1.0 (Android)"); 
Full Snippet Info
6
CodeRank
327:	Attributes map = new Attributes(); 
328:	map.putValue("event_date", EipTEventlog.EVENT_DATE_PROPERTY); 
329:	map.putValue("user_name", EipTEventlog.TURBINE_USER_PROPERTY 
-
332:	map.putValue("portlet_id", EipTEventlog.PORTLET_TYPE_PROPERTY); 
333:	map.putValue("event_type", EipTEventlog.EVENT_TYPE_PROPERTY); 
334:	map.putValue("ip_addr", EipTEventlog.IP_ADDR_PROPERTY); 
Full Snippet Info
6
CodeRank
41:	mainAttributes.put(Attributes.Name.MANIFEST_VERSION, "0.0.1"); 
42:	mainAttributes.put(new Attributes.Name(SOURCE), DEFAULT_SRC); 
43:	mainAttributes.put(new Attributes.Name(MAIN_MODULE), DEFAULT_MAIN_MODULE); 
44:	mainAttributes.put(new Attributes.Name(MAIN_FUNCTION), DEFAULT_MAIN_FUNCTION); 
Full Snippet Info
6
CodeRank