Class FileTransformation

  • All Implemented Interfaces:
    Serializable

    public class FileTransformation
    extends Object
    implements Serializable
    Represents the transformation of a given file.
    Since:
    6.1.0
    Version:
    $Revision: 20509 $ $Date: 2017-09-11 16:18:14 -0300 (Mon, 11 Sep 2017) $
    See Also:
    Serialized Form
    • Constructor Detail

      • FileTransformation

        public FileTransformation()
    • Method Detail

      • getId

        public String getId()
        Returns the id.
        Returns:
        the id
        Since:
        6.1.0
      • setId

        public void setId​(String id)
        Sets the id.
        Parameters:
        id - the id value to set.
        Since:
        6.1.0
      • getFilePrefix

        public String getFilePrefix()
        Returns the filePrefix.
        Returns:
        the filePrefix
        Since:
        6.1.0
      • setFilePrefix

        public void setFilePrefix​(String filePrefix)
        Sets the filePrefix.
        Parameters:
        filePrefix - the filePrefix value to set.
        Since:
        6.1.0
      • getFileSufix

        public String getFileSufix()
        Returns the fileSufix.
        Returns:
        the fileSufix
        Since:
        6.1.0
      • setFileSufix

        public void setFileSufix​(String fileSufix)
        Sets the fileSufix.
        Parameters:
        fileSufix - the fileSufix value to set.
        Since:
        6.1.0
      • getExtension

        public String getExtension()
        Returns the extension.
        Returns:
        the extension
        Since:
        6.1.0
      • setExtension

        public void setExtension​(String extension)
        Sets the extension.
        Parameters:
        extension - the extension value to set.
        Since:
        6.1.0
      • getName

        public String getName()
        Returns the name.
        Returns:
        the name
        Since:
        6.1.0
      • setName

        public void setName​(String name)
        Sets the name.
        Parameters:
        name - the name value to set.
        Since:
        6.1.0
      • getDisplayName

        public String getDisplayName()
        Returns the display name.
        Returns:
        the display name
        Since:
        6.1.0
      • setDisplayName

        public void setDisplayName​(String displayName)
        Sets the display name.
        Parameters:
        display - name the display name value to set.
        Since:
        6.1.0
      • getServiceInstanceId

        public String getServiceInstanceId()
        Returns the serviceInstanceId.
        Returns:
        the serviceInstanceId
        Since:
        6.1.0
      • setServiceInstanceId

        public void setServiceInstanceId​(String serviceInstanceId)
        Sets the serviceInstanceId.
        Parameters:
        serviceInstanceId - the serviceInstanceId value to set.
        Since:
        6.1.0
      • getTransformationParameters

        public Set<ITransformationParameter> getTransformationParameters()
        Returns the transformationParameters.
        Returns:
        the transformationParameters
        Since:
        6.1.0
      • getContentType

        public String getContentType()
        Returns the contentType.
        Returns:
        the contentType
        Since:
        6.1.0
      • setContentType

        public void setContentType​(String contentType)
        Sets the contentType.
        Parameters:
        contentType - the contentType value to set.
        Since:
        6.1.0
      • matches

        public boolean matches​(String contentType)
        Asserts if a given content type matches with jgeg | gif | png
        Parameters:
        contentType - the content type to be matched
        Returns:
        true if matches or false not.
        Since:
        6.1.0