Class Options

java.lang.Object
org.bgerp.app.servlet.file.Options

public class Options extends Object
Files fluent options.
  • Constructor Details

    • Options

      public Options()
  • Method Details

    • withOrder

      public Options withOrder(Order value)
    • withDownloadEnabled

      public Options withDownloadEnabled()
    • withDeletionEnabled

      public Options withDeletionEnabled()
    • withDeletionByClear

      public Options withDeletionByClear(String... wildcards)
      File wildcards for those deletion should be replaced by clean operation
      Parameters:
      wildcards - the wildcards
      Returns:
    • withHighlighter

      public Options withHighlighter(Highlighter... highlighter)
    • getOrder

      public Order getOrder()
    • isDownloadEnabled

      public boolean isDownloadEnabled()
    • isDeletionEnabled

      public boolean isDeletionEnabled()
    • isDeletionByClear

      public boolean isDeletionByClear(File file)
      Should deletion for a file be replaced by clean operation
      Parameters:
      file - the file
      Returns:
    • highlighter

      public Highlighter highlighter(File file)
      Finds highlighter for a file
      Parameters:
      file - the file
      Returns: