com.j256.simplemagic.entries
Class MagicEntryParser

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

public class MagicEntryParser
extends Object

Representation of a line of information from the magic (5) format.

Author:
graywatson

Constructor Summary
MagicEntryParser()
           
 
Method Summary
static MagicEntry parseLine(MagicEntry previous, String line, ContentTypeUtil.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,
                                   ContentTypeUtil.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.