Class ProjectCommonFileNameConverter
java.lang.Object
com.e1c.langtool.v8.dt.resourcestorage.AbstractV8FileNameConverter
com.e1c.langtool.v8.dt.resourcestorage.ProjectCommonFileNameConverter
- All Implemented Interfaces:
IV8FileNameConverter
The Class ProjectCommonFileNameConverter .
-
Nested Class Summary
Nested classes/interfaces inherited from class com.e1c.langtool.v8.dt.resourcestorage.AbstractV8FileNameConverter
AbstractV8FileNameConverter.FileName -
Field Summary
Fields inherited from class com.e1c.langtool.v8.dt.resourcestorage.AbstractV8FileNameConverter
FILE_EXTENSION_DICT, FILE_EXTENSION_LSDICT, FILE_EXTENSION_LSTR, FILE_EXTENSION_NSTR, FILE_EXTENSION_TRANS, FILE_NAME_SEGMENT_SPLITTER, SOURCE_FOLDER, translatingProjectManager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.core.runtime.IPathgetTranslationPath(org.eclipse.core.runtime.IPath v8Path, boolean isLocalizable, TranslateLanguage language) Gets the translation path.Methods inherited from class com.e1c.langtool.v8.dt.resourcestorage.AbstractV8FileNameConverter
getLanguage, getLanguage, getLanguageCode, getSegment, getSegment, getTranslationFile, getTranslationFile, getTranslationPath, getV8File, getV8File, getV8Path, getV8Path, hasRootFolder, isInterface, isInterface, isTranslation, isTranslation
-
Constructor Details
-
ProjectCommonFileNameConverter
public ProjectCommonFileNameConverter()
-
-
Method Details
-
getTranslationPath
public org.eclipse.core.runtime.IPath getTranslationPath(org.eclipse.core.runtime.IPath v8Path, boolean isLocalizable, TranslateLanguage language) Description copied from interface:IV8FileNameConverterGets the translation path.- Parameters:
v8Path- the v8 path, cannot benull.isLocalizable- the is localizablelanguage- the language, cannot benull.- Returns:
- the translation path. It can return
nullwhen it's impossible to get a path to translation file from the given path.
-