Enum Class HvlRToolResourceFileType

java.lang.Object
java.lang.Enum<HvlRToolResourceFileType>
tr.com.havelsan.javarch.report.rtool.starter.support.context.HvlRToolResourceFileType
All Implemented Interfaces:
Serializable, Comparable<HvlRToolResourceFileType>, Constable

public enum HvlRToolResourceFileType extends Enum<HvlRToolResourceFileType>
The type represents reporting tool resource file types.
  • Enum Constant Details

  • Method Details

    • values

      public static HvlRToolResourceFileType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static HvlRToolResourceFileType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • fromFileExtensionOrElse

      public static HvlRToolResourceFileType fromFileExtensionOrElse(String fileExtensionValue, HvlRToolResourceFileType defaultResourceFileType)
      Obtains reporting tool resource file type using the type mapping value.
      Parameters:
      fileExtensionValue - the file extension value
      defaultResourceFileType - the default resource file type
      Returns:
      the resource file type
    • fromFileExtensionOrElseUndefined

      public static HvlRToolResourceFileType fromFileExtensionOrElseUndefined(String fileExtensionValue)
      Obtains reporting tool resource file type using the type mapping value.
      Parameters:
      fileExtensionValue - the file extension value
      Returns:
      the resource file type
    • fromFilePathOrElse

      public static HvlRToolResourceFileType fromFilePathOrElse(Path filePath, HvlRToolResourceFileType defaultResourceFileType)
      Obtains reporting tool resource file type using the file name path.
      Parameters:
      filePath - the file path
      defaultResourceFileType - the default resource file type
      Returns:
      the resource file type
    • fromFilePath

      public static HvlRToolResourceFileType fromFilePath(Path filePath)
      Obtains reporting tool resource file type using the file name path.
      Parameters:
      filePath - the file path
      Returns:
      the resource file type
    • fromFilePathOrElseUndefined

      public static HvlRToolResourceFileType fromFilePathOrElseUndefined(Path filePath)
      Obtains reporting tool resource file type using the file name path.
      Parameters:
      filePath - the file path
      Returns:
      the resource file type
    • getFileExtensionValue

      public String getFileExtensionValue()
      Gets file extension value.
      Returns:
      the file extension value
    • isReportTemplateContentFileType

      public boolean isReportTemplateContentFileType()
      Is report template content file type boolean.
      Returns:
      the boolean
    • isReportLocaleFileType

      public boolean isReportLocaleFileType()
      Is report locale file type boolean.
      Returns:
      the boolean
    • isImageFileType

      public boolean isImageFileType()
      Is image file type boolean.
      Returns:
      the boolean