edu.ucsb.nceas.metacat

## Class ContentTypeProvider

- java.lang.Object
- - edu.ucsb.nceas.metacat.ContentTypeProvider

-     public class ContentTypeProvider
      extends java.lang.Object

  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

    Constructors
    Constructor and Description
    `ContentTypeProvider(java.lang.String docIdWithRevision)` Constructor of ContentTypeProvider

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getContentType()` Method to get content type
    `static void` | `main(java.lang.String[] argus)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ContentTypeProvider

          public ContentTypeProvider(java.lang.String docIdWithRevision)

      Constructor of ContentTypeProvider

  - ### Method Detail

    - #### getContentType

          public java.lang.String getContentType()

      Method to get content type

    - #### main

          public static void main(java.lang.String[] argus)

Copyright © 2023 Regents of the University of California. All Rights Reserved.