Best code examples for Java 8 Attributes class (java.util.jar.Attributes)

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Java 8 Attributes class.
You can now enable Codota on your own code to easily search and navigate your Java codebase.

Java 8 Attributes examples from Open Source projects
This code example shows how to use the following methods: getValue
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
This code example shows how to use the following methods: put, putAll
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
This code example shows how to use the following methods: getValue
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
This code example shows how to use the following methods: getValue
48:	result = attributes.getValue(attribute); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: put
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
This code example shows how to use the following methods: putValue
56:	attributes.putValue(Attributes.Name.MANIFEST_VERSION.toString(), "1.0"); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: putValue
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
This code example shows how to use the following methods: putValue
44:	attributes.putValue(Attributes.Name.MANIFEST_VERSION.toString(), "1.0"); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: put, putAll
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
This code example shows how to use the following methods: put, putAll
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
This code example shows how to use the following methods: putValue
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
This code example shows how to use the following methods: putValue
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
This code example shows how to use the following methods: put, putAll
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
This code example shows how to use the following methods: put
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
This code example shows how to use the following methods: put
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
This code example shows how to use the following methods: putValue
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
This code example shows how to use the following methods: containsKey, get
35:	String extensionListValue = (mainAttributes.containsKey(Name.EXTENSION_LIST) ? String.valueOf(mainAttributes 
36:	.get(Name.EXTENSION_LIST)) + " " + appletName : appletName); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: putValue, x 1
132:	main.putValue("Manifest-Version", "1.0"); 
133:	main.putValue("Created-By", "1.0 (Android)"); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: putValue
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
This code example shows how to use the following methods: put
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
This code example shows how to use the following methods: putValue
185:	Attributes map = new Attributes(); 
-
187:	map.putValue("group", EipMAddressbook.EIP_TADDRESSBOOK_GROUP_MAP_PROPERTY 
-
192:	map.putValue("name_kana", EipMAddressbook.LAST_NAME_KANA_PROPERTY); 
193:	map.putValue( 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: getValue, put, putValue
88:	if (global.getValue(Attributes.Name.MANIFEST_VERSION) == null) { 
89:	global.put(Attributes.Name.MANIFEST_VERSION, "1.0"); 
-
92:	global.putValue(BOOT_CLASSPATH, getBoothClassPath(mylocation)); 
93:	global.putValue(PREMAIN_CLASS, AGENT_CLASS_NAME); 
94:	global.putValue(CAN_REDEFINE_CLASSES, "true"); 
95:	global.putValue(CAN_SET_NATIVE_METHOD, "true"); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: putValue
138:	attributes.putValue("Manifest-Version", "1.0"); 
139:	attributes.putValue("Bundle-ManifestVersion", "2"); 
-
141:	attributes.putValue("Bundle-SymbolicName", this._bundleSymbolicName); 
142:	attributes.putValue("Bundle-Version", this._bundleVersion); 
-
145:	attributes.putValue("Bundle-Name", this._bundleName); 
-
149:	attributes.putValue("Import-Package", this._importPackage); 
-
153:	attributes.putValue("Export-Package", this._exportPackage); 
-
157:	attributes.putValue("Fragment-Host", this._fragmentHost); 
-
161:	attributes.putValue("Bundle-ClassPath", this._classpath); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: putValue
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
This code example shows how to use the following methods: putAll
47:	Attributes mains = new Attributes( ); 
48:	mains.putAll( getAttributes("Manifest-Version") ); 
49:	mains.putAll( getAttributes("Created-By")); 
50:	mains.putAll( getAttributes("Implementation-Revision")); 
51:	mains.putAll( getAttributes("Implementation-Revision-Status")); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: putValue
297:	Attributes map = new Attributes(); 
298:	map.putValue("sort_order", EipTMailFilter.SORT_ORDER_PROPERTY); 
299:	map.putValue("filter_name", EipTMailFilter.FILTER_NAME_PROPERTY); 
300:	map.putValue("filter_string", EipTMailFilter.FILTER_TYPE_PROPERTY); 
301:	map.putValue("dst_folder_name", EipTMailFilter.EIP_TMAIL_FOLDER_PROPERTY 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: putValue
272:	Attributes map = new Attributes(); 
273:	map.putValue("group", EipMAddressbook.EIP_TADDRESSBOOK_GROUP_MAP_PROPERTY 
-
278:	map.putValue("name_kana", EipMAddressbook.LAST_NAME_KANA_PROPERTY); 
279:	map.putValue( 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: containsKey, getValue
161:	assertTrue(mainAttributes.containsKey(Attributes.Name.CLASS_PATH)); 
162:	String classPathAttr = mainAttributes.getValue(Attributes.Name.CLASS_PATH); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: get
89:	return (null != attributeName) ? (String) mainAttributes.get(attributeName) : null; 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: getValue
112:	final String value = attr.getValue(attrName); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: put
465:	attributes.put(new Attributes.Name("Manifest-Version"), "1.0"); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: getValue, put
32:	setIfNone(mainAttributes, CREATED_BY, ApplicationNamesInfo.getInstance().getFullProductName()); 
-
40:	if (mainAttributes.getValue(attrName) == null) { 
41:	mainAttributes.put(attrName, value); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: putValue
81:	Attributes a = new Attributes(); 
82:	a.putValue("Bundle-SymbolicName", getSymbolicName()); 
83:	a.putValue("Bundle-Version", getVersion()); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: putValue
219:	Attributes map = new Attributes(); 
220:	map.putValue("corp_group", TurbineUser.TURBINE_USER_GROUP_ROLE_PROPERTY 
-
225:	map.putValue("name_kana", TurbineUser.LAST_NAME_KANA_PROPERTY); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: putValue
29:	Attributes attrs = new Attributes(); 
30:	attrs.putValue("Creator", Zip.class.getName()); 
31:	mf.getEntries().put("Creater", attrs); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: putValue
196:	Attributes map = new Attributes(); 
197:	map.putValue("route_name", EipTWorkflowRoute.ROUTE_NAME_PROPERTY); 
198:	map.putValue("route", EipTWorkflowRoute.ROUTE_PROPERTY); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: putValue
185:	Attributes map = new Attributes(); 
186:	map.putValue("create_date", EipTExtTimecardSystem.CREATE_DATE_PROPERTY); 
187:	map.putValue("system_name", EipTExtTimecardSystem.SYSTEM_NAME_PROPERTY); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: putValue
143:	Attributes map = new Attributes(); 
-
145:	map.putValue("corp_group", TurbineUser.TURBINE_USER_GROUP_ROLE_PROPERTY 
-
150:	map.putValue("name_kana", TurbineUser.LAST_NAME_KANA_PROPERTY); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: putValue
204:	Attributes map = new Attributes(); 
205:	map.putValue("category_name", EipTWorkflowCategory.CATEGORY_NAME_PROPERTY); 
206:	map.putValue( 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: putValue
223:	Attributes map = new Attributes(); 
224:	map.putValue("gpdb_kubun_id", EipMGpdbKubun.GPDB_KUBUN_ID_PK_COLUMN); 
225:	map.putValue("gpdb_kubun_name", EipMGpdbKubun.GPDB_KUBUN_NAME_PROPERTY); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: putValue
279:	Attributes map = new Attributes(); 
280:	map.putValue("name_kana", TurbineUser.LAST_NAME_KANA_PROPERTY); 
281:	map.putValue("userposition", TurbineUser.EIP_MUSER_POSITION_PROPERTY 
Full Snippet Info
5
CodeRank
See Code Examples for Java 8 Attributes Methods: