org.apache.any23.cli
Class MicrodataParser

java.lang.Object
  extended by org.apache.any23.cli.MicrodataParser
All Implemented Interfaces:
Tool

public class MicrodataParser
extends Object
implements Tool

Command line Microdata parser, accepting both files and URLs and returing a JSON representation of the extracted metadata as described at Microdata JSON Specification.

Author:
Michele Mostarda (mostarda@fbk.eu)

Constructor Summary
MicrodataParser()
           
 
Method Summary
static void main(String[] args)
           
 int run(String[] args)
          Runs the tool and retrieves the exit code.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MicrodataParser

public MicrodataParser()
Method Detail

main

public static void main(String[] args)
                 throws URISyntaxException,
                        IOException
Throws:
URISyntaxException
IOException

run

public int run(String[] args)
Description copied from interface: Tool
Runs the tool and retrieves the exit code.

Specified by:
run in interface Tool
Parameters:
args - command line arguments.
Returns:
exit code.


Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.