maltcms.io.xml.mzXML
Class MZXMLDataSource
java.lang.Object
maltcms.io.xml.mzXML.MZXMLDataSource
- All Implemented Interfaces:
- cross.IConfigurable, cross.io.IDataSource, Serializable, org.apache.commons.configuration.event.ConfigurationListener
public class MZXMLDataSource
- extends Object
- implements cross.io.IDataSource
- Author:
- Nils.Hoffmann@CeBiTec.Uni-Bielefeld.DE
- See Also:
- Serialized Form
MZXMLDataSource
public MZXMLDataSource()
canRead
public int canRead(cross.datastructures.fragments.IFileFragment ff)
- Specified by:
canRead in interface cross.io.IDataSource
configurationChanged
public void configurationChanged(org.apache.commons.configuration.event.ConfigurationEvent arg0)
- Specified by:
configurationChanged in interface org.apache.commons.configuration.event.ConfigurationListener
configure
public void configure(org.apache.commons.configuration.Configuration configuration)
- Specified by:
configure in interface cross.IConfigurable
readAll
public ArrayList<Array> readAll(cross.datastructures.fragments.IFileFragment f)
throws IOException,
cross.exception.ResourceNotAvailableException
- Specified by:
readAll in interface cross.io.IDataSource
- Throws:
IOException
cross.exception.ResourceNotAvailableException
readIndexed
public ArrayList<Array> readIndexed(cross.datastructures.fragments.IVariableFragment f)
throws IOException,
cross.exception.ResourceNotAvailableException
- Specified by:
readIndexed in interface cross.io.IDataSource
- Throws:
IOException
cross.exception.ResourceNotAvailableException
readSingle
public Array readSingle(cross.datastructures.fragments.IVariableFragment f)
throws IOException,
cross.exception.ResourceNotAvailableException
- Specified by:
readSingle in interface cross.io.IDataSource
- Throws:
IOException
cross.exception.ResourceNotAvailableException
readStructure
public ArrayList<cross.datastructures.fragments.IVariableFragment> readStructure(cross.datastructures.fragments.IFileFragment f)
throws IOException
- Specified by:
readStructure in interface cross.io.IDataSource
- Throws:
IOException
readStructure
public cross.datastructures.fragments.IVariableFragment readStructure(cross.datastructures.fragments.IVariableFragment f)
throws IOException,
cross.exception.ResourceNotAvailableException
- Specified by:
readStructure in interface cross.io.IDataSource
- Throws:
IOException
cross.exception.ResourceNotAvailableException
supportedFormats
public List<String> supportedFormats()
- Specified by:
supportedFormats in interface cross.io.IDataSource
write
public boolean write(cross.datastructures.fragments.IFileFragment f)
- Specified by:
write in interface cross.io.IDataSource
Copyright © 2007-2012. All Rights Reserved.