Class Files2DocsUtil

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

public final class Files2DocsUtil extends Object
Files2Docs Util class
  • Field Details

  • Method Details

    • 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 :
      • < is replaced by &lt;
      • > is replaced by &gt;
      Parameters:
      strToFormat - the String to format
      Returns:
      the formatted String