Class Files2DocsUtil
- java.lang.Object
-
- fr.paris.lutece.plugins.files2docs.util.Files2DocsUtil
-
public final class Files2DocsUtil extends java.lang.ObjectFiles2Docs Util class
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTANT_ID_NULL
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intconvertStringToInt(java.lang.String strValue)Converts a String value to an intstatic java.lang.StringformatToHtml(java.lang.String strToFormat)Format the given String to HTML :<is replaced by<>is replaced by>static java.util.Collection<java.lang.String>getListAttributeTypeFile()Gets document attribute types (codes) with a field of type file
-
-
-
Field Detail
-
CONSTANT_ID_NULL
public static final int CONSTANT_ID_NULL
- See Also:
- Constant Field Values
-
-
Method Detail
-
getListAttributeTypeFile
public static java.util.Collection<java.lang.String> getListAttributeTypeFile()
Gets document attribute types (codes) with a field of type file- Returns:
- A collection of document attribute types (codes) with a field of type file
-
convertStringToInt
public static int convertStringToInt(java.lang.String strValue)
Converts a String value to an int- Parameters:
strValue- the String value to convert- Returns:
- The converted value
-
formatToHtml
public static java.lang.String formatToHtml(java.lang.String strToFormat)
Format the given String to HTML :<is replaced by<>is replaced by>
- Parameters:
strToFormat- the String to format- Returns:
- the formatted String
-
-