net.sf.jpkgmk.pkgmap
Class PkgMapEntryFile.PkgMapEntryFileParser
java.lang.Object
net.sf.jpkgmk.pkgmap.AbstractPkgMapEntryParser
net.sf.jpkgmk.pkgmap.PkgMapEntryFile.PkgMapEntryFileParser
- All Implemented Interfaces:
- PkgMapEntryParser
- Direct Known Subclasses:
- PkgMapEntryFile.PkgMapEntryDirectoryParser, PkgMapEntryLink.PkgMapEntryLinkParser
- Enclosing class:
- PkgMapEntryFile
public static class PkgMapEntryFile.PkgMapEntryFileParser
- extends AbstractPkgMapEntryParser
Method Summary |
protected PkgMapEntry |
createPkgMapEntry(java.lang.Integer part,
PkgMapEntryType type,
java.lang.String fileClass,
java.lang.String path,
java.lang.String mode,
java.lang.String owner,
java.lang.String group,
java.lang.Long size,
java.lang.Long chksum,
java.lang.Long modtime)
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PkgMapEntryFile.PkgMapEntryFileParser
public PkgMapEntryFile.PkgMapEntryFileParser()
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 linepart
- The pre-parsed value for the optional "part" fieldtype
- The pre-parsed value for the mandatory "type" character fieldcurrentIndex
- 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:
createPkgMapEntry
protected PkgMapEntry createPkgMapEntry(java.lang.Integer part,
PkgMapEntryType type,
java.lang.String fileClass,
java.lang.String path,
java.lang.String mode,
java.lang.String owner,
java.lang.String group,
java.lang.Long size,
java.lang.Long chksum,
java.lang.Long modtime)
Copyright © 2007-2008. All Rights Reserved.