net.sf.jpkgmk.pkgmap
Class PkgMapEntryInfo.PkgMapEntryInfoParser

java.lang.Object
  extended by net.sf.jpkgmk.pkgmap.AbstractPkgMapEntryParser
      extended by net.sf.jpkgmk.pkgmap.PkgMapEntryInfo.PkgMapEntryInfoParser
All Implemented Interfaces:
PkgMapEntryParser
Enclosing class:
PkgMapEntryInfo

public static class PkgMapEntryInfo.PkgMapEntryInfoParser
extends AbstractPkgMapEntryParser


Constructor Summary
PkgMapEntryInfo.PkgMapEntryInfoParser()
           
 
Method Summary
protected  PkgMapEntry parseItems(java.lang.String[] items, java.lang.Integer part, PkgMapEntryType type, int currentIndex)
          Invoked by the AbstractPkgMapEntryParser.parse(String) method to parse the items of a line.
 
Methods inherited from class net.sf.jpkgmk.pkgmap.AbstractPkgMapEntryParser
getCurrentLine, parse, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PkgMapEntryInfo.PkgMapEntryInfoParser

public PkgMapEntryInfo.PkgMapEntryInfoParser()
Method Detail

parseItems

protected PkgMapEntry parseItems(java.lang.String[] items,
                                 java.lang.Integer part,
                                 PkgMapEntryType type,
                                 int currentIndex)
Description copied from class: AbstractPkgMapEntryParser
Invoked by the AbstractPkgMapEntryParser.parse(String) method to parse the items of a line. The given array of items represents the whole line split up into strings.

Specified by:
parseItems in class AbstractPkgMapEntryParser
Parameters:
items - All items of this line
part - The pre-parsed value for the optional "part" field
type - The pre-parsed value for the mandatory "type" character field
currentIndex - The current index located after the "type" field already parsed. This is the index where the parsing should be continued by the concrete implementations.
Returns:


Copyright © 2007-2008. All Rights Reserved.