Package edu.ucsb.nceas.metacat
Class ContentTypeProvider
java.lang.Object
edu.ucsb.nceas.metacat.ContentTypeProvider
This class will figure out which content type it is for a given data file.
First, from xml_relation to get all relative files to this data file.
Then from xml_documents to get physical files. From physical file pull out
the content type
-
Constructor Summary
ConstructorDescriptionContentTypeProvider
(String docIdWithRevision) Constructor of ContentTypeProvider -
Method Summary
Modifier and TypeMethodDescriptionMethod to get content typestatic void
-
Constructor Details
-
ContentTypeProvider
Constructor of ContentTypeProvider
-
-
Method Details
-
getContentType
Method to get content type -
main
-