ambit2.core.io
Class FileInputState
java.lang.Object
com.jgoodies.binding.beans.Model
ambit2.core.io.FileState
ambit2.core.io.FileInputState
- All Implemented Interfaces:
- ambit2.base.interfaces.IInputOutputState, IInputState, com.jgoodies.binding.beans.Observable, java.io.Serializable
public class FileInputState
- extends FileState
- implements IInputState
Use getReader(InputStream, String)
to get a reader of the right type.
- See Also:
- Serialized Form
Fields inherited from class ambit2.core.io.FileState |
currentRecord, extensionDescriptions, file, fileFormat, filename, hashCode, lastModified, length, MSG_CANTCREATEFILE, MSG_ERRORSAVE, MSG_FILEDONOTEXISTS, MSG_OPEN, MSG_UNSUPPORTEDFORMAT, offset, responseType, supportedExtensions |
Method Summary |
org.openscience.cdk.io.iterator.IIteratingChemObjectReader |
getReader()
|
static org.openscience.cdk.io.iterator.IIteratingChemObjectReader |
getReader(java.io.InputStream stream,
java.lang.String ext)
|
static org.openscience.cdk.io.iterator.IIteratingChemObjectReader |
getReader(java.io.InputStream stream,
java.lang.String ext,
org.openscience.cdk.io.formats.IChemFormat format)
|
Methods inherited from class ambit2.core.io.FileState |
createFile, equals, getCurrentRecord, getFile, getFilename, getHashCode, getLastModified, getLength, getOffset, getResponseType, getSupportedExtDescriptions, getSupportedExtensions, match, match, setCurrentRecord, setFile, setFilename, setHashCode, setLastModified, setLength, setOffset, setResponseType, setSupportedExtDescriptions, setSupportedExtensions, toString |
Methods inherited from class com.jgoodies.binding.beans.Model |
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, equals, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, fireMultiplePropertiesChanged, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface ambit2.base.interfaces.IInputOutputState |
getCurrentRecord, getResponseType, setCurrentRecord, setResponseType |
SDF_INDEX
public static final transient int SDF_INDEX
- See Also:
- Constant Field Values
CSV_INDEX
public static final transient int CSV_INDEX
- See Also:
- Constant Field Values
SMI_INDEX
public static final transient int SMI_INDEX
- See Also:
- Constant Field Values
TXT_INDEX
public static final transient int TXT_INDEX
- See Also:
- Constant Field Values
MOL_INDEX
public static final transient int MOL_INDEX
- See Also:
- Constant Field Values
ICHI_INDEX
public static final transient int ICHI_INDEX
- See Also:
- Constant Field Values
INCHI_INDEX
public static final transient int INCHI_INDEX
- See Also:
- Constant Field Values
CML_INDEX
public static final transient int CML_INDEX
- See Also:
- Constant Field Values
HIN_INDEX
public static final transient int HIN_INDEX
- See Also:
- Constant Field Values
PDB_INDEX
public static final transient int PDB_INDEX
- See Also:
- Constant Field Values
XLS_INDEX
public static final transient int XLS_INDEX
- See Also:
- Constant Field Values
EURAS_INDEX
public static final transient int EURAS_INDEX
- See Also:
- Constant Field Values
extensions
public static final transient java.lang.String[] extensions
extensionDescription
public static final transient java.lang.String[] extensionDescription
FileInputState
public FileInputState()
FileInputState
public FileInputState(java.lang.String filename)
FileInputState
public FileInputState(java.io.File file)
getReader
public org.openscience.cdk.io.iterator.IIteratingChemObjectReader getReader()
throws ambit2.base.exceptions.AmbitIOException
- Specified by:
getReader
in interface IInputState
- Throws:
ambit2.base.exceptions.AmbitIOException
getReader
public static org.openscience.cdk.io.iterator.IIteratingChemObjectReader getReader(java.io.InputStream stream,
java.lang.String ext)
throws ambit2.base.exceptions.AmbitIOException
- Throws:
ambit2.base.exceptions.AmbitIOException
getReader
public static org.openscience.cdk.io.iterator.IIteratingChemObjectReader getReader(java.io.InputStream stream,
java.lang.String ext,
org.openscience.cdk.io.formats.IChemFormat format)
throws ambit2.base.exceptions.AmbitIOException
- Throws:
ambit2.base.exceptions.AmbitIOException