@Test void testGetAllMessageIds() throws Exception { assertEquals( of("test", "EN_ONLY", "test", "EN_PLUS_NL", "test", "BIOBANK_UTF8", "test", "NL_ONLY"), propertiesMessageSource.getAllMessageIds()); }
public SetMultimap<String, String> getAllMessageIds() { ImmutableSetMultimap.Builder<String, String> result = ImmutableSetMultimap.builder(); getBasenameSet() .forEach(basename -> result.putAll(basename.substring(5), getMessageIds(basename))); return result.build(); }
AllPropertiesMessageSource extends ResourceBundleMessageSource { public SetMultimap<String, String> getAllMessageIds() { ImmutableSetMultimap.Builder<String, String> result = ImmutableSetMultimap.builder(); getBasenameSet() .forEach(basename -> result.putAll(basename.substring(5), getMessageIds(basename))); return result.build(); } }
AllPropertiesMessageSource extends ResourceBundleMessageSource { public SetMultimap<String, String> getAllMessageIds() { ImmutableSetMultimap.Builder<String, String> result = ImmutableSetMultimap.builder(); getBasenameSet() .forEach(basename -> result.putAll(basename.substring(5), getMessageIds(basename))); return result.build(); } AllPropertiesMessageSource(); }
AllPropertiesMessageSource extends ResourceBundleMessageSource { public SetMultimap<String, String> getAllMessageIds() { ImmutableSetMultimap.Builder<String, String> result = ImmutableSetMultimap.builder(); getBasenameSet() .forEach(basename -> result.putAll(basename.substring(5), getMessageIds(basename))); return result.build(); } AllPropertiesMessageSource(); void addMolgenisNamespaces(String... namespaces); SetMultimap<String, String> getAllMessageIds(); @Override // Overridden to make the visibility String resolveCodeWithoutArguments(String code, Locale locale); }
AllPropertiesMessageSource extends ResourceBundleMessageSource { public SetMultimap<String, String> getAllMessageIds() { ImmutableSetMultimap.Builder<String, String> result = ImmutableSetMultimap.builder(); getBasenameSet() .forEach(basename -> result.putAll(basename.substring(5), getMessageIds(basename))); return result.build(); } AllPropertiesMessageSource(); void addMolgenisNamespaces(String... namespaces); SetMultimap<String, String> getAllMessageIds(); @Override // Overridden to make the visibility String resolveCodeWithoutArguments(String code, Locale locale);  }