com.mytaxi.apis.phrase.api.locale.PhraseLocaleAPI Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of phrase-java-client Show documentation
Show all versions of phrase-java-client Show documentation
This projects contains of services to handle the translations from [PhraseApp API
v2](http://docs.phraseapp.com/api/v2/). It's supposed to expose Phrase translations as POJO or as File within the java world.
package com.mytaxi.apis.phrase.api.locale;
import com.mytaxi.apis.phrase.exception.PhraseAppApiException;
import com.mytaxi.apis.phrase.domainobject.locale.PhraseProjectLocale;
import java.util.List;
/**
* Downloads the locales from phraseApp as POJOs.
*
* @author m.winkelmann
*/
public interface PhraseLocaleAPI
{
/**
* Retrieves all locales for the given projectIds.
*
* @param projectIds - ids of the projects you want to have
* @return list of PhraseProjectLocales
* @throws PhraseAppApiException - if some error occured due the whole process
*/
List listLocales(List projectIds) throws PhraseAppApiException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy