com.j256.simplemagic.entries
Class MagicEntryParser

java.lang.Object
  extended by com.j256.simplemagic.entries.MagicEntryParser

public class MagicEntryParser
extends Object

Class which parses a line from the magic (5) format and produces a MagicEntry class.

Author:
graywatson

Constructor Summary
MagicEntryParser()
           
 
Method Summary
static MagicEntry parseLine(MagicEntry previous, String line, ContentInfoUtil.ErrorCallBack errorCallBack)
          Parse a line from the magic configuration file into an entry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MagicEntryParser

public MagicEntryParser()
Method Detail

parseLine

public static MagicEntry parseLine(MagicEntry previous,
                                   String line,
                                   ContentInfoUtil.ErrorCallBack errorCallBack)
Parse a line from the magic configuration file into an entry.



This content is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.