net.sf.jpkgmk.pkgmap
Class PkgMapEntryDevice.PkgMapEntryDeviceParser

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

public static class PkgMapEntryDevice.PkgMapEntryDeviceParser
extends AbstractPkgMapEntryParser


Constructor Summary
PkgMapEntryDevice.PkgMapEntryDeviceParser()
           
 
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

PkgMapEntryDevice.PkgMapEntryDeviceParser

public PkgMapEntryDevice.PkgMapEntryDeviceParser()
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.