public class BundleSynchronizedMatcher extends org.hamcrest.BaseMatcher<String>
Constructor and Description |
---|
BundleSynchronizedMatcher() |
Modifier and Type | Method and Description |
---|---|
void |
describeTo(org.hamcrest.Description description) |
protected static String |
extractDefaultBundleName(String bundleName) |
protected static InputStream |
getBundleFileInputStream(String bundleName) |
protected static InputStream |
getDefaultBundleFileInputStream(String bundleName) |
protected static Properties |
loadProperties(InputStream inputStream) |
boolean |
matches(Object arg0) |
protected static SortedMap<String,String> |
retrieveMissingTranslations(InputStream bundle,
InputStream referenceBundle) |
public static final String L10N_PATH
public BundleSynchronizedMatcher()
public void describeTo(org.hamcrest.Description description)
protected static SortedMap<String,String> retrieveMissingTranslations(InputStream bundle, InputStream referenceBundle) throws IOException
IOException
protected static Properties loadProperties(InputStream inputStream) throws IOException
IOException
protected static InputStream getBundleFileInputStream(String bundleName)
protected static InputStream getDefaultBundleFileInputStream(String bundleName)
protected static String extractDefaultBundleName(String bundleName)
Copyright © 2009–2015 SonarSource. All rights reserved.