com.filenet.download.api
Class Component
- java.lang.Object
-
- com.filenet.download.api.Component
-
public class Component extends java.lang.ObjectRepresents a component within aFeatureobject. A component represents a specific file that is part of the feature. From aFeatureobject, you can get get a list of components and download them. You can return component information from aComponentobject.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.StringgetPath()Returns the component's path property.longgetSize()Returns the size of the component in bytes.java.lang.StringgetType()Returns the type of component, as follows:
-
-
-
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
Stringthat represents the component type.
-
getPath
public java.lang.String getPath()
Returns the component's path property.- Returns:
- A
Stringthat represents the path to the component file on the server.
-
getSize
public long getSize()
Returns the size of the component in bytes.- Returns:
- A
longthat represents the size of the file this component contains in bytes.
-
-