Interface FileResource

  • All Superinterfaces:
    ModelEntity, PrimitiveModelEntity

    public interface FileResource
    extends ModelEntity
    A file that is referenced by one or more model features. The file is stored in the .mph file but transferred to temporary files when loaded; it is never stored in memory.
    • Method Detail

      • archive

        java.lang.String archive()
        Returns the path in the .mph file archive where the file is stored.
        Returns:
        File name path.
      • archive

        @Deprecated
        void archive​(java.lang.String arg0)
        Deprecated.
        This method does nothing.
      • resource

        java.lang.String resource()
        Returns the name of the temporary file that holds the resource.
        Returns:
        Name of temporary file.
      • resource

        void resource​(java.lang.String name)
        Sets the name of the file that holds the resource. The file must be a client side file.
        Parameters:
        name - File name.