Class Files2DocsUtil


  • public final class Files2DocsUtil
    extends java.lang.Object
    Files2Docs Util class
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int CONSTANT_ID_NULL  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      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

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 &lt;
        • > is replaced by &gt;
        Parameters:
        strToFormat - the String to format
        Returns:
        the formatted String