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 java.lang.Object

Files2Docs Util class


Field Summary
static int CONSTANT_ID_NULL
           
 
Method Summary
static int convertStringToInt(java.lang.String strValue)
          Converts a String value to an int
static java.lang.String formatToHtml(java.lang.String strToFormat)
          Format the given String to HTML : < is replaced by &lt; > is replaced by &gt;
static java.util.Collection<java.lang.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 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 :

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


Copyright © 2012 Mairie de Paris. All Rights Reserved.