gov.nasa.pds.tools.label.parser
Interface LabelParser

All Known Implementing Classes:
DefaultLabelParser

public interface LabelParser

Version:
$Revision: 5026 $
Author:
pramirez, jagander

Method Summary
 Label parseLabel(File file, boolean forceParse)
           
 Label parseLabel(URL url, boolean forceParse)
          Parses the given file
 Label parsePartial(File file, Label parent)
           
 Label parsePartial(URL url, Label parent)
          Parses the given partial label.
 

Method Detail

parseLabel

Label parseLabel(URL url,
                 boolean forceParse)
                 throws LabelParserException,
                        IOException
Parses the given file

Parameters:
url - File to
Returns:
Label representation of the file
Throws:
LabelParserException - - If any syntactic errors are encountered. All errors will be written to the Logger.
IOException

parseLabel

Label parseLabel(File file,
                 boolean forceParse)
                 throws LabelParserException,
                        IOException
Throws:
LabelParserException
IOException

parsePartial

Label parsePartial(URL url,
                   Label parent)
                   throws LabelParserException,
                          IOException
Parses the given partial label.

Parameters:
url -
Returns:
Label representation of the file
Throws:
LabelParserException
IOException

parsePartial

Label parsePartial(File file,
                   Label parent)
                   throws LabelParserException,
                          IOException
Throws:
LabelParserException
IOException


Copyright © 2005-2011 Planetary Data System. All Rights Reserved.