|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.ucsb.nceas.metacat.ContentTypeProvider
public class 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 | |
|---|---|
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 |
|---|
public ContentTypeProvider(java.lang.String docIdWithRevision)
| Method Detail |
|---|
public java.lang.String getContentType()
public static void main(java.lang.String[] argus)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||