Package org.dspace.submit.lookup
Class LanguageCodeModifier
- java.lang.Object
-
- gr.ekt.bte.core.AbstractModifier
-
- org.dspace.submit.lookup.LanguageCodeModifier
-
- All Implemented Interfaces:
gr.ekt.bte.core.ProcessingStep,org.springframework.beans.factory.InitializingBean
public class LanguageCodeModifier extends gr.ekt.bte.core.AbstractModifier implements org.springframework.beans.factory.InitializingBeanModifier to covert ISO 639-2 alpha-3 code to ISO 639-1 alpha-2 code- Author:
- Keiji Suzuki
-
-
Constructor Summary
Constructors Constructor Description LanguageCodeModifier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()protected StringgetLang2(String lang3)Covert ISO 639-2 alpha-3 code to ISO 639-1 alpha-2 codegr.ekt.bte.core.Recordmodify(gr.ekt.bte.core.MutableRecord rec)
-
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet() throws Exception- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
modify
public gr.ekt.bte.core.Record modify(gr.ekt.bte.core.MutableRecord rec)
- Specified by:
modifyin classgr.ekt.bte.core.AbstractModifier
-
-