Code example for Set

Methods: isEmpty

0
					publicLARURLConnection.getInputStream());
			} 
 
			importer = larImporter;
		} 
		else if ((resourcePaths != null) && !resourcePaths.isEmpty()) {
			importer = getResourceImporter();
 
			importer.setResourcesDir(RESOURCES_DIR);
		} 
		else if ((templatePaths != null) && !templatePaths.isEmpty()) {
			importer = getResourceImporter();
 
			Group group = GroupLocalServiceUtil.getCompanyGroup(companyId);
 
			importer.setGroupId(group.getGroupId());
			importer.setResourcesDir(TEMPLATES_DIR);
		} 
		else if (Validator.isNotNull(resourcesDir)) {
			importer = getFileSystemImporter();