public class FileOutputState extends FileState implements IOutputState
getWriter(OutputStream, String) to get a writer of the right type.FileState._FILE_TYPEcurrentRecord, extensionDescriptions, file, fileFormat, filename, hashCode, lastModified, length, MSG_CANTCREATEFILE, MSG_ERRORSAVE, MSG_FILEDONOTEXISTS, MSG_OPEN, MSG_UNSUPPORTEDFORMAT, offset, responseType, supportedExtensions| Constructor and Description |
|---|
FileOutputState() |
FileOutputState(File file) |
FileOutputState(String filename) |
| Modifier and Type | Method and Description |
|---|---|
org.openscience.cdk.io.IChemObjectWriter |
getWriter() |
static org.openscience.cdk.io.IChemObjectWriter |
getWriter(OutputStream stream,
String ext) |
createFile, equals, getCurrentRecord, getExtensionDescriptions, getExtensions, getFile, getFileFormat, getFilename, getHashCode, getLastModified, getLength, getOffset, getResponseType, getSupportedExtDescriptions, getSupportedExtensions, match, match, setCurrentRecord, setFile, setFile, setFilename, setHashCode, setLastModified, setLength, setOffset, setResponseType, setSupportedExtDescriptions, setSupportedExtensions, toStringclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCurrentRecord, getResponseType, setCurrentRecord, setResponseTypepublic FileOutputState()
public FileOutputState(String filename)
public FileOutputState(File file)
public org.openscience.cdk.io.IChemObjectWriter getWriter()
throws AmbitIOException
getWriter in interface IOutputStateAmbitIOExceptionpublic static org.openscience.cdk.io.IChemObjectWriter getWriter(OutputStream stream, String ext) throws AmbitIOException
AmbitIOExceptionCopyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.