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

Quick Search    Search Deep

com.flexstor.common.importprocessor
Class ImportCtlData  view ImportCtlData download ImportCtlData.java

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractList
          extended byjava.util.Vector
              extended bycom.flexstor.common.importprocessor.ImportCtlData
All Implemented Interfaces:
java.lang.Cloneable, java.util.Collection, java.lang.Iterable, java.util.List, java.util.RandomAccess, java.io.Serializable

public class ImportCtlData
extends java.util.Vector


Nested Class Summary
 
Nested classes inherited from class java.util.AbstractList
 
Field Summary
 
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
ImportCtlData()
           
 
Method Summary
 boolean addValuePerKey(java.lang.String sKey, java.lang.String sValue)
           
 java.lang.String[] getArraySectionData(java.lang.String sHeader)
           
 boolean getBooleanPerKey(java.lang.String sOptionName)
           
 java.lang.String getCommand(java.lang.String sLineRead)
          Parses the current line returning the command portion.
 java.lang.String getCommandValue(java.lang.String sLineRead)
          Parses the current line returning the value portion.
 java.lang.String[] getCtlData()
           
 int getHeaderIndex(java.lang.String sHeader)
          Return index of the header if found, else return -1
protected  java.lang.String getOptionValue(java.lang.String sName)
           
 java.lang.String getValuePerKey(java.lang.String sKey)
           
 java.util.Vector getVectorSectionData(java.lang.String sHeader)
           
private  java.lang.String isSection(java.lang.String sInputLine)
          Determines if line read is a section header.
 boolean removeItem(java.lang.String sKey, java.lang.String sValue)
           
 
Methods inherited from class java.util.Vector
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize
 
Methods inherited from class java.util.AbstractList
iterator, listIterator, listIterator
 
Methods inherited from class java.util.AbstractCollection
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
iterator, listIterator, listIterator
 

Constructor Detail

ImportCtlData

public ImportCtlData()
Method Detail

getCtlData

public java.lang.String[] getCtlData()

getValuePerKey

public java.lang.String getValuePerKey(java.lang.String sKey)

getBooleanPerKey

public boolean getBooleanPerKey(java.lang.String sOptionName)

getOptionValue

protected java.lang.String getOptionValue(java.lang.String sName)

addValuePerKey

public boolean addValuePerKey(java.lang.String sKey,
                              java.lang.String sValue)

getCommand

public java.lang.String getCommand(java.lang.String sLineRead)
Parses the current line returning the command portion.


getCommandValue

public java.lang.String getCommandValue(java.lang.String sLineRead)
Parses the current line returning the value portion.


isSection

private java.lang.String isSection(java.lang.String sInputLine)
Determines if line read is a section header.


getVectorSectionData

public java.util.Vector getVectorSectionData(java.lang.String sHeader)

getArraySectionData

public java.lang.String[] getArraySectionData(java.lang.String sHeader)

getHeaderIndex

public int getHeaderIndex(java.lang.String sHeader)
Return index of the header if found, else return -1


removeItem

public boolean removeItem(java.lang.String sKey,
                          java.lang.String sValue)