Package gov.nasa.pds.citool.ingestor
Class ProductFactory
- java.lang.Object
-
- gov.nasa.pds.citool.ingestor.ProductFactory
-
public class ProductFactory extends Object
-
-
Constructor Summary
Constructors Constructor Description ProductFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FileInfo
createFile(CatalogObject catObj)
Create file infostatic RegistryObject
createProduct(CatalogObject catObj, CatalogVolumeIngester ingester)
Create an extrinsic objectstatic RegistryObject
createResrcProduct(gov.nasa.pds.tools.label.ObjectStatement resrcObj, CatalogObject catObj)
Create an extrinsic object
-
-
-
Method Detail
-
createProduct
public static RegistryObject createProduct(CatalogObject catObj, CatalogVolumeIngester ingester) throws Exception
Create an extrinsic object- Parameters:
catObj
- a catalog object- Returns:
- an extrinsic object
- Throws:
Exception
-
createFile
public static FileInfo createFile(CatalogObject catObj) throws Exception
Create file info- Throws:
Exception
-
createResrcProduct
public static RegistryObject createResrcProduct(gov.nasa.pds.tools.label.ObjectStatement resrcObj, CatalogObject catObj) throws Exception
Create an extrinsic object- Parameters:
catObj
- a catalog object- Returns:
- an extrinsic object
- Throws:
Exception
-
-