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

Quick Search    Search Deep

com.flexstor.flexdbserver.importprocessor
Class ConversionOptions  view ConversionOptions download ConversionOptions.java

java.lang.Object
  extended bycom.flexstor.flexdbserver.importprocessor.ProcessSection
      extended bycom.flexstor.flexdbserver.importprocessor.ConversionOptions

public class ConversionOptions
extends ProcessSection

Parse and save the CONVERSION options from the specified conversion options file.


Field Summary
protected  boolean bAlchemyOem
           
protected  java.util.Vector conversionVector
           
protected  java.lang.String sSection
           
static java.lang.String sVersion
           
protected  java.util.Vector vIcons
           
 
Fields inherited from class com.flexstor.flexdbserver.importprocessor.ProcessSection
bError, bgEOF, refControlFile, sSectionHeader, sSeparator
 
Constructor Summary
ConversionOptions(java.lang.String sConfigFile)
          Constructor
 
Method Summary
 int checkExtension(java.lang.String sExt, java.lang.String sType)
          Determine if the specified extension is in the Default Icon vector
 boolean getAlchemyOem()
           
 java.lang.String getConversionItem(java.lang.String sSection, java.lang.String sCommand)
          For the specified section and command, return the associated item
 java.lang.String getDefaultIconExt(int nIndex)
          Get the extension of the icon located at the specified index.
 java.lang.String getDefaultIconLocation(int nIndex)
          Get the location of the icon at the specified index.
 java.lang.String getDefaultIconName(int nIndex)
          Get the icon name of the icon at the specified index.
 java.lang.String getDefaultIconServer(int nIndex)
          Get the server name of the icon at the specified index.
protected  boolean handleLine(java.lang.String sLine)
          Parse current line overriding ProcessSection method
protected  boolean handleSection()
          Parse section headers overriding ProcessSection method
 
Methods inherited from class com.flexstor.flexdbserver.importprocessor.ProcessSection
finalize, getCommand, getCommandValue, processEOF, processSection, removeFirstSlash, removeLastSlash, removeSlashes
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sVersion

public static java.lang.String sVersion

sSection

protected java.lang.String sSection

conversionVector

protected java.util.Vector conversionVector

vIcons

protected java.util.Vector vIcons

bAlchemyOem

protected boolean bAlchemyOem
Constructor Detail

ConversionOptions

public ConversionOptions(java.lang.String sConfigFile)
Constructor

Method Detail

handleSection

protected boolean handleSection()
Parse section headers overriding ProcessSection method

Overrides:
handleSection in class ProcessSection

handleLine

protected boolean handleLine(java.lang.String sLine)
Parse current line overriding ProcessSection method

Overrides:
handleLine in class ProcessSection

getConversionItem

public java.lang.String getConversionItem(java.lang.String sSection,
                                          java.lang.String sCommand)
For the specified section and command, return the associated item


checkExtension

public int checkExtension(java.lang.String sExt,
                          java.lang.String sType)
Determine if the specified extension is in the Default Icon vector


getDefaultIconExt

public java.lang.String getDefaultIconExt(int nIndex)
Get the extension of the icon located at the specified index.


getDefaultIconServer

public java.lang.String getDefaultIconServer(int nIndex)
Get the server name of the icon at the specified index.


getDefaultIconName

public java.lang.String getDefaultIconName(int nIndex)
Get the icon name of the icon at the specified index.


getDefaultIconLocation

public java.lang.String getDefaultIconLocation(int nIndex)
Get the location of the icon at the specified index.


getAlchemyOem

public boolean getAlchemyOem()