Class InstallFile

  • All Implemented Interfaces:
    OSHostable, Referenceable
    Direct Known Subclasses:
    InstallZipFile

    public class InstallFile
    extends FileAction
    Adds the given source file to the installer project to be later installed by the installer.

    It is similar to adding a file using the "Add File..." button via InstallAnywhere IDE.
    It also allows the definition of some file attributes, like unix permissions, destination name and behavior when the file already exists in the target machine.
    • Constructor Detail

      • InstallFile

        public InstallFile()
    • Method Detail

      • setFileSize

        public void setFileSize​(long size)
        The source file size measured in bytes.
        Parameters:
        size - File size in bytes
      • getFileSize

        public long getFileSize()
        The soure file size measured in bytes.
        Returns:
        File size in bytes