Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

joelib.process.types
Class DescSelectionWriter  view DescSelectionWriter download DescSelectionWriter.java

java.lang.Object
  extended byjoelib.process.SimpleProcess
      extended byjoelib.process.types.DescSelectionWriter
All Implemented Interfaces:
joelib.process.JOEProcess, joelib.util.PropertyAcceptor, java.io.Serializable

public class DescSelectionWriter
extends joelib.process.SimpleProcess

Calling processor classes if the filter rule fits.


Field Summary
private  java.lang.String commentString
           
private static int DEFAULT_DESC_OTYPE
          Description of the Field
private  java.lang.String delimiterString
           
private  boolean descNamesChecked
           
private  int descOutputType
           
private  java.util.Vector descriptorNames
           
static int DESCRIPTORS
          Description of the Field
private  boolean firstLineWritten
           
private static org.apache.log4j.Category logger
          Obtain a suitable logger.
static int MOL_AND_DESCRIPTORS
          Description of the Field
private  int molCounter
           
private  java.io.PrintStream outStream
           
private  joelib.io.IOType outType
           
private  joelib.io.MoleculeFileType outWriter
           
private  int skipCounter
           
private  java.io.PrintStream skipStream
           
private  joelib.io.IOType skipType
           
private  joelib.io.MoleculeFileType skipWriter
           
 
Fields inherited from class joelib.process.SimpleProcess
 
Constructor Summary
DescSelectionWriter()
          Constructor for the DescSelectionWriter object
 
Method Summary
private  void checkDescriptorNames(joelib.molecule.JOEMol mol)
          Description of the Method
 boolean clear()
          Description of the Method
 java.lang.String getComment()
          Gets the comment attribute of the DescSelectionWriter object
 java.lang.String getDelimiter()
          Gets the delimiter attribute of the DescSelectionWriter object
 void init(java.io.OutputStream os, joelib.io.IOType _outType)
          Description of the Method
 void init(java.io.OutputStream os, joelib.io.IOType _outType, java.util.Vector _descriptorNames, int _descOutputType)
          Description of the Method
 void init(java.lang.String _outputFile, joelib.io.IOType _outType)
          Description of the Method
 void init(java.lang.String _outputFile, joelib.io.IOType _outType, java.util.Vector _descriptorNames, int _descOutputType)
          Description of the Method
 joelib.util.JOEProperty[] neededProperties()
          Description of the Method
 boolean process(joelib.molecule.JOEMol mol, java.util.Map properties)
          Description of the Method
 void setComment(java.lang.String _comment)
          Sets the comment attribute of the DescSelectionWriter object
 void setDelimiter(java.lang.String _delimiter)
          Sets the delimiter attribute of the DescSelectionWriter object
 void setSkipStream(java.io.OutputStream _skipStream, joelib.io.IOType _skipType)
          Sets the skipStream attribute of the DescSelectionWriter object
private  void writeFirstLine()
          Description of the Method
 
Methods inherited from class joelib.process.SimpleProcess
acceptedProperties, getProcessInfo, setProcessInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

private static org.apache.log4j.Category logger
Obtain a suitable logger.


DESCRIPTORS

public static final int DESCRIPTORS
Description of the Field

See Also:
Constant Field Values

MOL_AND_DESCRIPTORS

public static final int MOL_AND_DESCRIPTORS
Description of the Field

See Also:
Constant Field Values

DEFAULT_DESC_OTYPE

private static final int DEFAULT_DESC_OTYPE
Description of the Field

See Also:
Constant Field Values

outType

private joelib.io.IOType outType

skipType

private joelib.io.IOType skipType

outWriter

private joelib.io.MoleculeFileType outWriter

skipWriter

private joelib.io.MoleculeFileType skipWriter

outStream

private java.io.PrintStream outStream

skipStream

private java.io.PrintStream skipStream

commentString

private java.lang.String commentString

delimiterString

private java.lang.String delimiterString

descriptorNames

private java.util.Vector descriptorNames

descNamesChecked

private boolean descNamesChecked

firstLineWritten

private boolean firstLineWritten

descOutputType

private int descOutputType

molCounter

private int molCounter

skipCounter

private int skipCounter
Constructor Detail

DescSelectionWriter

public DescSelectionWriter()
Constructor for the DescSelectionWriter object

Method Detail

setComment

public void setComment(java.lang.String _comment)
Sets the comment attribute of the DescSelectionWriter object


getComment

public java.lang.String getComment()
Gets the comment attribute of the DescSelectionWriter object


setDelimiter

public void setDelimiter(java.lang.String _delimiter)
Sets the delimiter attribute of the DescSelectionWriter object


getDelimiter

public java.lang.String getDelimiter()
Gets the delimiter attribute of the DescSelectionWriter object


setSkipStream

public void setSkipStream(java.io.OutputStream _skipStream,
                          joelib.io.IOType _skipType)
                   throws java.lang.Exception
Sets the skipStream attribute of the DescSelectionWriter object


clear

public boolean clear()
Description of the Method


init

public void init(java.io.OutputStream os,
                 joelib.io.IOType _outType)
          throws java.lang.Exception
Description of the Method


init

public void init(java.lang.String _outputFile,
                 joelib.io.IOType _outType)
          throws java.lang.Exception
Description of the Method


init

public void init(java.lang.String _outputFile,
                 joelib.io.IOType _outType,
                 java.util.Vector _descriptorNames,
                 int _descOutputType)
          throws java.lang.Exception
Description of the Method


init

public void init(java.io.OutputStream os,
                 joelib.io.IOType _outType,
                 java.util.Vector _descriptorNames,
                 int _descOutputType)
          throws java.lang.Exception
Description of the Method


neededProperties

public joelib.util.JOEProperty[] neededProperties()
Description of the Method


process

public boolean process(joelib.molecule.JOEMol mol,
                       java.util.Map properties)
                throws joelib.process.JOEProcessException
Description of the Method


checkDescriptorNames

private void checkDescriptorNames(joelib.molecule.JOEMol mol)
Description of the Method


writeFirstLine

private void writeFirstLine()
                     throws java.io.IOException
Description of the Method