Class WikiUploadService

java.lang.Object
fr.paris.lutece.plugins.wiki.service.file.WikiUploadService

public final class WikiUploadService extends Object
Upload settings of the wiki.
  • Method Details

    • getMaxSize

      public static long getMaxSize()
      Returns the maximum size of an uploaded file.
      Returns:
      the maximum size, in bytes
    • isTooLarge

      public static boolean isTooLarge(long lSize)
      Tells whether a file exceeds the maximum upload size.
      Parameters:
      lSize - the file size, in bytes
      Returns:
      true when the file is too large