Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- AbstractCrowdinMojo - Class in org.exoplatform.crowdin.mojo
- AbstractCrowdinMojo() - Constructor for class org.exoplatform.crowdin.mojo.AbstractCrowdinMojo
- addDirectory(String) - Method in class org.exoplatform.crowdin.utils.CrowdinAPIHelper
-
Calls the function http://crowdin.com/page/api/add-directory
- addFile(CrowdinFile) - Method in class org.exoplatform.crowdin.utils.CrowdinAPIHelper
-
Calls the function https://crowdin.com/page/api/add-file
C
- COLON_IN_KEY - Static variable in class org.exoplatform.crowdin.utils.XMLToProps
- CrowdinAPIHelper - Class in org.exoplatform.crowdin.utils
- CrowdinAPIHelper(AbstractCrowdinMojo) - Constructor for class org.exoplatform.crowdin.utils.CrowdinAPIHelper
- crowdInArchive - Variable in class org.exoplatform.crowdin.mojo.AbstractCrowdinMojo
- CrowdinFile - Class in org.exoplatform.crowdin.model
- CrowdinFile(File, String, String, String, boolean) - Constructor for class org.exoplatform.crowdin.model.CrowdinFile
- CrowdinFile.Type - Enum Class in org.exoplatform.crowdin.model
- CrowdinFileFactory - Class in org.exoplatform.crowdin.model
- CrowdinFileFactory(AbstractCrowdinMojo) - Constructor for class org.exoplatform.crowdin.model.CrowdinFileFactory
- crowdInMojoExecute() - Method in class org.exoplatform.crowdin.mojo.AbstractCrowdinMojo
-
The core method of the Mojo.
- crowdInMojoExecute() - Method in class org.exoplatform.crowdin.mojo.DownloadTranslationsMojo
- crowdInMojoExecute() - Method in class org.exoplatform.crowdin.mojo.RestoreTranslationMojo
- crowdInMojoExecute() - Method in class org.exoplatform.crowdin.mojo.UpdateCrowdInMojo
-
Entry point of the goal.
- crowdInMojoExecute() - Method in class org.exoplatform.crowdin.mojo.UpdateSourcesMojo
- crowdInMojoExecute() - Method in class org.exoplatform.crowdin.mojo.UploadTranslationMojo
- CrowdinTranslation - Class in org.exoplatform.crowdin.model
- CrowdinTranslation(File, String, String, String, String, CrowdinFile, boolean) - Constructor for class org.exoplatform.crowdin.model.CrowdinTranslation
D
- DEFAULT_TRANSLATIONS_REGISTRY_FILE_PATH - Static variable in class org.exoplatform.crowdin.mojo.AbstractCrowdinMojo
- deleteFile(CrowdinFile) - Method in class org.exoplatform.crowdin.utils.CrowdinAPIHelper
-
Calls the function https://crowdin.com/page/api/delete-file
- downloadTranslations(File) - Method in class org.exoplatform.crowdin.utils.CrowdinAPIHelper
- DownloadTranslationsMojo - Class in org.exoplatform.crowdin.mojo
-
Downloads all translations from CrowdIn
- DownloadTranslationsMojo() - Constructor for class org.exoplatform.crowdin.mojo.DownloadTranslationsMojo
E
- elementExists(String) - Method in class org.exoplatform.crowdin.utils.CrowdinAPIHelper
- encodeAndroidLocale(String) - Static method in class org.exoplatform.crowdin.model.CrowdinTranslation
-
tranform xx-XX to xx-rXX
- encodeIOSLocale(String) - Static method in class org.exoplatform.crowdin.model.CrowdinTranslation
-
transform en-GB to en_GB
- encodeLanguageName(String, boolean) - Static method in class org.exoplatform.crowdin.model.CrowdinTranslation
- encodeMinusCharacterInPath(String, boolean) - Static method in class org.exoplatform.crowdin.model.CrowdinFileFactory
- execGit(File, String) - Method in class org.exoplatform.crowdin.mojo.AbstractCrowdinMojo
- execGit(File, String, MojoExecutor.Element...) - Method in class org.exoplatform.crowdin.mojo.AbstractCrowdinMojo
- execShellCommand(String) - Static method in class org.exoplatform.crowdin.utils.PropsToXML
- execShellscript(String) - Static method in class org.exoplatform.crowdin.utils.ShellScriptUtils
-
Execute Shell script without Argument
- execShellscript(String, String) - Static method in class org.exoplatform.crowdin.utils.ShellScriptUtils
-
Execute Shell script with Argument
- execute() - Method in class org.exoplatform.crowdin.mojo.AbstractCrowdinMojo
- execute() - Method in class org.exoplatform.translation.crowdin.crowdin_maven_plugin.HelpMojo
F
- FileUtils - Class in org.exoplatform.crowdin.utils
- FileUtils() - Constructor for class org.exoplatform.crowdin.utils.FileUtils
G
- GADGET - Enum constant in enum class org.exoplatform.crowdin.model.CrowdinFile.Type
- getApplyApprovedOnlyOption() - Method in class org.exoplatform.crowdin.mojo.AbstractCrowdinMojo
- getCrowdinLangFromPlatformLang(String) - Static method in class org.exoplatform.crowdin.model.CrowdinTranslation
-
Return the right language code for Crowdin from the language code used by eXo This is useful for some specific case, for example the indonesian language code in Crowdin is "id" whereas it is "in" in the platform (and Java).
- getCrowdinPath() - Method in class org.exoplatform.crowdin.model.CrowdinFile
- getFactory() - Method in class org.exoplatform.crowdin.mojo.AbstractCrowdinMojo
- getFile() - Method in class org.exoplatform.crowdin.model.CrowdinFile
- getHelper() - Method in class org.exoplatform.crowdin.mojo.AbstractCrowdinMojo
- getLang() - Method in class org.exoplatform.crowdin.model.CrowdinTranslation
- getLanguages() - Method in class org.exoplatform.crowdin.mojo.AbstractCrowdinMojo
- getLog() - Static method in class org.exoplatform.crowdin.utils.FileUtils
- getLog() - Static method in class org.exoplatform.crowdin.utils.IOSResouceBundleFileUtils
- getLog() - Static method in class org.exoplatform.crowdin.utils.XMLResourceBundleUtils
- getMaster() - Method in class org.exoplatform.crowdin.model.CrowdinTranslation
- getMavenSession() - Method in class org.exoplatform.crowdin.mojo.AbstractCrowdinMojo
- getName() - Method in class org.exoplatform.crowdin.model.CrowdinFile
- getPluginManager() - Method in class org.exoplatform.crowdin.mojo.AbstractCrowdinMojo
- getProject() - Method in class org.exoplatform.crowdin.model.CrowdinFile
- getProject() - Method in class org.exoplatform.crowdin.mojo.AbstractCrowdinMojo
-
The Maven Project Object
- getProjectId() - Method in class org.exoplatform.crowdin.mojo.AbstractCrowdinMojo
- getProjectInfo() - Method in class org.exoplatform.crowdin.utils.CrowdinAPIHelper
-
Calls the function https://crowdin.com/page/api/info
- getProjectKey() - Method in class org.exoplatform.crowdin.mojo.AbstractCrowdinMojo
- getProperties() - Method in class org.exoplatform.crowdin.mojo.AbstractCrowdinMojo
- getTranslationsArchivePath() - Method in class org.exoplatform.crowdin.mojo.AbstractCrowdinMojo
- getTranslationsRegistryFilePath() - Method in class org.exoplatform.crowdin.mojo.AbstractCrowdinMojo
- getTranslationStatus() - Method in class org.exoplatform.crowdin.utils.CrowdinAPIHelper
-
Calls the function https://crowdin.com/page/api/edit-project
- getType() - Method in class org.exoplatform.crowdin.model.CrowdinFile
- getWorkingDir() - Method in class org.exoplatform.crowdin.mojo.AbstractCrowdinMojo
H
- HelpMojo - Class in org.exoplatform.translation.crowdin.crowdin_maven_plugin
-
Display help information on crowdin-maven-plugin.
Callmvn crowdin:help -Ddetail=true -Dgoal=<goal-name>to display parameter details. - HelpMojo() - Constructor for class org.exoplatform.translation.crowdin.crowdin_maven_plugin.HelpMojo
I
- initDir(String) - Method in class org.exoplatform.crowdin.mojo.AbstractCrowdinMojo
-
Create parent directories of a file
- initTranslations(CrowdinFile) - Method in class org.exoplatform.crowdin.mojo.AbstractCrowdinMojo
-
A function that initializes translations of the master file given in parameter then upload these translations into Crowdin accordingly
- injectTranslation(InputStream, String, String) - Static method in class org.exoplatform.crowdin.utils.XMLResourceBundleUtils
-
Inject translation from crowdin to code base resource translation
- injectTranslation(Reader, String, String) - Static method in class org.exoplatform.crowdin.utils.XMLResourceBundleUtils
-
Inject translation from crowdin to code base resource translation
- injectTranslation(String, String, String) - Static method in class org.exoplatform.crowdin.utils.IOSResouceBundleFileUtils
-
Inject translation from crowdin translation file to resouce bundle file After injection, file @crowdinFilePath will be deleted
- injectTranslation(InputSource, String, String) - Static method in class org.exoplatform.crowdin.utils.XMLResourceBundleUtils
-
Inject translation from crowdin to code base resource translation
- IOSResouceBundleFileUtils - Class in org.exoplatform.crowdin.utils
-
This class contains the utilities to inject Crowdin translation file to iOS resource file
- IOSResouceBundleFileUtils() - Constructor for class org.exoplatform.crowdin.utils.IOSResouceBundleFileUtils
- isAllPropertyFilesExisted() - Method in class org.exoplatform.crowdin.mojo.AbstractCrowdinMojo
- isCommentOrEmptyLine(int, List<String>) - Static method in class org.exoplatform.crowdin.utils.IOSResouceBundleFileUtils
- isDryRun() - Method in class org.exoplatform.crowdin.mojo.AbstractCrowdinMojo
- isForce() - Method in class org.exoplatform.crowdin.mojo.AbstractCrowdinMojo
- isShouldBeCleaned() - Method in class org.exoplatform.crowdin.model.CrowdinFile
- isTranslation(String) - Method in class org.exoplatform.crowdin.model.CrowdinFileFactory
-
Checks whether a file is a translation or not, depending of the format of its filename.
L
- loadProperties(String) - Method in class org.exoplatform.crowdin.mojo.AbstractCrowdinMojo
-
A convenience method to load properties file
M
- makeFileFromResource(String) - Static method in class org.exoplatform.crowdin.utils.ShellScriptUtils
-
Copy file from .jar resource to system file
- matchTranslation(String) - Method in class org.exoplatform.crowdin.model.CrowdinFileFactory
-
Compares the given filename on a defined pattern to identify its parts (name, lang, type).
O
- org.exoplatform.crowdin.model - package org.exoplatform.crowdin.model
- org.exoplatform.crowdin.mojo - package org.exoplatform.crowdin.mojo
- org.exoplatform.crowdin.utils - package org.exoplatform.crowdin.utils
- org.exoplatform.translation.crowdin.crowdin_maven_plugin - package org.exoplatform.translation.crowdin.crowdin_maven_plugin
P
- parse(String, CrowdinFile.Type) - Static method in class org.exoplatform.crowdin.utils.PropsToXML
- parse(String, CrowdinFile.Type) - Static method in class org.exoplatform.crowdin.utils.XMLToProps
- PORTLET - Enum constant in enum class org.exoplatform.crowdin.model.CrowdinFile.Type
- prepareAndUploadTranslation(String, CrowdinFile, File, boolean) - Method in class org.exoplatform.crowdin.mojo.AbstractCrowdinMojo
-
prepareCrowdinTranslation and uploadTranslation
- prepareCrowdinFile(String, String, String) - Method in class org.exoplatform.crowdin.model.CrowdinFileFactory
-
Creates and returns a CrowdinFile (master).
- prepareCrowdinTranslation(CrowdinFile, File) - Method in class org.exoplatform.crowdin.model.CrowdinFileFactory
-
Creates and return a CrowdinTranslation.
- printFileContent(File) - Method in class org.exoplatform.crowdin.mojo.AbstractCrowdinMojo
- PropsToXML - Class in org.exoplatform.crowdin.utils
-
Created by The eXo Platform SAS Author : Tan Pham Dinh tan.pham@exoplatform.com Mar 4, 2009
- PropsToXML() - Constructor for class org.exoplatform.crowdin.utils.PropsToXML
R
- readAllIOSResource(String) - Static method in class org.exoplatform.crowdin.utils.IOSResouceBundleFileUtils
- readIOSResourceSkipCommentAndEmtyLine(String) - Static method in class org.exoplatform.crowdin.utils.IOSResouceBundleFileUtils
- readXMLToMap(InputStream) - Static method in class org.exoplatform.crowdin.utils.XMLResourceBundleUtils
-
Read data from XML InputStream
- readXMLToMap(Reader) - Static method in class org.exoplatform.crowdin.utils.XMLResourceBundleUtils
-
Read data from XML Reader
- readXMLToMap(InputSource) - Static method in class org.exoplatform.crowdin.utils.XMLResourceBundleUtils
- replaceCharacters(String, String, String) - Static method in class org.exoplatform.crowdin.utils.FileUtils
-
replace old string with new string and write to file
- replaceCharactersInFile(String, String, String) - Static method in class org.exoplatform.crowdin.utils.FileUtils
-
Replace special character in file "filePath".
- replaceStringInFile(String, String, String) - Static method in class org.exoplatform.crowdin.utils.FileUtils
-
Replace all String "regex" by String "replacement" in file "filePath"
- RestoreTranslationMojo - Class in org.exoplatform.crowdin.mojo
- RestoreTranslationMojo() - Constructor for class org.exoplatform.crowdin.mojo.RestoreTranslationMojo
S
- saveListStringToFile(String, List<String>) - Static method in class org.exoplatform.crowdin.utils.IOSResouceBundleFileUtils
- saveMapToXMLFile(String, String, Map<String, List<String>>) - Static method in class org.exoplatform.crowdin.utils.XMLResourceBundleUtils
-
Inject translation from a Map (crowdinMapData) to xmlFile (xmlTranslationResouceFilePath)
- setApprovedOnlyOption() - Method in class org.exoplatform.crowdin.utils.CrowdinAPIHelper
-
Calls the function https://crowdin.com/page/api/edit-project
- setLog(Log) - Static method in class org.exoplatform.crowdin.utils.FileUtils
- setLog(Log) - Static method in class org.exoplatform.crowdin.utils.IOSResouceBundleFileUtils
- setLog(Log) - Static method in class org.exoplatform.crowdin.utils.XMLResourceBundleUtils
- setTranslationsArchivePath(String) - Method in class org.exoplatform.crowdin.mojo.AbstractCrowdinMojo
- setTranslationsRegistryFilePath(String) - Method in class org.exoplatform.crowdin.mojo.AbstractCrowdinMojo
- ShellScriptUtils - Class in org.exoplatform.crowdin.utils
-
This Util help execute .sh files that store in .jar file.
- ShellScriptUtils() - Constructor for class org.exoplatform.crowdin.utils.ShellScriptUtils
U
- UpdateCrowdInMojo - Class in org.exoplatform.crowdin.mojo
-
Created by The eXo Platform SAS Author : viet nguyen vietnt@exoplatform.com May 4, 2012
- UpdateCrowdInMojo() - Constructor for class org.exoplatform.crowdin.mojo.UpdateCrowdInMojo
- updateFile(CrowdinFile) - Method in class org.exoplatform.crowdin.utils.CrowdinAPIHelper
-
Calls the function https://crowdin.com/page/api/update-file
- UpdateSourcesMojo - Class in org.exoplatform.crowdin.mojo
-
Update projects sources from crowdin translations
- UpdateSourcesMojo() - Constructor for class org.exoplatform.crowdin.mojo.UpdateSourcesMojo
- updateTranslationByLine(String, String) - Static method in class org.exoplatform.crowdin.utils.IOSResouceBundleFileUtils
- uploadTranslation(CrowdinTranslation, boolean) - Method in class org.exoplatform.crowdin.utils.CrowdinAPIHelper
-
Calls the function https://crowdin.com/page/api/upload-translation
- UploadTranslationMojo - Class in org.exoplatform.crowdin.mojo
- UploadTranslationMojo() - Constructor for class org.exoplatform.crowdin.mojo.UploadTranslationMojo
V
- valueOf(String) - Static method in enum class org.exoplatform.crowdin.model.CrowdinFile.Type
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.exoplatform.crowdin.model.CrowdinFile.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
X
- XMLResourceBundleUtils - Class in org.exoplatform.crowdin.utils
-
Created by The eXo Platform SAS 30 Sep 2013 Reuse from org.exoplatform.services.resources.XMLResourceBundleParser with modifications
- XMLResourceBundleUtils() - Constructor for class org.exoplatform.crowdin.utils.XMLResourceBundleUtils
- XMLToProps - Class in org.exoplatform.crowdin.utils
-
Created by The eXo Platform SAS Author : Tan Pham Dinh tan.pham@exoplatform.com Mar 4, 2009
- XMLToProps() - Constructor for class org.exoplatform.crowdin.utils.XMLToProps
All Classes and Interfaces|All Packages|Constant Field Values