com.filenet.download.api

Class Component

  • java.lang.Object
    • com.filenet.download.api.Component


  • public class Component
    extends java.lang.Object
    Represents a component within a Feature object. A component represents a specific file that is part of the feature. From a Feature object, you can get get a list of components and download them. You can return component information from a Component object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getPath()
      Returns the component's path property.
      long getSize()
      Returns the size of the component in bytes.
      java.lang.String getType()
      Returns the type of component, as follows:
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getType

        public java.lang.String getType()
        Returns the type of component, as follows:

        • jar - required JAR file
        • dll - required DLL file
        • example - A file intended to demonstrate a particular configuration, not to be used as is. The jass.conf.WebLogic file is an example component, intended as a guide to create your own JAAS configuration in a WebLogic environment.

        Returns:
        A String that represents the component type.
      • getPath

        public java.lang.String getPath()
        Returns the component's path property.
        Returns:
        A String that represents the path to the component file on the server.
      • getSize

        public long getSize()
        Returns the size of the component in bytes.
        Returns:
        A long that represents the size of the file this component contains in bytes.

© Copyright IBM Corporation 2006, 2019. All rights reserved.