org.glassfish.hk2.classmodel.reflect
Class Parser

java.lang.Object
  extended by org.glassfish.hk2.classmodel.reflect.Parser

public class Parser
extends java.lang.Object

Parse jar files or directories and create the model for any classes found.

Author:
Jerome Dochez

Constructor Summary
Parser(ParsingContext context)
           
 
Method Summary
 java.lang.Exception[] awaitTermination()
           
 java.lang.Exception[] awaitTermination(int timeOut, java.util.concurrent.TimeUnit unit)
           
 void parse(ArchiveAdapter source, java.lang.Runnable doneHook)
           
 void parse(java.io.File source, java.lang.Runnable doneHook)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Parser

public Parser(ParsingContext context)
Method Detail

awaitTermination

public java.lang.Exception[] awaitTermination()
                                       throws java.lang.InterruptedException
Throws:
java.lang.InterruptedException

awaitTermination

public java.lang.Exception[] awaitTermination(int timeOut,
                                              java.util.concurrent.TimeUnit unit)
                                       throws java.lang.InterruptedException
Throws:
java.lang.InterruptedException

parse

public void parse(java.io.File source,
                  java.lang.Runnable doneHook)
           throws java.io.IOException
Throws:
java.io.IOException

parse

public void parse(ArchiveAdapter source,
                  java.lang.Runnable doneHook)
           throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2010 Sun Microsystems, Inc.. All Rights Reserved.