Class FormThemeFileReference
java.lang.Object
de.xima.fc.form.common.models.FormThemeFileReference
- All Implemented Interfaces:
Serializable
A reference to particular file from a
IFormTheme. Uniquely identifies a file from a form theme. Such a
reference can be used later to retrieve the content of the file.- Since:
- 8.3.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic FormThemeFileReferenceforThemeFile(FormThemeReference theme, String context, String filePath) Creates a reference to a file in a form theme.The context of the resource, seeEFormThemeResourceContextfor well-known contexts.The path of the file in the form theme, seeIFormTheme#getFilePaths.getTheme()The reference to the form theme that contains the file.inthashCode()toString()
-
Method Details
-
equals
-
getContext
The context of the resource, seeEFormThemeResourceContextfor well-known contexts.- Returns:
- The context of the resource.
-
getFilePath
The path of the file in the form theme, seeIFormTheme#getFilePaths.- Returns:
- The file name of the file in the form theme.
-
getTheme
The reference to the form theme that contains the file.- Returns:
- The reference to the form theme that contains the file.
-
hashCode
-
toString
-
forThemeFile
public static FormThemeFileReference forThemeFile(FormThemeReference theme, String context, String filePath) Creates a reference to a file in a form theme.- Parameters:
theme- The reference to the form theme that contains the file.context- The context of the resource, seeEFormThemeResourceContextfor well-known contexts.filePath- The path of the file in the form theme, seeIFormTheme#getFilePaths.- Returns:
- A reference to a file in a form theme.
-