uk.ac.cam.spectra.cif
Class CIF

java.lang.Object
  extended by uk.ac.cam.spectra.cif.CIF
All Implemented Interfaces:
java.io.Serializable, uk.ac.cam.spectra.DataFileType

public class CIF
extends java.lang.Object
implements uk.ac.cam.spectra.DataFileType

Adapter to fit JUMBO CIF handling facilities into the SPECTRa tools.

Author:
ojd20
See Also:
Serialized Form

Constructor Summary
CIF()
           
 
Method Summary
 java.lang.String convertName(java.lang.String fileName)
           
 java.lang.String getMimeType()
           
 void process(uk.ac.cam.spectra.DataProcess process)
          Performs validation, conversion and extraction of a CIF file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CIF

public CIF()
Method Detail

process

public void process(uk.ac.cam.spectra.DataProcess process)
Performs validation, conversion and extraction of a CIF file. The extraction and conversion are performed on an intermediate CIF DOM object, so there are no efficiencies in providing a pre-calculated CML.

Specified by:
process in interface uk.ac.cam.spectra.DataFileType
Throws:
uk.ac.cam.spectra.DataFileException - if there are problems solving the disorder for this file.

convertName

public java.lang.String convertName(java.lang.String fileName)
Specified by:
convertName in interface uk.ac.cam.spectra.DataFileType

getMimeType

public java.lang.String getMimeType()
Specified by:
getMimeType in interface uk.ac.cam.spectra.DataFileType


Copyright © 2006-2007 The SPECTRa Project. All Rights Reserved.