Package com.seclore.fs.helper.core
Class ProtectedFile
java.lang.Object
com.seclore.fs.helper.core.ProtectedFile
This class represents protected file.
-
Constructor Summary
ConstructorsConstructorDescriptionProtectedFile(String pFileId, String pFilePath) Constructor to initialize this class.ProtectedFile(String pFileId, String pFilePath, String pHtmlCustomMetaData) Constructor to initialize this class. -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the file identifier of the protected file.This method returns the path of the protected file or wrapped file.voidsetHtmlCustomMetaData(String pHtmlCustomMetaData)
-
Constructor Details
-
ProtectedFile
Constructor to initialize this class.- Parameters:
pFileId- : ID of the protected file.pFilePath- : Path of the protected file or HTML wrapped file.
-
ProtectedFile
Constructor to initialize this class.- Parameters:
pFileId- : ID of the protected file.pFilePath- : Path of the protected file or HTML wrapped file.pHtmlCustomMetaData- : Any Metadata to be stored in HTML wrapped file.
-
-
Method Details
-
getFileId
This method returns the file identifier of the protected file.- Returns:
- : The File Identifier for the protected file.
-
getFilePath
This method returns the path of the protected file or wrapped file.
Note - In case of protectAndWrap() and wrap() methods, file path is HTML wrapped file. In case of unwrap() method file path is protected file.- Returns:
- : File Path.
-
getHtmlCustomMetaData
-
setHtmlCustomMetaData
-