net.sf.jpkgmk.prototype
Class PrototypeParser

java.lang.Object
  extended by net.sf.jpkgmk.AbstractParser<Prototype>
      extended by net.sf.jpkgmk.prototype.PrototypeParser

public class PrototypeParser
extends AbstractParser<Prototype>

Utility to parse an existing prototype file

Since:
1.0
Version:
$Revision: 2 $ $Date: 2008-08-20 21:14:19 +0200 (Mi, 20 Aug 2008) $
Author:
gommma (gommma AT users.sourceforge.net), Last changed by: $Author: gommma $

Field Summary
 
Fields inherited from class net.sf.jpkgmk.AbstractParser
DEFAULT_LINE_DELIMITER
 
Constructor Summary
PrototypeParser()
           
 
Method Summary
protected  Prototype createResult()
           
protected  void parseAndAddLine(java.lang.String line, Prototype prototype)
           
 PrototypeEntry parseLine(java.lang.String line)
           
static PrototypeEntryType resolveType(java.lang.String[] items)
           
 
Methods inherited from class net.sf.jpkgmk.AbstractParser
getLineItems, parse, parse, parse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrototypeParser

public PrototypeParser()
Method Detail

parseAndAddLine

protected void parseAndAddLine(java.lang.String line,
                               Prototype prototype)
Specified by:
parseAndAddLine in class AbstractParser<Prototype>

createResult

protected Prototype createResult()
Specified by:
createResult in class AbstractParser<Prototype>

parseLine

public PrototypeEntry parseLine(java.lang.String line)

resolveType

public static PrototypeEntryType resolveType(java.lang.String[] items)


Copyright © 2007-2008. All Rights Reserved.