String exceptionsValue = allElements[0].getAttribute(Constants.ECLIPSE_LAZYSTART_EXCEPTIONS); if (exceptionsValue == null) return; StringTokenizer tokenizer = new StringTokenizer(exceptionsValue, ","); int numberOfTokens = tokenizer.countTokens(); storageHook.autoStartExceptions = new String[numberOfTokens]; for (int i = 0; i < numberOfTokens; i++) storageHook.autoStartExceptions[i] = tokenizer.nextToken().trim();
String[] exceptions = ManifestElement.getArrayFromList(allElements[0].getAttribute(Constants.ECLIPSE_LAZYSTART_EXCEPTIONS)); storageHook.lazyStartExcludes = exceptions;
	private void parseLazyStart(EclipseStorageHook storageHook, String headerValue) {		storageHook.autoStartExceptions = null;		ManifestElement[] allElements = null;		try {			allElements = ManifestElement.parseHeader(Constants.ECLIPSE_LAZYSTART, headerValue);		} catch (BundleException e) {			// just use the default settings (no auto activation)			String message = NLS.bind(EclipseAdaptorMsg.ECLIPSE_CLASSLOADER_CANNOT_GET_HEADERS, storageHook.bundledata.getLocation());			bundledata.getAdaptor().getFrameworkLog().log(new FrameworkLogEntry(FrameworkAdaptor.FRAMEWORK_SYMBOLICNAME, FrameworkLogEntry.ERROR, 0, message, 0, e, null));		}		//Eclipse-AutoStart not found... 		if (allElements == null)			return;		// the single value for this element should be true|false		if ("true".equalsIgnoreCase(allElements[0].getValue())) //$NON-NLS-1$			flags |= FLAG_AUTO_START;		// look for any exceptions (the attribute) to the autoActivate setting		String exceptionsValue = allElements[0].getAttribute(Constants.ECLIPSE_LAZYSTART_EXCEPTIONS);		if (exceptionsValue == null)			return;		StringTokenizer tokenizer = new StringTokenizer(exceptionsValue, ","); //$NON-NLS-1$		int numberOfTokens = tokenizer.countTokens();		storageHook.autoStartExceptions = new String[numberOfTokens];		for (int i = 0; i < numberOfTokens; i++)			storageHook.autoStartExceptions[i] = tokenizer.nextToken().trim();	}