Class Abstract

  • All Implemented Interfaces:
    Catalog, TransformationCatalog
    Direct Known Subclasses:
    File, Text

    public abstract class Abstract
    extends java.lang.Object
    implements TransformationCatalog
    An abstract base class that provides useful methods for all the TransformationCatalog Implementations to use.
    Version:
    $Revision$
    Author:
    Karan Vahi
    • Constructor Detail

      • Abstract

        public Abstract()
    • Method Detail

      • modifyForFileURLS

        public static TransformationCatalogEntry modifyForFileURLS​(TransformationCatalogEntry entry)
        Modifies a Transformation Catalog Entry to handle file URL's. A file URL if specified for the physical path is converted to an absolute path if the type of entry is set to INSTALLED. Alternately it modifies the TC to handle absolute file paths by converting them to file URL if the type of entry is set to STAGEABLE.
        Parameters:
        entry - the transformation catalog entry object.
        Returns:
        the TransformationCatalogEntry object.
      • modifyForFileURLS

        public static java.lang.String modifyForFileURLS​(java.lang.String pfn,
                                                         java.lang.String type)
        Modifies a Transformation Catalog Entry to handle file URL's. A file URL if specified for the physical path is converted to an absolute path if the type of entry is set to INSTALLED. Alternately it modifies the TC to handle absolute file paths by converting them to file URL if the type of entry is set to STAGEABLE.
        Parameters:
        pfn - The PFN to modify
        type - The type of PFN
        Returns:
        the Transformed PFN.