fr.inrialpes.opera.upsprofiles
Class SetComponentContent

java.lang.Object
  |
  +--fr.inrialpes.opera.upsprofiles.SetComponentContent

public class SetComponentContent
extends java.lang.Object

This class sets the content of a component of the global CC/PP profile.

Author:
Tayeb LEMLOUMA (Tayeb.Lemlouma@inrialpes.fr)

Constructor Summary
SetComponentContent(java.lang.String ccppComponentName, java.lang.String Content, java.io.OutputStreamWriter out)
          Sets the content of a CC/PP component.
SetComponentContent(java.lang.String ccppComponentName, java.lang.String Content1, java.lang.String Content2, java.io.OutputStreamWriter out)
          Sets the content of the CC/PP component: ContentRequirement.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetComponentContent

public SetComponentContent(java.lang.String ccppComponentName,
                           java.lang.String Content,
                           java.io.OutputStreamWriter out)
Sets the content of a CC/PP component. Component can be: HardwarePlatform, SoftwarePlatform, BrowserUA, DocumentInstanceDescription, MultimediaContent,AdaptableResourcesDescription, MediaResourceDescription, AdaptationMethodResourceDescription, AdaptationMethodResourceDescription or AdaptationMethodDescription.
Parameters:
ccppComponentName - The name of the CC/PP component.
Content - The util information of the component
out - point to the file of the profile

SetComponentContent

public SetComponentContent(java.lang.String ccppComponentName,
                           java.lang.String Content1,
                           java.lang.String Content2,
                           java.io.OutputStreamWriter out)
Sets the content of the CC/PP component: ContentRequirement.
Parameters:
ccppComponentName - The name of the CC/PP component.
Content1 - The 1st util information of the component
Content2 - The 2nd util information of the component
out - point to the file of the profile