Class OperationFileSpecification


  • public class OperationFileSpecification
    extends Object
    Used to specify the location and additional parameters for running an application or opening a document.
    • Constructor Detail

      • OperationFileSpecification

        public OperationFileSpecification()
    • Method Detail

      • getDescription

        @Nullable
        public @Nullable String getDescription()
        A description of the application that should be opened.
        Returns:
        description
      • setDescription

        public void setDescription​(String description)
      • getResourceURL

        @Nullable
        public @Nullable String getResourceURL()
        The path or URL for the application / document. Use forward slashes as path separators. It is potentially possible to use platform-specific characters, but this is not recommended. If you do end up using platform-specific characters anyway, they must be preceded by a backslash (‘\\\\').
        Returns:
        resourceURL
      • setResourceURL

        public void setResourceURL​(String resourceURL)
      • getVolatileFile

        @Nullable
        public @Nullable Boolean getVolatileFile()
        This value should be set to true if the selected document will be subject to changes continuously and the reader application should be forced to continuously reload the document instead of caching it.
        Returns:
        volatileFile
      • setVolatileFile

        public void setVolatileFile​(Boolean volatileFile)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object