Package com.rometools.modules.base.io
Class GoogleBaseParser
- java.lang.Object
-
- com.rometools.modules.base.io.GoogleBaseParser
-
- All Implemented Interfaces:
ModuleParser
public class GoogleBaseParser extends Object implements ModuleParser
-
-
Field Summary
Fields Modifier and Type Field Description static char[]FLOAT_CHARSstatic char[]INTEGER_CHARSstatic SimpleDateFormatLONG_DT_FMTstatic SimpleDateFormatSHORT_DT_FMT
-
Constructor Summary
Constructors Constructor Description GoogleBaseParser()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetNamespaceUri()Moduleparse(org.jdom2.Element element, Locale locale)static StringstripNonValidCharacters(char[] validCharacters, String input)
-
-
-
Field Detail
-
INTEGER_CHARS
public static final char[] INTEGER_CHARS
-
FLOAT_CHARS
public static final char[] FLOAT_CHARS
-
SHORT_DT_FMT
public static final SimpleDateFormat SHORT_DT_FMT
-
LONG_DT_FMT
public static final SimpleDateFormat LONG_DT_FMT
-
-
Method Detail
-
parse
public Module parse(org.jdom2.Element element, Locale locale)
- Specified by:
parsein interfaceModuleParser
-
stripNonValidCharacters
public static String stripNonValidCharacters(char[] validCharacters, String input)
-
getNamespaceUri
public String getNamespaceUri()
- Specified by:
getNamespaceUriin interfaceModuleParser
-
-