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
ContentTypeProvider(java.lang.String docIdWithRevision)
          Constructor of ContentTypeProvider
 
Method Summary
 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 © 2000 National Center for Ecological Analysis and Synthesis. All Rights Reserved.