fr.paris.lutece.plugins.files2docs.util
Class Files2DocsUtil

java.lang.Object
  extended by fr.paris.lutece.plugins.files2docs.util.Files2DocsUtil

public final class Files2DocsUtil
extends Object

Files2Docs Util class


Field Summary
static int CONSTANT_ID_NULL
           
 
Method Summary
static int convertStringToInt(String strValue)
          Converts a String value to an int
static String formatToHtml(String strToFormat)
          Format the given String to HTML : < is replaced by &lt; > is replaced by &gt;
static Collection<String> getListAttributeTypeFile()
          Gets document attribute types (codes) with a field of type file
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONSTANT_ID_NULL

public static final int CONSTANT_ID_NULL
See Also:
Constant Field Values
Method Detail

getListAttributeTypeFile

public static Collection<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(String strValue)
Converts a String value to an int

Parameters:
strValue - the String value to convert
Returns:
The converted value

formatToHtml

public static String formatToHtml(String strToFormat)
Format the given String to HTML :

Parameters:
strToFormat - the String to format
Returns:
the formatted String


Copyright © 2014 Mairie de Paris. All Rights Reserved.