Package com.bc.ceres.metadata
Class MetadataResourceResolver
- java.lang.Object
-
- com.bc.ceres.metadata.MetadataResourceResolver
-
public class MetadataResourceResolver extends Object
Resolves names of resources belonging to sources and target of processings.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MetadataResourceResolver.TargetResourceInfo
-
Field Summary
Fields Modifier and Type Field Description static String
VELOCITY_TEMPLATE_EXTENSION
-
Constructor Summary
Constructors Constructor Description MetadataResourceResolver(SimpleFileSystem simpleFileSystem)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SortedMap<String,String>
getSourceMetadataPaths(String sourcePath)
MetadataResourceResolver.TargetResourceInfo
getTargetName(String templatePath, String targetPath)
-
-
-
Field Detail
-
VELOCITY_TEMPLATE_EXTENSION
public static final String VELOCITY_TEMPLATE_EXTENSION
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MetadataResourceResolver
public MetadataResourceResolver(SimpleFileSystem simpleFileSystem)
-
-
Method Detail
-
getSourceMetadataPaths
public SortedMap<String,String> getSourceMetadataPaths(String sourcePath) throws IOException
- Throws:
IOException
-
getTargetName
public MetadataResourceResolver.TargetResourceInfo getTargetName(String templatePath, String targetPath)
-
-