
fr.vergne.translation.util.MapInformer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of translation-core Show documentation
Show all versions of translation-core Show documentation
Basic features to support a translation project.
The newest version!
package fr.vergne.translation.util;
public interface MapInformer {
public String getName(MapID mapId) throws NoDataException;
public int getEntriesCount(MapID mapId) throws NoDataException;
public int getEntriesRemaining(MapID mapId) throws NoDataException;
public boolean isModified(MapID mapId) throws NoDataException;
public int getAllEntriesCount() throws NoDataException;
public int getAllEntriesRemaining() throws NoDataException;
public void addMapSummaryListener(MapSummaryListener listener);
public void removeMapSummaryListener(MapSummaryListener listener);
public interface MapSummaryListener {
public void mapSummarized(MapID mapId);
}
@SuppressWarnings("serial")
public static class NoDataException extends Exception {
public NoDataException() {
}
public NoDataException(String message) {
super(message);
}
public NoDataException(String message, Throwable cause) {
super(message, cause);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy