org.apache.oodt.profile.handlers.cas.util
Class ProfileUtils

java.lang.Object
  extended by org.apache.oodt.profile.handlers.cas.util.ProfileUtils

public final class ProfileUtils
extends Object

Version:
$Revision$

A set of utility methods to aid in CAS Filemgr vocabulary conversion to OODT Profile vocabulary.

Author:
mattmann

Method Summary
static Profile buildProfile(Product p, Metadata met, String dataDelivBaseUrl)
          Builds a Profile from the given Product, and its Metadata.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

buildProfile

public static Profile buildProfile(Product p,
                                   Metadata met,
                                   String dataDelivBaseUrl)
Builds a Profile from the given Product, and its Metadata.

Parameters:
p - The given Product.
met - The given Metadata.
dataDelivBaseUrl - A string representation of a URL to the data delivery service for this particular Product. This is used, in combination with the Product's ID, to populate the ResourceAttributes resLocation field.
Returns:
An OODT Profile representation pointing at the given Product.


Copyright © 1999-2012 Apache OODT. All Rights Reserved.