cern.jjar.repository
Class JJarParser

java.lang.Object
  extended by cern.jjar.repository.JJarParser

public class JJarParser
extends Object

Digester creates map of objects ProductVersionsContainer. Keys are product names, values these objects. Each ProductVersionsContainer may contain many versions of the same product.

Version:
$Id: JJarParser.java,v 1.16 2006/11/02 09:06:53 enes Exp $
Author:
Lionel Mestre, enes

Constructor Summary
JJarParser(File f)
           
JJarParser(InputStream inputStream)
           
JJarParser(URL url)
           
 
Method Summary
 Document getDocument()
           
 String getPrefixDirectory()
           
 Map getProductVersionMap()
           
static void main(String[] args)
           
static String readNodeValue(Element element)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JJarParser

public JJarParser(URL url)
           throws IOException
Throws:
IOException

JJarParser

public JJarParser(File f)
           throws IOException
Throws:
IOException

JJarParser

public JJarParser(InputStream inputStream)
           throws IOException
Throws:
IOException
Method Detail

readNodeValue

public static String readNodeValue(Element element)

getDocument

public Document getDocument()

getProductVersionMap

public Map getProductVersionMap()

getPrefixDirectory

public String getPrefixDirectory()

main

public static void main(String[] args)


Copyright © 2007 CERN. All Rights Reserved.